markziemann / dee2

Digital Expression Explorer 2 (DEE2): a repository of uniformly processed RNA-seq data
http://dee2.io
GNU General Public License v3.0
39 stars 7 forks source link

enable https #20

Closed markziemann closed 6 years ago

markziemann commented 6 years ago

users are receiving security warnings, need to install SSL cert to enable https.

markziemann commented 6 years ago

Webpage looks ok but lacks encryption and sometimes won't reload on mobile device.

Perhaps best to use a prebuilt docker image running apache configured with SSL cert (like this one https://github.com/ilkka/docker-httpd-ssl)

markziemann commented 6 years ago

WIll try this https://github.com/BirgerK/docker-apache-letsencrypt

markziemann commented 6 years ago

Tried this docker but not working $ docker run -d --name myappcontainer -p 80:80 -p 443:443 whiledo/letsencrypt-apache-ubuntu

I got an "unauthorised" error

/data/letsencrypt/letsencrypt-auto --apache --email mark.ziemann@gmail.com --agree-tos -d dee2.io -d www.dee2.io

Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator apache, Installer apache Obtaining a new certificate Performing the following challenges: http-01 challenge for dee2.io http-01 challenge for www.dee2.io Enabled Apache rewrite module Waiting for verification... Cleaning up challenges Failed authorization procedure. dee2.io (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://dee2.io/.well-known/acme-challenge/zK7GnejGph6bxttQ_TV2LfupGPyCg5RjEdmMqeAH0Vk: " <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

dee", www.dee2.io (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.dee2.io/.well-known/acme-challenge/2DeQTj7PExvgqJzj_YlHIo8Vgs0jeheagGUiX9E-7Dg: " <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>dee" IMPORTANT NOTES: - The following errors were reported by the server: Domain: dee2.io Type: unauthorized Detail: Invalid response from http://dee2.io/.well-known/acme-challenge/zK7GnejGph6bxttQ_TV2LfupGPyCg5RjEdmMqeAH0Vk: " <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>dee" Domain: www.dee2.io Type: unauthorized Detail: Invalid response from http://www.dee2.io/.well-known/acme-challenge/2DeQTj7PExvgqJzj_YlHIo8Vgs0jeheagGUiX9E-7Dg: " <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>dee" To fix these errors, please make sure that your domain name was entered correctly and the DNS A/AAAA record(s) for that domain contain(s) the right IP address. root@ace03309d340:/data# sudo /data/letsencrypt/letsencrypt-auto --apache --email mark.ziemann@gmail.com --agree-tos -d dee2.io -d www.dee2.io Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator apache, Installer apache Obtaining a new certificate Performing the following challenges: http-01 challenge for dee2.io http-01 challenge for www.dee2.io Enabled Apache rewrite module Waiting for verification... Cleaning up challenges Failed authorization procedure. www.dee2.io (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.dee2.io/.well-known/acme-challenge/TTqqQWwx8Jbgs8iiGSWbpVTq9Uz97EgQ73akTp3ctV8: " <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>dee", dee2.io (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://dee2.io/.well-known/acme-challenge/uOVraKwsbEb5PAQEpd2mt5aRg1FKP-L4jOGaU95IINM: " <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>dee" IMPORTANT NOTES: - The following errors were reported by the server: Domain: www.dee2.io Type: unauthorized Detail: Invalid response from http://www.dee2.io/.well-known/acme-challenge/TTqqQWwx8Jbgs8iiGSWbpVTq9Uz97EgQ73akTp3ctV8: " <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>dee" Domain: dee2.io Type: unauthorized Detail: Invalid response from http://dee2.io/.well-known/acme-challenge/uOVraKwsbEb5PAQEpd2mt5aRg1FKP-L4jOGaU95IINM: " <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>dee" To fix these errors, please make sure that your domain name was entered correctly and the DNS A/AAAA record(s) for that domain contain(s) the right IP address. </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/markziemann"><img src="https://avatars.githubusercontent.com/u/5591840?v=4" />markziemann</a> commented <strong> 6 years ago</strong> </div> <div class="markdown-body"> <p>I have tried several times with different approaches with no success so I will close the ticket for now</p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>