Set up a self-signed SSL certificate
Edit on GitHubThis HowTo describes the steps to import a self-signed SSL (Secure Sockets Layer) certificate.
A self-signed SSL certificate is an identity certificate that is signed by the same entity whose identity it certificates. Such a certificate is used only for development purposes. For production purposes, we recommend generating a valid SSL certificate signed by an official certification center like letsEncrypt.
There is a self-signed SSL certificate shipped with Spryker. It is located in docker/deployment/default/spryker_ca.crt.
To access your instance via a secure connection, add the certificate to trusted authorities in the host system.
Depending on the OS, follow the instructions:
- Set up a self-signed SSL certificate on Windows
- Set up a self-signed SSL certificate on Linux
- Set up a self-signed SSL certificate on MacOS
Set up a self-signed SSL certificate on MacOS
To add spryker_ca.crt
to trusted authorities on MacOS, follow the steps:
-
Open Keychain Access.
-
Select File > Import Items.
-
Select
spryker_ca.crt
and click Open. -
Go to the Certificates category.
-
Right-click the Spryker certificate and select Get Info.
-
Open the Trust drop-down menu.
-
In the When using this certificate drop-down menu, select Always Trust.
Ensure that you can open Yves, Zed, and Glue without warnings via HTTPS.
Set up a self-signed SSL certificate on Linux
On Linux, you can add the certificate to trusted authorities only in a browser. Below, you can find instructions for importing the certificate in Google Chrome and Firefox.
Set up a self-signed SSL certificate in Google Chrome on Linux
To add spryker_ca.crt
to trusted authorities in Google Chrome on Linux, follow the steps:
- Click More.
- Select Settings.
- On the Settings page, go to Advanced > Manage certificates.
- Go to the Authorities tab.
- Select Import.
- Select
spryker_ca.crt
and click Open. - Select Trust this certificate for identifying websites.
- Click OK to save the changes.
- Restart the browser.
Ensure that you can open Yves, Zed, and Glue without warnings via HTTPS.
Set up a self-signed SSL certificate in Firefox on Linux
To add spryker_ca.crt
to trusted authorities in Firefox on Linux, follow the steps:
- Click Open menu .
- Select Options.
- On the Options page, select Privacy & Security.
- Scroll down to the Certificates section.
- Click View Certificates.
- In the Authorities tab, click Import.
- Select
spryker_ca.crt
. - Select Trust this CA to identify websites.
- Click OK to save the changes.
Ensure that you can open Yves, Zed, and Glue without warnings via HTTPS.
Set up a self-signed SSL certificate on Windows
To add spryker_ca.crt
to trusted authorities on Windows, follow the steps:
- To open the Run window, press Win+R.
- In the Open field, enter
mmc
and press Enter. - To confirm the action, click Yes.
- From the File menu, select Add/Remove Snap-in….
Alternatively, to open the Add or Remove Snap-ins window, press Ctrl+M.
-
In the Available snap-ins list, select Certificates.
-
Select Add >.
-
Click Certificates (local computer) > Trusted Root Authorities.
-
Right-click the Certificates folder and select All Tasks > Import.
-
Select the
spryker_ca.crt
file and click OK.
Ensure that you can open Yves, Zed, and Glue without warnings via HTTPS.
Thank you!
For submitting the form