Skip to content

Magento 2 Cloud Docker SSL certificate hostname change

I am using setup my local Cloud Docker https://devdocs.magento.com/cloud/docker/docker-development.html

local hostname set – test.test

To configure the custom host and port, add the host and port options to the build:compose command.

./vendor/bin/ece-docker build:compose --host=test.test --port=80

Still SSL certificate showing default magento2.docker on browser. How to change SSL certificate name as host. needed to DNS- test.test

Please let me know how change certificate name in magento2 docker cloud deploying into localhost.

Thanks;
HP