How to install a custom certificate in Symfony server?

2.1k Views Asked by At

With server:ca:install on the Symfony console an SSL certificate can be generated and installed.

Is it possible / How to install an existing one, created separately (instead of the auto-generated one)?

Background: I need a certificate, that contains a specific IP as "alternative name".

1

There are 1 best solutions below

0
On

symfony server:ca:install command creates and install certificates in user home directory (~) under .symfony5/certs folder you can replace generated certs with the existing ones here.

Note: Before replacing you can backup existing certs for later usage Or you can just regenerate new certs with the same command.