create new .pem for SETP server and client

Support, Questions and Discussions on WinSyslog

Moderator: alorbach

create new .pem for SETP server and client

Postby mkstokes on Tue Oct 12, 2004 4:38 pm

Anyone know the process to change the .pem file from the one shipped with Winsyslog and eventlogger?
mkstokes
 

Postby alorbach on Thu Oct 14, 2004 10:00 am

Hi,

yes you can create your own PEM.
You are the first asking for this btw ;)

But you will need the binaries of OpenSSL. You can either download the OpenSSL Source and compile it yourself, or I can provide you a compiled openssl.exe for this task.

Anyway, to create your own PEM create a batch file and fill it with this content:

Code: Select all
rem Create Private key
openssl.exe genrsa -out mykey.pem 2048
rem Create Server cert
openssl.exe req -new -x509 -key mykey.pem -out myca.pem -days 3650 -config openssl.cnf


Openssl.cnf can be the default OpenSSL configfile.
This will create two files which you simply need to combine using a texteditor, and finally name it like the service: winsyslg.pem

regards,
Andre Lorbach
User avatar
alorbach
Site Admin
 
Posts: 820
Joined: Thu Feb 13, 2003 11:55 am

Google Ads



Return to WinSyslog

Who is online

Users browsing this forum: No registered users and 0 guests

cron