Difference between revisions of "SUNScholar/Secure Internet Connections"
m (→News) |
m (→Port 443 Firewall Access) |
||
(33 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
''To protect the user credentials of the members of the research community that your repository will serve, it is highly recommended that all logins to the system are encrypted using the procedure detailed below.'' | ''To protect the user credentials of the members of the research community that your repository will serve, it is highly recommended that all logins to the system are encrypted using the procedure detailed below.'' | ||
− | + | ==Requirements== | |
− | |||
− | |||
− | |||
− | == | ||
<font color="red"> | <font color="red"> | ||
*'''Secure connections are not needed if doing an evaluation of the software on a test server behind your institutions firewall.''' | *'''Secure connections are not needed if doing an evaluation of the software on a test server behind your institutions firewall.''' | ||
*'''It is assumed that DSpace has been installed according to the suggested guidelines here: http://wiki.lib.sun.ac.za/index.php/SUNScholar/DSpace.''' | *'''It is assumed that DSpace has been installed according to the suggested guidelines here: http://wiki.lib.sun.ac.za/index.php/SUNScholar/DSpace.''' | ||
</font> | </font> | ||
− | === | + | ===Port 443 Firewall Access=== |
− | + | Secure internet connections are created using the secure port (443) '''which must be opened on the campus and local server firewall'''. | |
− | + | http://wiki.lib.sun.ac.za/index.php/SUNScholar/Firewall | |
− | |||
− | |||
− | |||
===SSL Certificate Defaults=== | ===SSL Certificate Defaults=== | ||
Line 34: | Line 27: | ||
==Procedure== | ==Procedure== | ||
− | ===[[SUNScholar/Secure Internet Connections/S01|Step 1 | + | ===[[SUNScholar/Secure Internet Connections/S01|Step 1 - Create the SSL certificates]]=== |
− | ===[[SUNScholar/Secure Internet Connections/S02|Step 2 | + | ===[[SUNScholar/Secure Internet Connections/S02|Step 2 - Apply for a signed certificate]]=== |
− | ===[[SUNScholar/Secure Internet Connections/S03|Step 3 | + | ===[[SUNScholar/Secure Internet Connections/S03|Step 3 - Get the intermediate CA certs]]=== |
− | ===[[SUNScholar/Secure Internet Connections/S04|Step 4 | + | ===[[SUNScholar/Secure Internet Connections/S04|Step 4 - Configure Tomcat to use the SSL certs]]=== |
− | ===[[SUNScholar/Secure Internet Connections/S05|Step 5 | + | ===[[SUNScholar/Secure Internet Connections/S05|Step 5 - Enable secure XMLUI logins]]=== |
− | ===[[SUNScholar/Secure Internet Connections/S06|Step 6 | + | ===[[SUNScholar/Secure Internet Connections/S06|Step 6 - Enable HTTPS by default]]=== |
− | ===[[SUNScholar/Secure Internet Connections/S07|Step 7 | + | ===[[SUNScholar/Secure Internet Connections/S07|Step 7 - Rebuild DSpace]]=== |
− | ===[[SUNScholar/Secure Internet Connections/S08|Step 8 | + | ===[[SUNScholar/Secure Internet Connections/S08|Step 8 - Check the secure connection]]=== |
+ | ==YouTube Video== | ||
+ | <html5media width="560" height="315">https://www.youtube.com/watch?v=YtrdxiYUcOQ</html5media> | ||
==References== | ==References== | ||
===Tomcat=== | ===Tomcat=== | ||
+ | *https://tomcat.apache.org/tomcat-8.0-doc | ||
+ | *https://tomcat.apache.org/tomcat-8.0-doc/config/http.html#SSL_Support | ||
+ | ---- | ||
*https://tomcat.apache.org/tomcat-7.0-doc | *https://tomcat.apache.org/tomcat-7.0-doc | ||
*https://tomcat.apache.org/tomcat-7.0-doc/config/http.html#SSL_Support | *https://tomcat.apache.org/tomcat-7.0-doc/config/http.html#SSL_Support | ||
+ | ---- | ||
*https://tomcat.apache.org/tomcat-6.0-doc | *https://tomcat.apache.org/tomcat-6.0-doc | ||
*https://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html | *https://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html | ||
+ | ---- | ||
+ | *http://wiki.apache.org/tomcat/FAQ/Security | ||
*http://www.brandonchecketts.com/archives/convert-and-openssl-apache-ssl-certificate-to-a-pkcs12-tomcat | *http://www.brandonchecketts.com/archives/convert-and-openssl-apache-ssl-certificate-to-a-pkcs12-tomcat | ||
*http://www.tomcatexpert.com/knowledge-base/using-openssl-configure-ssl-certificates-tomcat | *http://www.tomcatexpert.com/knowledge-base/using-openssl-configure-ssl-certificates-tomcat | ||
Line 55: | Line 56: | ||
*http://mircwiki.rsna.org/index.php?title=Configuring_Tomcat_to_Support_SSL | *http://mircwiki.rsna.org/index.php?title=Configuring_Tomcat_to_Support_SSL | ||
*http://blog.lesc.se/2009/09/how-to-makejava-ssl-trust-certificate.html | *http://blog.lesc.se/2009/09/how-to-makejava-ssl-trust-certificate.html | ||
+ | *https://www.owasp.org/index.php/Securing_tomcat | ||
+ | *https://www.mulesoft.com/tcat/tomcat-security | ||
===SSL/TLS=== | ===SSL/TLS=== | ||
− | *http://www.openssl.org | + | *'''http://www.openssl.org''' |
*http://www.openssl.org/docs/apps/pkcs12.html | *http://www.openssl.org/docs/apps/pkcs12.html | ||
*http://www.madboa.com/geek/openssl/ | *http://www.madboa.com/geek/openssl/ | ||
Line 69: | Line 72: | ||
*https://www.feistyduck.com/books/openssl-cookbook/ | *https://www.feistyduck.com/books/openssl-cookbook/ | ||
*http://askubuntu.com/questions/537293/how-do-i-disable-sslv3-in-tomcat | *http://askubuntu.com/questions/537293/how-do-i-disable-sslv3-in-tomcat | ||
+ | *https://www.maketecheasier.com/apache-server-ssl-support | ||
+ | *https://mozilla.github.io/server-side-tls/ssl-config-generator | ||
+ | *https://istlsfastyet.com | ||
+ | |||
+ | ===Letsencrypt/Certbot=== | ||
+ | *'''https://letsencrypt.org''' | ||
+ | *https://certbot.eff.org/#ubuntuxenial-other | ||
+ | *https://certbot.eff.org/#ubuntutrusty-other | ||
+ | *https://hostpresto.com/community/tutorials/how-to-secure-your-apache-using-certbot-ssl | ||
+ | *https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-14-04 | ||
+ | *http://www.tecmint.com/install-free-lets-encrypt-ssl-certificate-for-apache-on-debian-and-ubuntu | ||
+ | *https://community.letsencrypt.org/t/how-to-use-the-certificate-for-tomcat/3677/1 | ||
+ | *https://github.com/StuAtGit/LetsEncrypt | ||
+ | *https://melo.myds.me/wordpress/lets-encrypt-for-tomcat-7-on-ds | ||
+ | *https://www.sslforfree.com | ||
===Monopoly Notes=== | ===Monopoly Notes=== | ||
Line 78: | Line 96: | ||
''Update - 2013/10/09. Now we know why a monopoly, so that the NSA can spy on everyone even with SSL certs. What a joke these certs are.'' | ''Update - 2013/10/09. Now we know why a monopoly, so that the NSA can spy on everyone even with SSL certs. What a joke these certs are.'' | ||
+ | |||
+ | ''Update - 2016/09/01. Letsencrypt is now allowing us to protect ourselves from the NSA!'' | ||
==News== | ==News== | ||
*https://www.youtube.com/watch?v=3G8dPAdmyss | *https://www.youtube.com/watch?v=3G8dPAdmyss | ||
*http://www.spiegel.de/international/germany/inside-the-nsa-s-war-on-internet-security-a-1010361-druck.html | *http://www.spiegel.de/international/germany/inside-the-nsa-s-war-on-internet-security-a-1010361-druck.html | ||
+ | [[Category:System Administration]] |
Latest revision as of 13:18, 27 March 2017
Back to Internet Security
For the need to use https, check: https://pressfreedomfoundation.org/encryption-works and https://ssd.eff.org
To check if your internet connection is secure, use: https://www.eff.org/https-everywhere
Contents
- 1 Introduction
- 2 Requirements
- 3 Procedure
- 3.1 Step 1 - Create the SSL certificates
- 3.2 Step 2 - Apply for a signed certificate
- 3.3 Step 3 - Get the intermediate CA certs
- 3.4 Step 4 - Configure Tomcat to use the SSL certs
- 3.5 Step 5 - Enable secure XMLUI logins
- 3.6 Step 6 - Enable HTTPS by default
- 3.7 Step 7 - Rebuild DSpace
- 3.8 Step 8 - Check the secure connection
- 4 YouTube Video
- 5 References
- 6 News
Introduction
This wiki page describes a method of securing communications to a DSpace installation on the internet.
To protect the user credentials of the members of the research community that your repository will serve, it is highly recommended that all logins to the system are encrypted using the procedure detailed below.
Requirements
- Secure connections are not needed if doing an evaluation of the software on a test server behind your institutions firewall.
- It is assumed that DSpace has been installed according to the suggested guidelines here: http://wiki.lib.sun.ac.za/index.php/SUNScholar/DSpace.
Port 443 Firewall Access
Secure internet connections are created using the secure port (443) which must be opened on the campus and local server firewall.
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Firewall
SSL Certificate Defaults
- The default location for certificates is: /etc/ssl/certs.
- This is where we will put the certificates.
- Other services should point to this folder for the certificates.
Procedure
Step 1 - Create the SSL certificates
Step 2 - Apply for a signed certificate
Step 3 - Get the intermediate CA certs
Step 4 - Configure Tomcat to use the SSL certs
Step 5 - Enable secure XMLUI logins
Step 6 - Enable HTTPS by default
Step 7 - Rebuild DSpace
Step 8 - Check the secure connection
YouTube Video
References
Tomcat
- https://tomcat.apache.org/tomcat-8.0-doc
- https://tomcat.apache.org/tomcat-8.0-doc/config/http.html#SSL_Support
- https://tomcat.apache.org/tomcat-7.0-doc
- https://tomcat.apache.org/tomcat-7.0-doc/config/http.html#SSL_Support
- http://wiki.apache.org/tomcat/FAQ/Security
- http://www.brandonchecketts.com/archives/convert-and-openssl-apache-ssl-certificate-to-a-pkcs12-tomcat
- http://www.tomcatexpert.com/knowledge-base/using-openssl-configure-ssl-certificates-tomcat
- http://code.google.com/p/jianwikis/wiki/TomcatSSLWithAPR
- http://johnjianfang.blogspot.com/2009/06/ssl-configuration-for-tomcat.html
- http://mircwiki.rsna.org/index.php?title=Configuring_Tomcat_to_Support_SSL
- http://blog.lesc.se/2009/09/how-to-makejava-ssl-trust-certificate.html
- https://www.owasp.org/index.php/Securing_tomcat
- https://www.mulesoft.com/tcat/tomcat-security
SSL/TLS
- http://www.openssl.org
- http://www.openssl.org/docs/apps/pkcs12.html
- http://www.madboa.com/geek/openssl/
- http://news.netcraft.com/ssl-survey
- http://www.mulesoft.com/tomcat-ssl
- http://www.sslshopper.com
- http://www.sslshopper.com/ssl-faq.html
- http://www.sslshopper.com/article-most-common-openssl-commands.html
- http://www.clintharris.net/2009/self-signed-certificates
- https://www.ssllabs.com/projects/best-practices/index.html
- https://www.feistyduck.com/books/openssl-cookbook/
- http://askubuntu.com/questions/537293/how-do-i-disable-sslv3-in-tomcat
- https://www.maketecheasier.com/apache-server-ssl-support
- https://mozilla.github.io/server-side-tls/ssl-config-generator
- https://istlsfastyet.com
Letsencrypt/Certbot
- https://letsencrypt.org
- https://certbot.eff.org/#ubuntuxenial-other
- https://certbot.eff.org/#ubuntutrusty-other
- https://hostpresto.com/community/tutorials/how-to-secure-your-apache-using-certbot-ssl
- https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-14-04
- http://www.tecmint.com/install-free-lets-encrypt-ssl-certificate-for-apache-on-debian-and-ubuntu
- https://community.letsencrypt.org/t/how-to-use-the-certificate-for-tomcat/3677/1
- https://github.com/StuAtGit/LetsEncrypt
- https://melo.myds.me/wordpress/lets-encrypt-for-tomcat-7-on-ds
- https://www.sslforfree.com
Monopoly Notes
Please note: A quiet monopoly has been created in the SSL cert business. Verisign buys Thawte, Verisign buys Geotrust, Symantec buys Verisign.
- http://en.wikipedia.org/wiki/Thawte
- http://en.wikipedia.org/wiki/Geotrust
- http://en.wikipedia.org/wiki/Verisign
- http://en.wikipedia.org/wiki/Symantec
Update - 2013/10/09. Now we know why a monopoly, so that the NSA can spy on everyone even with SSL certs. What a joke these certs are.
Update - 2016/09/01. Letsencrypt is now allowing us to protect ourselves from the NSA!