Add SSL certificate on the application deployed with Docker
I have ubuntu 18.04 server. The application is deployed with Docker and can be accessed with http.
I need to add SSL certificate that I have received from a company.
I cant use CertBot as it includes its own certificate.
I need to make sure to include same certificate that I have received.
Ah fair enough. But I would assume that you can do the same with the php-apache image :) I havent used it myself, but should be possible :) Perhaps consider posting your docker-compose.yml and custom Dockerfile (I assume you are using both)
Personally I would add my own custom apache config for the site. Go into the container and drab the default one. Modify it locally and have docker copy it in. :) /etc/apache2/sites-available/default.conf(if I recall correctly)