Skip to content

moonrhythm/cfztna-tls-beacon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cfztna-tls-beacon

How

  1. Generate a self-signed certificate

    openssl req -x509 -newkey rsa:4096 -sha256 -days 3650 -nodes -keyout tls.key -out tls.crt -subj "/CN=cfztna-tls-beacon" -addext "subjectAltName=DNS:cfztna-tls-beacon"
  2. Get SHA256 fingerprint of the certificate

    openssl x509 -noout -fingerprint -sha256 -inform pem -in tls.crt | tr -d :
  3. Start beacon

    docker run -d --name cfztna-tls-beacon -p 4443:4443 \
      -e TLS_CERT=xxx \
      -e TLS_KEY=xxx \
      -e PORT=4443 \
      gcr.io/moonrhythm-containers/cfztna-tls-beacon

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published