Simple docker compose manifest for deploy of SSTP server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Terekhin Alexandr a03f58e358
Almost work and disable EAP
2 weeks ago
ldap Initial ldap and radius configs 2 weeks ago
nginx-stream Refactor stream proxy 8 months ago
proxy Nginx frontend in stream mode, client cert based auth to connect sstp server 8 months ago
radius Almost work and disable EAP 2 weeks ago
sstp Initial commit (tested, PoC compatible with Mikrotik) 8 months ago
.gitignore Move and regenerate dev keys 2 weeks ago
README.md Almost work and disable EAP 2 weeks ago
accel-ppp.conf Almost work and disable EAP 2 weeks ago
ca.pem Move and regenerate dev keys 2 weeks ago
cert.pem Move and regenerate dev keys 2 weeks ago
chap-secrets Initial commit (tested, PoC compatible with Mikrotik) 8 months ago
compose.yaml Almost work and disable EAP 2 weeks ago
privkey.pem Move and regenerate dev keys 2 weeks ago

README.md

Docker SSTP server

Start

Just run

docker compose up

Self-signed certificates

If you need self-signed certificate for testing, you can generate it with following commands:

Create Root Key

openssl genrsa -des3 -out rootCA.key 4096

If you want a non password protected key just remove the -des3 option

Create and self sign the Root Certificate

openssl req -x509 -new -nodes -key rootCA.key -sha256 -days 1024 -out ca.pem

Create the server certificate key

openssl genrsa -out privkey.pem

Create the signing request (csr)

openssl req -new -key privkey.pem -out sstp-csr.csr

Create a server certificate

openssl x509 -req -in sstp-csr.csr -CA ca.pem -CAkey rootCA.key -CAcreateserial -out cert.pem -days 365

Convert cert from PEM to CERT format (if it's needed)

openssl x509 -outform der -in your-cert.pem -out your-cert.crt