in→docs
This commit is contained in:
parent
c3af60bbfd
commit
96f5a0771a
109 changed files with 0 additions and 0 deletions
31
docs/public/openssl/ca/sign.rst
Normal file
31
docs/public/openssl/ca/sign.rst
Normal file
|
@ -0,0 +1,31 @@
|
|||
Sign certificate request
|
||||
========================
|
||||
|
||||
from CA key & certificate
|
||||
-------------------------
|
||||
|
||||
.. code:: shell
|
||||
|
||||
openssl \
|
||||
x509 \
|
||||
-CA ca.crt \
|
||||
-CAkey ca.key \
|
||||
-req \
|
||||
-in "client.csr" \
|
||||
-days 365 \
|
||||
-out "client.crt" \
|
||||
-set_serial nn
|
||||
|
||||
from proper CA
|
||||
--------------
|
||||
|
||||
.. code:: shell
|
||||
|
||||
openssl \
|
||||
req \
|
||||
-in "certificate_request.csr" \
|
||||
-key "private_key.pem" \
|
||||
-x509 \
|
||||
-set_serial 0 \
|
||||
-days 730 \
|
||||
-out "certificate.crt"
|
Loading…
Add table
Add a link
Reference in a new issue