Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL - lets encrypt #32

Open
dgram opened this issue Mar 16, 2016 · 3 comments
Open

SSL - lets encrypt #32

dgram opened this issue Mar 16, 2016 · 3 comments

Comments

@dgram
Copy link

dgram commented Mar 16, 2016

hey,

i've tried to add an lets-encrypt ssl certificate.
but when i start the server and check the https protocol, i get net::ERR_CERT_AUTHORITY_INVALID.
now i found the problem was, that the domain i used for encrypted is different to the docker domain.

on the error message i've seen the following values:

CN = *.vm
O = Docker Boilerplate

but i change all docker configurations where i found the .vm and *.vm entries and change them to my domain name.

when i check the docker-compose logs i found the following entries by "docker-compose logs | grep *.vm"

app_1 | ok: [localhost] => (item=[{u'variable': u'ALIAS_DOMAIN', u'value': u'.vm'}, u'/opt/docker/etc/nginx/global.conf'])
app_1 | ok: [localhost] => (item=[{u'variable': u'ALIAS_DOMAIN', u'value': u'
.vm'}, u'/opt/docker/etc/nginx/main.conf'])
app_1 | ok: [localhost] => (item=[{u'variable': u'ALIAS_DOMAIN', u'value': u'.vm'}, u'/opt/docker/etc/nginx/php.conf'])
app_1 | ok: [localhost] => (item=[{u'variable': u'ALIAS_DOMAIN', u'value': u'
.vm'}, u'/opt/docker/etc/nginx/vhost.common.conf'])
app_1 | ok: [localhost] => (item=[{u'variable': u'ALIAS_DOMAIN', u'value': u'.vm'}, u'/opt/docker/etc/nginx/vhost.conf'])
app_1 | ok: [localhost] => (item=[{u'variable': u'ALIAS_DOMAIN', u'value': u'
.vm'}, u'/opt/docker/etc/nginx/vhost.ssl.conf'])
app_1 | ok: [localhost] => (item=[{u'variable': u'ALIAS_DOMAIN', u'value': u'.vm'}, u'/opt/docker/etc/nginx/global.conf'])
app_1 | ok: [localhost] => (item=[{u'variable': u'ALIAS_DOMAIN', u'value': u'
.vm'}, u'/opt/docker/etc/nginx/main.conf'])
app_1 | ok: [localhost] => (item=[{u'variable': u'ALIAS_DOMAIN', u'value': u'.vm'}, u'/opt/docker/etc/nginx/php.conf'])
app_1 | ok: [localhost] => (item=[{u'variable': u'ALIAS_DOMAIN', u'value': u'
.vm'}, u'/opt/docker/etc/nginx/vhost.common.conf'])
app_1 | ok: [localhost] => (item=[{u'variable': u'ALIAS_DOMAIN', u'value': u'.vm'}, u'/opt/docker/etc/nginx/vhost.conf'])
app_1 | ok: [localhost] => (item=[{u'variable': u'ALIAS_DOMAIN', u'value': u'
.vm'}, u'/opt/docker/etc/nginx/vhost.ssl.conf'])

have you any idea?

regards

@lbayerl
Copy link

lbayerl commented Oct 14, 2016

would be perfect to have letsencyrpt supported in the boilerplate

@bracketouverte
Copy link

👍

1 similar comment
@brandontamm
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants