srijeet0406 commented on a change in pull request #4630: Updating the testing 
documentation for TO to add more info about buil…
URL: https://github.com/apache/trafficcontrol/pull/4630#discussion_r408494892
 
 

 ##########
 File path: traffic_ops/testing/api/README.md
 ##########
 @@ -60,7 +84,49 @@ In order to run the tests you will need the following:
        change `traffic_ops_golang->port` to 8443
 
     `$ go build && ./traffic_ops_golang -cfg $HOME/cdn.conf -dbcfg 
../app/conf/test/database.conf`
-
+    
+    In your local development environment, if the above command fails for an 
error similar to 
+    `ERROR: traffic_ops_golang.go:193: 2020-04-10T10:55:53.190298-06:00: 
cannot open /etc/pki/tls/certs/localhost.crt for read: open 
/etc/pki/tls/certs/localhost.crt: no such file or directory`
+    you might not have the right certificates at the right locations. Follow 
the following procedure
+    to fix it:
+    ```bash
+         $ openssl genrsa -des3 -passout pass:x -out localhost.pass.key 2048
 
 Review comment:
   Yes, that command will work too. I was following the instructions at 
https://traffic-control-cdn.readthedocs.io/en/latest/admin/traffic_ops.html#id12

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


With regards,
Apache Git Services

Reply via email to