Mantis - Documentation
Viewing Issue Advanced Details
5471 minor always 06-21-13 11:27 06-21-13 11:27
rickHigh  
 
normal  
new  
open  
none    
none  
0005471: SSL Documentation problems
http://www.caucho.com/resin-4.0/admin/security-ssl.xtp [^]
 
The instructions to setup the path to the cert in resin.properties has a small typo:
 
# OpenSSL certificate configuration
openssl_file : key/gryffindor.crt
openssl_key : keys/gryffindor.key
openssl_password : my-password
 
That should be keys.
 
 
Also, the instructions say to create the dir w/ the SSL cert under Resin?s root:
unix> cd $RESIN_HOME
unix> mkdir keys
unix> cd keys
 
That gives the error:
 
com.caucho.config.ConfigException: OpenSSL can't open certificate file '/var/resin-pro-7.0.s130614/conf/keys/dev.crt'
 
It looks like the keys directory should be created under $RESIN_HOME/conf/ rather than simply under $RESIN_HOME.
 
 
Finally, the config script doesn?t find the openssl include files or libs for Red Hat/CentOS, and the makefile didn?t copy the libraries it created to the $RESIN_HOME/libexec64/ dir. The commands I used to build it successfully under CentOS:
 
ln -s /usr/include /usr/include/openssl/include
make clean
./configure --with-openssl=/usr/include/openssl -with-openssl-lib=/usr/lib64
make
mkdir libexec64
cp modules/c/src/resinssl/libresinssl.so libexec64/
cp modules/c/src/resin_os/libresin_os.so libexec64/


There are no notes attached to this issue.