Info
Content

CA,CSR,CRT

CA

openssl req -sha256 -new -x509 -days 365 -nodes -out server-ca.crt -keyout server-ca.key

CSR

openssl req -sha256 -new -nodes -subj "/CN=two.vandud.ru" -out server.csr -keyout server.key

Sign CSR

root@two:~# openssl x509 -req -sha256 -days 365 -in server.csr -CA server-ca.crt -CAkey server-ca.key -CAcreateserial -out server.crt
Signature ok
subject=CN = two.vandud.ru
Getting CA Private Key
No Comments
Back to top