The entry
keystoreFile="${/usr/local/jre1.6.0_06/bin/keystore.key}/.keystore" is
almost certainly wrong. For this to work, you would have to start Tomcat
with the weird
entry -D/usr/local/jre1.6.0_06/bin/keystore.key=/path/to/my/keystore/keys.
Tomcat does variable substitution when parsing the various config xml files
based on System properties when it sees something like ${variable}. (This is
a Tomcat-specific feature, so you can't count on porting it to another
container).
"Michael A. Tucker" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I'm trying to setup SSL on a web app that I have running on a server. I
> created my keystore.key file and then uncommented this section in my
> server.xml file:
>
>> Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
>> maxThreads="150" scheme="https" secure="true"
>>
>> keystoreFile="${/usr/local/jre1.6.0_06/bin/keystore.key}/.keystore"
>> keystorePass="changeit"
>> clientAuth="false" sslProtocol="TLS"
>
> Now when I go to https://localhost:8443/ I get "failed to connect" page
> load error. I think I'm not doing something wrong in the server.xml
> file, but I'm not sure what. I already have another program running on
> 443 so could that interfere? I also don't know what APR means in the
> SSL doc.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFJEbv2iSj9VAB3NO8RAkyLAJ0ZhVqiOz0cKuZILoYMYQTjojD8awCfXjHY
> pI7vAxr3JZan3Mq87uzrhMU=
> =8iED
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: [email protected]
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]