- Notifications
You must be signed in to change notification settings - Fork927
Open
Labels
Description
Description
I have to migrate to certificate based authentication against Entra ID. As it is not very well documented I created first the defaultPKCS#8 format withopenssl
for the private key. I ran then into a failure as
coder/coderd/oauthpki/oidcpki.go
Line 111 in1c08580
key,err:=x509.ParsePKCS1PrivateKey(block.Bytes) |
Solution
Improve documentation athttps://coder.com/docs/reference/cli/server#--oidc-client-key-file
describe:
- It must be a file (secret mounted into the POD)
- The private key must be inPKCS#1 format
- Howto determine PKCS#1 format. Give a hint to look at the header
- Double check the fingerprint in uploaded certificate file