Skip to content

Commit

Permalink
This or it's in generateCert
Browse files Browse the repository at this point in the history
  • Loading branch information
Emma Turetsky committed Feb 24, 2025
1 parent 39aedad commit 8569f0d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -1545,16 +1545,16 @@ func InitServer(ctx context.Context, currentServers server_structs.ServerType) e

// Reset IssuerKeys to ensure test cases can use their own temp IssuerKeysDirectory
ResetIssuerPrivateKeys()
/*
// As necessary, generate private keys, JWKS and corresponding certs

// Note: This function will generate a private key in the location stored by the viper var "IssuerKeysDirectory"
// iff there isn't any valid private key present in that location
_, err = GetIssuerPublicJWKS()
if err != nil {
return err
}
// As necessary, generate private keys, JWKS and corresponding certs

// Note: This function will generate a private key in the location stored by the viper var "IssuerKeysDirectory"
// iff there isn't any valid private key present in that location
_, err = GetIssuerPublicJWKS()
if err != nil {
return err
}
/*
// Check if we have required files in place to set up TLS, or we will generate them
err = GenerateCert()
if err != nil {
Expand Down

0 comments on commit 8569f0d

Please sign in to comment.