rabbitmq jasypt encryption update#669
Open
DaanHoogland wants to merge 1 commit into
Open
Conversation
DaanHoogland
force-pushed
the
ghi13352-rabbitmqEncryption
branch
from
July 23, 2026 09:25
4132455 to
f2fc387
Compare
DaanHoogland
commented
Jul 23, 2026
Comment on lines
+169
to
+178
| .. note:: | ||
| Older versions of this guide referenced | ||
| ``org.jasypt.spring3.properties.EncryptablePropertyPlaceholderConfigurer``, which comes | ||
| from the ``jasypt-spring3`` artifact. That artifact is not shipped with CloudStack and is | ||
| not compatible with the Spring 5 used since CloudStack 4.x, so beans referencing it fail | ||
| to load with a ``ClassNotFoundException``. Use | ||
| ``com.cloud.utils.crypt.EncryptablePropertyPlaceholderConfigurer`` instead, which ships | ||
| with CloudStack and works the same way. This bean also expects encrypted values to be | ||
| wrapped as ``ENC(...)``, matching the convention used elsewhere in CloudStack. | ||
|
|
Contributor
Author
There was a problem hiding this comment.
this might not be needed
Suggested change
| .. note:: | |
| Older versions of this guide referenced | |
| ``org.jasypt.spring3.properties.EncryptablePropertyPlaceholderConfigurer``, which comes | |
| from the ``jasypt-spring3`` artifact. That artifact is not shipped with CloudStack and is | |
| not compatible with the Spring 5 used since CloudStack 4.x, so beans referencing it fail | |
| to load with a ``ClassNotFoundException``. Use | |
| ``com.cloud.utils.crypt.EncryptablePropertyPlaceholderConfigurer`` instead, which ships | |
| with CloudStack and works the same way. This bean also expects encrypted values to be | |
| wrapped as ``ENC(...)``, matching the convention used elsewhere in CloudStack. |
DaanHoogland
commented
Jul 23, 2026
Comment on lines
+232
to
+236
| ``PBEWithMD5AndDES``, used in earlier releases of this guide, is a weak algorithm and should | ||
| not be used for new deployments; ``PBEWITHHMACSHA512ANDAES_256`` above is a stronger, | ||
| future-proof alternative. Use the ``jasypt`` CLI tools (or any tool using the jasypt library) | ||
| with the same algorithm, IV generator and ``APP_ENCRYPTION_PASSWORD`` to produce the | ||
| encrypted values for ``cred.properties``. |
Contributor
Author
There was a problem hiding this comment.
Suggested change
| ``PBEWithMD5AndDES``, used in earlier releases of this guide, is a weak algorithm and should | |
| not be used for new deployments; ``PBEWITHHMACSHA512ANDAES_256`` above is a stronger, | |
| future-proof alternative. Use the ``jasypt`` CLI tools (or any tool using the jasypt library) | |
| with the same algorithm, IV generator and ``APP_ENCRYPTION_PASSWORD`` to produce the | |
| encrypted values for ``cred.properties``. | |
| ``PBEWithMD5AndDES``, used in earlier releases of this guide, is a weak algorithm and should | |
| At least ``PBEWITHHMACSHA512ANDAES_256`` or stronger algorithms should be used. Use the ``jasypt`` CLI tools (or any tool using the jasypt library) | |
| with the same algorithm, IV generator and ``APP_ENCRYPTION_PASSWORD`` to produce the | |
| encrypted values for ``cred.properties``. |
DaanHoogland
commented
Jul 23, 2026
DaanHoogland
left a comment
Contributor
Author
There was a problem hiding this comment.
note; this was ai generated from the issue. I think we don’t need to point to older versions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
relates to apache/cloudstack#13676
📚 Documentation preview 📚: https://cloudstack-documentation--669.org.readthedocs.build/en/669/