Certificate SSL

From TempusServa wiki
Revision as of 20:23, 24 November 2021 by old>Admin (→‎Install certificate)
Jump to navigation Jump to search

Classic certificates

Aquire certificate

Buy a certificate from a provider. Note that the max lifetime is currently 1 year, så buying a 5 year certificate only help on pricing.

After issuing the files you will have

  • A private key - ex: movia.tempusserva.dk.pfx
  • A certificate - ex: movia_tempusserva_dk_key.txt

Install certificate

Upload the files

Convert to a pfx file format

  openssl pkcs12 -export -out movia.tempusserva.dk.pfx -inkey movia_tempusserva_dk_key.txt -in movia.tempusserva.dk.crt

Install in tomcat