Hello :)
If you are using the docker extension you will not be able to issue certificates. The latest update of the lets encrypt extension tries to solve this problem of having custom configurations on your vhost but using lets encrypt for securing domains.
But unfortunately it does not work...