Open main menu

Aram's Wiki β

Changes

TLS Certificates Primer

60 bytes removed, 12:31, 1 August 2023
Prepare certificates for use
DOMAIN=xw.is
openssl genrsa req -rand new -genkey -out $DOMAIN.key newkey rsa:2048 openssl req -new nodes -key keyout $DOMAIN.key -out $DOMAIN.csr
Send ''xw.is.csr'' to your certificate vendor and follow the instructions.
== Prepare certificates for use ==
Your certificate vendor will give you a bunch of files. You need to concatenate them in order to use them in your web server. Order is essential. For example, for ComodoDigiCert:
cat xw_is.crt COMODORSADomainValidationSecureServerCADigiCertCA.crt COMODORSAAddTrustCATrustedRoot.crt >../xw.is.crt
== Configure your web server ==