On 17/04/2012 13:25, Daniel Mikusa wrote:
> ----- Original Message -----
>> Hello sir,
>> I am using tomcat 7.0.26 on windows.
>> I have read the manual "SSL Configuration HOW-TO" to configure SSL
>> for
>> my web application.
>> I create the .keystore file which reside on my home directory which
>> is
>> C:\Users\debabrattaj\.keystore.
>> Coding for my server.xml is
>>
>>     <Connector port="8443" maxThreads="150" protocol="HTTP/1.1"
>>                               scheme="https" secure="true"
>>                               SSLEnabled="true"
>>                               keystoreFile="$ {user.home}/.keystore"
> 
> Not sure if this is a cut-and-paste issue, but you shouldn't have a space 
> between the dollar sign and the left bracket.  It should just be 
> "${user.home}".

If ${user.home} resolved that might work.  But it doesn't.

Put the keystore in tomcat/conf and reference it there, with

 ${catalina.base}/conf/.keystore


p

>> keystorePass="XXXXXX"
>>                               clientAuth="false" sslProtocol="TLS" />
>>
>>  Now when I restart my server.It shows
>> Fail to load keystore type JKS with path
>> C:\apache-tomcat-7.0.26-windows-x86\apache-tomcat-7.0.26\${user.home}\.keystore
>> due to system can find the path specified.
>>
>> Where should I keep my .keystore file. Should i keep it in my
>> C:\apache-tomcat-7.0.26-windows-x86\apache-tomcat-7.0.26\.
>> I searchred Google and in some help forums also but thats not
>> satisfying.
> 
> It's up to you where you put it.  If you don't have a preference, I see a lot 
> of people put it in the "conf" directory.  Something like this maybe?
> 
>   ${catalina.base}/conf/ssl/my-keystore.jks 
> 
> Dan
> 
>>
>> Please help me.
>>
>> --
>> Thanks and regards,
>> debabratta jena
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 


-- 

[key:62590808]

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to