Enabling SSL
Last updated
Was this helpful?
Last updated
Was this helpful?
If you are using an external SSL provider, like Ngrok, you will need to use the following configuration:
That is it! Just now we have enabled SSL in our application!
With storeDomains
you can expose any store in your instance.
Now to apply changes we need to run command without .
You can run only one application with SSL enabled at the time because it will use port 443 which is the default port for SSL.
After installation install mkcert certificate into your system by running the command below:
Now we need to create a certificate. To create a certificate run command below:
Now we have all files that we need for CMA config.
Add to your cma.js
file field ssl
with the following object:
You can run only one application with SSL enabled at the time because it will use port 443 which is the default port for SSL.
You can use your existing certificate or create a new one using utility. Follow the installation for your platform.
That is it! Just now we have enabled SSL in our application! Now to apply changes we need to run command without .