cfztna-tls-beacon

command module
v0.0.0-...-4f670d7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2023 License: MIT Imports: 5 Imported by: 0

README

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
    

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL