[
https://issues.apache.org/jira/browse/PROTON-1447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15947376#comment-15947376
]
ASF subversion and git services commented on PROTON-1447:
---------------------------------------------------------
Commit ad60967463fe697800d24eaf0286dbf9e7d38473 in qpid-proton-j's branch
refs/heads/master from [~godfrer]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton-j.git;h=ad60967 ]
PROTON-1447 : Allow CaCertDb file to have multiple certificates
> Unable to provide multiple certificates using setTrustedCaDb
> ------------------------------------------------------------
>
> Key: PROTON-1447
> URL: https://issues.apache.org/jira/browse/PROTON-1447
> Project: Qpid Proton
> Issue Type: Bug
> Components: proton-j
> Affects Versions: 0.15.0
> Environment: JDK 1.8.0_121
> Reporter: Priyanka Mathur
> Priority: Blocker
>
> Using
> http://qpid.apache.org/releases/qpid-proton-0.9.1/proton/java/api/org/apache/qpid/proton/engine/impl/ssl/SslDomainImpl.html#setTrustedCaDb(java.lang.String)
> to set the certificate will work only on the top most certificate provided
> in the input stream because readCertificate from SslEngineFacadeFactory.java
> uses generateCertificate which gets only the first certificate that holds
> between "-----BEGIN CERTIFICATE-----" and "-----END CERTIFICATE-----". If
> more than one are provided then you either need to loop and take one at a
> time calling generateCertificate or use generateCertificates. Please provide
> a fix for this asap as this is blocking our roll out of further certificates.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]