Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/petems/capistrano-nginx-ssl

An example repository of how to setup SSL certs for NGINX
https://github.com/petems/capistrano-nginx-ssl

Last synced: 1 day ago
JSON representation

An example repository of how to setup SSL certs for NGINX

Awesome Lists containing this project

README

        

#capistrano-nginx-ssl

An example of how to configure nginx with ssl certficate authentication, using puppet and Vagrant.

##Getting it working

###Deploy

```
bundle install
vagrant up
bundle exec cap vagrant deploy
```

###Testing SSH is working with cURL

```
vagrant ssh
cd /etc/ssl/CA/certs
curl -v -s -k --key client1.key --cert client1.crt https://192.168.30.15
# Will pass.

curl -v -s -k --key client2.key --cert client2.crt https://192.168.30.15
# Will fail, key has been revoked
```