Skip to content

Support PEM keystores #1837

@hgeraldino

Description

@hgeraldino

Is your feature request related to a problem? Please describe.

When enabling SSL in the rabbitmq-java-client library, it is possible to configure the key store type (ssl.key.store.type) to use either JKS or PKCS12 formats. The JKS format is barely used outside of Java, whereas PKCS12 is more common (and is the default KeyStore format since JDK9).

Describe the solution you'd like

I think it is a good idea to add support for PEM files (in addition to the existing JKS/PKCS12) for key and trust stores. PEM files are widely used across the industry, and extending the library to support them will make it easier to integrate with third party providers that use PEM, without asking users to manually import these certificates into an existing Java KeyStore file.

Describe alternatives you've considered

No response

Additional context

I'm happy to work on implementing this, if we agree it's a good idea.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions