eclipse-paho / eclipse-paho/paho.mqtt.java

Supporting different passwords for the keystore and the key stored in the keystore

Open
#45 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.3k
Forks
919
PR merge metrics
No merged PRs in 30d

Description

migrated from Bugzilla [#468453](https://bugs.eclipse.org/bugs/show_bug.cgi?id=468453)
status UNCONFIRMED severity _normal_ in component _MQTT-Java_ for _1.2_
Reported in version _v0.5_ on platform _PC_
Assigned to: Ian Craggs

On 2015-05-27 05:41:48 -0400, Davy De Waele wrote:

> AFAIK, there is currently no support for an SSL based setup where the password of the key stored in the keystore is different from the keystore password itself.
>
> We can pass the following properties, but there is no way to specify a keyStoreKeyPassword.
>
> -D2javax.net.ssl.keyStore
> -D2javax.net.ssl.keyStorePassword
> -D2javax.net.ssl.trustStore
> -D2javax.net.ssl.trustStorePassword
>
> AFAIK the only way to pass a key password is to create your own KeyManager.
>
> Would be nice if there would be some kind of support in Paho for this.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.