Skip to content

Commit

Permalink
add tip to view csr with openssl
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzhiwei committed Aug 15, 2021
1 parent b87dd13 commit f357dc5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/cert/show.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ func GetCertRequestInfo(bytes []byte) ([]map[string]string, error) {
})
}

// a certificate request can contain too many tings, no need to reinvent the wheel
result = append(result, map[string]string{
"\nCheck more info with": "openssl req -noout -text -in csr-filepath",
})

return result, nil
}

Expand Down

0 comments on commit f357dc5

Please sign in to comment.