activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joesan <codeintheo...@gmail.com>
Subject Re: ActiveMQ SSL Client
Date Wed, 28 Nov 2012 12:06:07 GMT
I have made some progress, but terribly stuck with the following error:

 WARN | Failed to add Connection ID:HP10007131-54558-1354103802934-1:1,
reason: java.lang.SecurityException: User name [null] or password is
invalid. Unable to load user
properties file .\users.properties

It does not respect no matter whatever I give as the path to the location of
the users.properties file:

My login.config looks like as below:

*CertLogin {
    org.apache.activemq.jaas.TextFileCertificateLoginModule required
        debug=true
        org.apache.activemq.jaas.textfiledn.user="users.properties"
        org.apache.activemq.jaas.textfiledn.group="groups.properties";
};*

I have mentioned this in my java.security as below:

*login.config.url.1=file:C:/Users/joe/Desktop/login.config*

I have two questions here.

(1) I do not want to use the java.security located in my jre directory to
define the login.config location. Is there any other location I can use to
specify the login.config to my ActiveMQ server instance?
(2) Why the users.properties file is not being able to be found?



--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-SSL-Error-No-X509TrustManager-implementation-avaiable-tp4659805p4659877.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message