Skip to content

Commit

Permalink
Merge branch 'main' of github.com:ElNiak/py-ssh3 into main
Browse files Browse the repository at this point in the history
  • Loading branch information
ElNiak committed Dec 21, 2023
2 parents 16103ab + 6b5b91f commit 8c03c40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py-ssh3/generate_openssl_selfsigned_certificate.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/bash

# Copy paste from original SSH3 repository
# we strongly recommend using classical certificates through e.g. letencrypt
# however, if you want a comparable security level to OpenSSH's host keys,
# you can use this script to generate a self-signed certificate for every host
# and every IP address to install on your server
openssl req -x509 -sha256 -nodes -newkey rsa:4096 -keyout priv.key -days 3660 -out cert.pem -subj "/C=XX/O=Default Company/OU=XX/CN=selfsigned.ssh3" -addext "subjectAltName = DNS:selfsigned.ssh3,DNS:*"
openssl req -x509 -sha256 -nodes -newkey rsa:4096 -keyout priv.key -days 3660 -out cert.pem -subj "/C=XX/O=Default Company/OU=XX/CN=selfsigned.ssh3" -addext "subjectAltName = DNS:selfsigned.ssh3,DNS:*"

0 comments on commit 8c03c40

Please sign in to comment.