You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2018/12/17 17:34:48 UTC

[GitHub] dangogh closed pull request #3122: Add Traffic Vault steps for Self Signed SSL

dangogh closed pull request #3122: Add Traffic Vault steps for Self Signed SSL
URL: https://github.com/apache/trafficcontrol/pull/3122
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/docs/source/admin/traffic_vault.rst b/docs/source/admin/traffic_vault.rst
index 55fdc95a1..4651cf27a 100644
--- a/docs/source/admin/traffic_vault.rst
+++ b/docs/source/admin/traffic_vault.rst
@@ -29,6 +29,30 @@ Configuring Traffic Vault
 =========================
 The following steps were taken to configure Riak in our environments.
 
+
+Self Signed Certificate configuration
+-------------------------------------
+
+.. note:: Self Signed Certificates are not recommended for production use. Intended for dev or learning purposes only. Modify subject as necessary.   
+
+.. code-block:: shell
+    :caption: Self-Signed Certificate Configuration
+
+	cd ~
+	mkdir certs
+	cd certs
+	openssl genrsa -out ca-bundle.key 2048
+	openssl req -new -key ca-bundle.key -out ca-bundle.csr -subj "/C=US/ST=CO/L=DEN/O=somecompany/OU=CDN/CN=somecompany.net/emailAddress=someuser@somecompany.net"
+	openssl x509 -req -days 365 -in ca-bundle.csr -signkey ca-bundle.key -out ca-bundle.crt
+	openssl genrsa -out server.key 2048
+	openssl req -new -key server.key -out server.csr -subj "/C=US/ST=CO/L=DEN/O=somecompany/OU=CDN/CN=somecompany.net/emailAddress=someuser@somecompany.net"
+	openssl x509 -req -days 365 -in server.csr -CA ca-bundle.crt -CAkey ca-bundle.key -CAcreateserial -out server.crt
+	mkdir /etc/riak/certs
+	mv -f server.crt /etc/riak/certs/.
+	mv -f server.key /etc/riak/certs/.
+	mv -f ca-bundle.crt /etc/pki/tls/certs/.
+
+
 Riak configuration file configuration
 -------------------------------------
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services