rasti.hil@hilandco.com +41 79 367-9677

demo ssl with openssl

set system32_folder=C:\WINDOWS\system32
set openssl_home="d:\Programme\Openssl-0.9.7e-Win32"
set csr_file=domain.csr
set key_file=domain.key
set cert_file=domain.cert
copy %openssl_home%\ssleay32.dll  %system32_folder%\
copy %openssl_home%\libeay32.dll  %system32_folder%\



cd "%openssl_home%"
openssl req -config openssl.cnf -new -out %csr_file%
openssl rsa -in privkey.pem -out %key_file%
openssl x509 -in %csr_file% -out %cert_file% -req -signkey %key_file% -days 365