Hi,

Perhaps you should have a look at :
http://www.cs.odu.edu/~cs772/sourcecode/NSwO/v1.3/NSwO-1.3/ssl/
The Makefile and *.cnf are used to generate root, CA, server and client certificates and keys for test purpose.

Hope this example ( from http://www.opensslbook.com/code.html ) will inspire you.

Michel

Le 03/11/2011 05:57, Mr.Rout a écrit :
Thanks Dave.

Probably i have not understood the things properly.

After surfing through Google i got confused.

Actually I am doing TLS Client Testing which authenticate the
Server(www.https.com in my example).

Steps I followed to achieve this:
1) Created a Self signed Certificate where Issuer&  Subject are having Same
CN i.e. www.https.com
2) Then i import Server.pem file on TLS Client and same at Server also.

Here are the Openssl Commands to generate Self-Signed-Certificate.
openssl genrsa -des3 -out server.key 1024
openssl req -new -key server.key -out server.csr
openssl x509 -req -days 365 -in server.csr -signkey server.key -out
server.crt

Question here is : Can we create "Certficate Hirearchy" ?

Like ROOT( Issuer=X&  Subect=X) --->  SubCA(Issuer=X&  Subect=Y)

Please help me in generating  this hierarchies .

Thanks in advance .

-Best Regards,
Rout

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to