activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <christian.po...@gmail.com>
Subject Re: ActiveMQ SSL Client
Date Wed, 28 Nov 2012 13:36:59 GMT
Yes, you can define a system property
-Djava.security.auth.login.config=<location> for where to pickup the
login.conf file.





On Wed, Nov 28, 2012 at 5:06 AM, joesan <codeintheopen@gmail.com> wrote:

> 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.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message