Skip to content

Commit

Permalink
keptn#608 Add hint how to check the key
Browse files Browse the repository at this point in the history
  • Loading branch information
agrimmer committed Aug 13, 2019
1 parent c6c3667 commit d725126
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/cmd/configure_domain.go
Expand Up @@ -224,6 +224,7 @@ func updateKeptnAPIVirtualService(path, domain string) error {
func updateCertificate(path, domain string) error {

// Source: https://golang.org/src/crypto/tls/generate_cert.go
// We can verify the generated key with 'openssl rsa -in key.pem -check'
serialNumberLimit := new(big.Int).Lsh(big.NewInt(1), 128)
serialNumber, err := rand.Int(rand.Reader, serialNumberLimit)
if err != nil {
Expand Down

0 comments on commit d725126

Please sign in to comment.