custom certificates + ssl module to deploy it. headscale module using self-signed certificate. sops-nix secrets to deploy certificate keys. random file are also sorted.
This commit is contained in:
parent
081d1fa6e1
commit
5824942904
17 changed files with 171 additions and 54 deletions
16
modules/headscale/servercsr.conf
Normal file
16
modules/headscale/servercsr.conf
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[ req ]
|
||||
default_bits = 4096
|
||||
prompt = no
|
||||
default_md = sha256
|
||||
req_extensions = req_ext
|
||||
distinguished_name = dn
|
||||
|
||||
[ dn ]
|
||||
CN = niczos.loc
|
||||
|
||||
[ req_ext ]
|
||||
subjectAltName = @alt_names
|
||||
|
||||
[ alt_names ]
|
||||
DNS.1 = niczos.loc
|
||||
DNS.2 = www.niczos.loc
|
||||
Loading…
Add table
Add a link
Reference in a new issue