tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harris, Jeffrey E." <>
Subject RE: SSLCertificateKeyFile cannot find file that exists
Date Wed, 27 Mar 2013 17:25:06 GMT

> -----Original Message-----
> From: Kevin Jenkins []
> Sent: Wednesday, March 27, 2013 1:23 PM
> To: Tomcat Users List
> Subject: Re: SSLCertificateKeyFile cannot find file that exists
> I finally got it working. For anyone else that has the same problem,
> the solution is very simple and I don't know why there are huge walls
> of text rather than just saying this
> To enable APR:
> 1. Download tomcat-native-1.1.27-win32-bin from
> connectors/native/1.1.27/binaries/
> 2. copy tcnative-1.dll to the Tomcat bin directory
> Get a self-signed key here:
> Use this connector in server.xml
>  <Connector port="8444" redirectPort="444"
> protocol="org.apache.coyote.http11.Http11AprProtocol" SSLEnabled="true"
>                maxThreads="150" scheme="https" secure="true"
>                clientAuth="false" sslProtocol="SSLv3"
>  SSLCertificateKeyFile="${catalina.base}\conf\13862451_localhost.key"
>  SSLCertificateFile="${catalina.base}\conf\13862451_localhost.cert"
> />
> At least I can do my work now.
> Unrelated, I cannot start my connector on port 443 or 8443. I commented
> out every other connector in server.xml but this still happens. As a
> workaround I changed the port to 8444 but I'm not sure why I need to.
> SEVERE: Failed to initialize end point associated with ProtocolHandler
> ["http-ap r-8443"]
> java.lang.Exception: Socket bind failed: [730
048] Only one usage of
> each socket address (protocol/network address/port) is normally
> permitted.
>         at
>         at
> a:610)1

Check your port usage.  There is probably another application running on those ports.
On Windows, you can use the netstat -a -b -n and look for listeners on those ports.

Jeffrey Harris

This e-mail and any attachments are intended only for the use of the addressee(s) named herein
and may contain proprietary information. If you are not the intended recipient of this e-mail
or believe that you received this email in error, please take immediate action to notify the
sender of the apparent error by reply e-mail; permanently delete the e-mail and any attachments
from your computer; and do not disseminate, distribute, use, or copy this message and any

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message