How to install SSL and change the admin URL

70 views Asked by At

How to install Let's encrypt SSL certificate with automated renewal and also change the admin URL for orocommerce?

1

There are 1 answers

3
Andrey Yatsenko On

There are two unrelated questions.

How to install Let's encrypt SSL certificate with automated renewal

There is no difference from other applications in this step, so you can follow the general installation guide provided by Let's encrypt for your operation system.

change the admin URL for orocommerce?

You can do it from the management console by modifying the Application URL and Website URL and Secure URLs or the command line:

php bin/console oro:config:update --env=prod oro_ui.application_url <new application-url>
php bin/console console oro:config:update --env=prod oro_website.url <new application-url>
php bin/console console oro:config:update --env=prod oro_website.secure_url <new application-url>

where the <new application-url> must be replaced with your application URL, like https://example.com.