help/help/public/openssl/ca/sign.rst
Marc Beninca 4a115a51ee
Some checks are pending
/ job (push) Waiting to run
help
2025-05-02 21:11:39 +02:00

31 lines
446 B
ReStructuredText

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"