Skip to content

Instantly share code, notes, and snippets.

@rahulremanan
Created January 31, 2023 15:35
Show Gist options
  • Save rahulremanan/bfcb86c84e31dd0c43cec985b8a2f0ef to your computer and use it in GitHub Desktop.
Save rahulremanan/bfcb86c84e31dd0c43cec985b8a2f0ef to your computer and use it in GitHub Desktop.
Create the endpoint server certificate
!openssl ca -config /content/inter_ca_config.ini -passin pass:password\
-extensions server_cert -days 375 -notext -md sha256 \
-in /root/ca/user/user.csr \
-out /root/ca/user/user_server.cert.pem -batch
!chmod 444 /root/ca/user/user_server.cert.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment