I am working on an OpenSSL program i found on the linuxjournal <http://www.linuxjournal.com/article/4822>
the program seems to work ok, except for the fact that the certificates have expired! So i looked up numerous tutorials on CA.pl in order to create my own certificates, however im still having trouble.
I create a CA via -
perl CA.pl -newca (everything seems grand)
cp demoCA/cacert.pem root.pem (i think this is correct, should it be root.pem)
Now i have my CA authority and my CA authority set up and my root.pem
I dont really know what dh1024.pem is so i just used the version shipped with it ........
Setting up my server.pem -
perl CA.pl -newreq
I give the server all the same info as given the CA inc Comman Name
Then i sign it -
perl CA.pl -sign
Now i copy the RSA private key part of newreq.pem to server.pem
and the Certificate part of newcert to server.pem
So when i try start up the wserver i get the following error:
It does not give me this error (it gives me some Common Name error later in the code but i presume this is normal as they are not my certs). Can i ask what you did to set up your certs that i did not do?
Any help would be very much appreciated.