I know their logical differences, their intended ways to use. What I want to know are, how both certificates differs in the procedure of generation, of their actual contents.
Suppose you'll generate a self-signed some certificate with following procedure:
openssl genpkey -algorithm RSA -out key.pem -outform PEM
.openssl req -new -key key.pem -keyform PEM -out req.pem -outform PEM
.openssl ca -in req.pem -out cert.pem -cert ca.crt -keyfile key.pem -keyform PEM
.I searched the web a lot but I couldn't find out whether the procedure above and the contents of generated certificate get differed when I generate a server certificate and a client certificate.
Your answers are greatly appreciated. Thank you.
There is no difference in the format. Both are X.509 certificates with the use-for-SSL bit set.