Skip to content

Instantly share code, notes, and snippets.

@zackslash
Created January 20, 2016 09:18
Show Gist options
  • Save zackslash/44823409e1b289d05307 to your computer and use it in GitHub Desktop.
Save zackslash/44823409e1b289d05307 to your computer and use it in GitHub Desktop.
Stunnel config for dev local SSL endpoint
#Generate certs through Open SSL
# $ openssl req -new -x509 -days 365 -nodes -out stunnel.pem -keyout stunnel.key
foreground = yes
[fortifi]
accept = development.<URL>.it:8090
connect = development.<URL>.it:8080
cert=stunnel.pem
key=stunnel.key
CAfile = stunnel.pem
options = NO_SSLv2
[fortifi]
accept = lassets.<URL>.it:8091
connect = lassets.<URL>.it:8080
cert=stunnellasset.pem
key=stunnellasset.key
CAfile = stunnel.pem
options = NO_SSLv2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment