mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-03 16:59:22 +02:00
authorize: add signature algo support (RSA / EdDSA) (#1631)
Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
This commit is contained in:
parent
652e8bb3d3
commit
5bbd745934
12 changed files with 376 additions and 269 deletions
|
@ -15,3 +15,12 @@ openssl req \
|
|||
-days 1000000 \
|
||||
-out ec_public.pem \
|
||||
-subj "/CN=unused"
|
||||
|
||||
# uncomment if you want RSA / RS256
|
||||
# openssl genpkey -algorithm RSA -out rsa_private.pem -pkeyopt rsa_keygen_bits:2048
|
||||
# openssl req -x509 -nodes -newkey rsa:2048 -keyout rsa_private.pem -out rsa_cert.pem -subj "/CN=unused"
|
||||
|
||||
# uncomment if you want EdDSA / Ed25519
|
||||
# openssl is /usr/local/opt/openssl/bin/openssl on mac with brew otherwise it is libressl
|
||||
# openssl genpkey -algorithm ED25519 -out ed25519_private.pem
|
||||
# openssl req -x509 -new -key ed25519_private.pem -days 1000000 -out ed25519_public.pem -subj "/CN=unused"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue