osbuild-auth-tests: print output from openssl
This helps debugging certificate errors, because it prints configuration on success and what went wrong on errors.
This commit is contained in:
parent
0aef7ff5d5
commit
0f70edb48e
1 changed files with 2 additions and 0 deletions
|
|
@ -97,6 +97,8 @@ func newCertificateKeyPair(CA, CAkey, subj string) (*certificateKeyPair, error)
|
|||
"-CAkey", CAkey,
|
||||
"-out", ckp.certificate(),
|
||||
)
|
||||
cmd.Stdout = os.Stdout
|
||||
cmd.Stderr = os.Stderr
|
||||
err = cmd.Run()
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("cannot sign the certificate: %v", err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue