Caucho Forums  

This forum is permanently closed because of spam. For free community support, please visit Google Groups:


Go Back   Caucho Forums > Resin

Reply
 
Thread Tools Display Modes
  #1  
Old 09-12-2011, 01:29 PM
ravindra.office ravindra.office is offline
Junior Member
 
Join Date: Sep 2011
Posts: 1
Lightbulb Installation of SSL123 certificate on resin pro 4.0.13 server

I have obtained a SSL certificate from Thawte, which is installed on our web server, resin pro 4.0.13, running on Windows 64-bit OS. The certificate & related files are placed in the directory "D:\resin-pro-4.0.13\keys". The resin.xml file inside the "conf" directory is updated as:

===================
<server-default>
<http address="*" port="80"/>
<http address="*" port="443"/>
...
</server-default>
===================

The log file displays the following indicating that resin is listening on port 443:
[...] {main} http listening to *:80
[...] {main} http listening to *:443

Now, the following code is included inside the <http> tag:

===================
<server-default>
<http address="*" port="80"/>
<http address="*" port="443">
<openssl>
<certificate-file>keys/ThawteSSL123_Certificate.crt</certificate-file>
<certificate-key-file>keys/ThawteSSL123_Key.key</certificate-key-file>
<password>sslcert2011</password>
</openssl>
</http>
...
</server-default>
===================

When the resin server is restarted, I get the following error message from the log file:

===================
[...] {main} http listening to *:80
[...] {main} java.lang.IllegalStateException: Found library 'resinssl' as 'D:\resin-pro-4.0.13\win64\resinssl.dll', but the load failed. The JVM exception was: java.lang.UnsatisfiedLinkError: D:\resin-pro-4.0.13\win64\resinssl.dll: Can't find dependent libraries
===================

After this, we downloaded the resin dll files "libeay32.dll" and "ssleay32.dll" from url: http://www.deanlee.cn/?p=60&cp=1 and placed them in the directory "D:\resin-pro-4.0.13\win64". When we restarted resin-pro-4.0.13, we got the following error message from the log file:

===================
[...] {main} http listening to *:80
[...] {main} com.caucho.config.ConfigException: OpenSSL can't open key file 'D:\resin-pro-4.0.13\keys\ThawteSSL123_Certificate.crt' or the password does not match.
at com.caucho.vfs.OpenSSLFactory.nativeInit(Native Method)
at com.caucho.vfs.OpenSSLFactory.initSSL(OpenSSLFacto ry.java:400)
at com.caucho.vfs.OpenSSLFactory.create(OpenSSLFactor y.java:362)
at com.caucho.network.listen.SocketLinkListener.bind( SocketLinkListener.java:938)
at com.caucho.cloud.network.NetworkListenService.star t(NetworkListenService.java:218)
at com.caucho.env.service.ResinSystem.startServices(R esinSystem.java:471)
at com.caucho.env.service.ResinSystem.start(ResinSyst em.java:443)
at com.caucho.server.resin.Resin.start(Resin.java:882 )
at com.caucho.server.resin.Resin.initMain(Resin.java: 1011)
at com.caucho.server.resin.Resin.main(Resin.java:1285 )
OpenSSL can't open key file 'D:\resin-pro-4.0.13\keys\ThawteSSL123_Certificate.crt' or the password does not match.
OpenSSL support compiled for OpenSSL 0.9.8k 25 Mar 2009
Resin Professional 4.0.13 (built Tue, 09 Nov 2010 03:50:16 PST)
Copyright(c) 1998-2010 Caucho Technology. All rights reserved.
===================

Also, this blocks the websites display functionality on the user browser. Is there a solution for fixing this issue and make the certificate easily viewable on the user browser?

Any help or guidance would be greatly appreciated.
Reply With Quote
Reply

Tags
certificate, openssl, ssl

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:14 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.