You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by zollen <st...@fundserv.com> on 2018/08/07 14:59:22 UTC
ActiveMQ java Client using pkcs certificates
I see all samples of ActiveMQ SSL clients using jdk stores, but I see no
client example of using ActiveMQSslConnectionFactory with pkcs certificates.
I would be much apprecipated if anyone could provide any information about
ActiveMQSslConnectionFactory with pkcs.
Thanks
zollen
--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-f2368404.html
Re: ActiveMQ java Client using pkcs certificates
Posted by Robbie Gemmell <ro...@gmail.com>.
Those type attributes might not be needed on newer JVMs, since PKCS12
is the default now and it auto detects for compatibility.
On 7 August 2018 at 22:14, Arthur Naseef <ar...@apache.org> wrote:
> Try this:
>
> <amq:sslContext>
> <amq:sslContext
> keyStore="broker.p12" keyStorePassword="password"
> keyStoreType="pkcs12"
> trustStore="client.p12" trustStorePassword="password"
> trustStoreType="pkcs12" />
> </amq:sslContext>
>
> Notice the keyStoreType and trustStoreType attributes.
>
> Art
>
>
> On Tue, Aug 7, 2018 at 8:09 AM, Justin Bertram <jb...@apache.org> wrote:
>
>> I would expect PKCS stores to work fine. Have you tried them and found
>> they didn't work?
>>
>>
>> Justin
>>
>> On Tue, Aug 7, 2018 at 9:59 AM, zollen <st...@fundserv.com> wrote:
>>
>> > I see all samples of ActiveMQ SSL clients using jdk stores, but I see no
>> > client example of using ActiveMQSslConnectionFactory with pkcs
>> > certificates.
>> > I would be much apprecipated if anyone could provide any information
>> about
>> > ActiveMQSslConnectionFactory with pkcs.
>> >
>> > Thanks
>> > zollen
>> >
>> >
>> >
>> >
>> > --
>> > Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-
>> > f2368404.html
>> >
>>
Re: ActiveMQ java Client using pkcs certificates
Posted by Arthur Naseef <ar...@apache.org>.
Try this:
<amq:sslContext>
<amq:sslContext
keyStore="broker.p12" keyStorePassword="password"
keyStoreType="pkcs12"
trustStore="client.p12" trustStorePassword="password"
trustStoreType="pkcs12" />
</amq:sslContext>
Notice the keyStoreType and trustStoreType attributes.
Art
On Tue, Aug 7, 2018 at 8:09 AM, Justin Bertram <jb...@apache.org> wrote:
> I would expect PKCS stores to work fine. Have you tried them and found
> they didn't work?
>
>
> Justin
>
> On Tue, Aug 7, 2018 at 9:59 AM, zollen <st...@fundserv.com> wrote:
>
> > I see all samples of ActiveMQ SSL clients using jdk stores, but I see no
> > client example of using ActiveMQSslConnectionFactory with pkcs
> > certificates.
> > I would be much apprecipated if anyone could provide any information
> about
> > ActiveMQSslConnectionFactory with pkcs.
> >
> > Thanks
> > zollen
> >
> >
> >
> >
> > --
> > Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-
> > f2368404.html
> >
>
Re: ActiveMQ java Client using pkcs certificates
Posted by Justin Bertram <jb...@apache.org>.
I would expect PKCS stores to work fine. Have you tried them and found
they didn't work?
Justin
On Tue, Aug 7, 2018 at 9:59 AM, zollen <st...@fundserv.com> wrote:
> I see all samples of ActiveMQ SSL clients using jdk stores, but I see no
> client example of using ActiveMQSslConnectionFactory with pkcs
> certificates.
> I would be much apprecipated if anyone could provide any information about
> ActiveMQSslConnectionFactory with pkcs.
>
> Thanks
> zollen
>
>
>
>
> --
> Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-
> f2368404.html
>