Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/init_server_creds.go
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ func loadPEMFiles(dir string) (jwk.Key, error) {
if (path != dir) && dirEnt.IsDir() {
return filepath.SkipDir
}
if dirEnt.Type().IsRegular() && filepath.Ext(dirEnt.Name()) == ".pem" {
if dirEnt.Type().IsRegular() && (filepath.Ext(dirEnt.Name()) == ".pem" || filepath.Ext(dirEnt.Name()) == ".jwk") {
// Parse the private key in this file and add to the in-memory keys map
key, err := LoadSinglePEM(path)
if err != nil {
Expand Down
Loading