-
MARGERY David authored
This creates a local virtualhost listening on 8443 and configured to require a ssl client cert. Rails config file is updated so as to go to that url for outgoing connection to the API using entries such as base_uri_out: https://127.0.0.1:8443 uri_out_private_key_file: /etc/ssl/certs/clientkey_nopass.pem uri_out_cert_chain_file: /etc/ssl/certs/clientcert.pem The complete environment can then be tested setup tunnels and running against the development rails server curl -kni http://127.0.0.1:8000/sites/rennes/jobs \ -H'Accept: application/json' -H'Content-Type: application/json' \ -d '{"resources": "nodes=1,walltime=00:05:00", "command": "while(true); do sleep 5; echo \"awake\"; done"}'
359e1eed