$1.35

How to run symfony application with https in local environment

Ask a question+
2

I have a symfony application and have many AMP pages in it. In AMP pages I use iframes which requires https. Is there a way to open my app in local environment via https.

add comment

1 Answer

2

I found a solution, symfony profides a command which generates ssl certification for local environment in Firefox.
symfony server:ca:install
Here is symfony documentation about that https://symfony.com/doc/current/setup/symfony_server.html#enabling-tls

add comment

Your Answer