Skip to content
This repository has been archived by the owner on Jan 26, 2021. It is now read-only.

Commit

Permalink
Use more consistent names for CA creation
Browse files Browse the repository at this point in the history
Fixes #9
  • Loading branch information
Jeroen Simonetti committed Mar 7, 2017
1 parent 596d62e commit 1e4df75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/cmd/certificate.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ var caCertCmd = &cobra.Command{
func caCertGenerate(cmd *cobra.Command, args []string) {
fmt.Printf("Generating CA certificate ...")

certf := certificateCmd.PersistentFlags().Lookup("certfile").Value.String()
keyf := certificateCmd.PersistentFlags().Lookup("keyfile").Value.String()
certf := certificateCmd.PersistentFlags().Lookup("cacert").Value.String()
keyf := certificateCmd.PersistentFlags().Lookup("cakey").Value.String()

cacert, err := cert.CreateCaCertificate()
if err != nil {
Expand Down

0 comments on commit 1e4df75

Please sign in to comment.