Foritgate certificate replacement
To Import the SSL to FortiGate:
- Export private key
- Use openssl to get a .cer and .key
- openssl pkcs12 -in certname.pfx -nocerts -out key.cer -nodes
- openssl pkcs12 -in certname.pfx -nokeys -out cert.key -nodes
- Go to FortiGate > System > Certificates
- Import > Local Certificate
- Choose Certificate from the drop down
- Choose the files and put in the password
To Apply the VPN SSL:
- On the FortiGate goto VPN > SSL > Settings
- Change the Server Certificate to the new one