Skip to content

Generate SSL certificates

Check if we can use https://github.com/codevibess/openssl-nodejs to call openssl from docusaurus. This will require some sort of endpoint so that user input can be passed to node where this can be executed.

Replace https://ggce.genesys-pgr.org/docs/install/certificates/#generate-a-certificate-signing-request with a form (react-hook-form) that will ask the user to provide:

  • Common Name CN: The DNS host name
  • Country C: ISO-3166-2 country code (e.g. DE)
  • Organization O: text
  • Organization Unit OU: text

Use openssl-nodejs to generate CSR, key and a self-signed certificate (the openssl commands are already in the documentation).