Skip to content

use private key when creating x509 cert #99

use private key when creating x509 cert

use private key when creating x509 cert #99

Triggered via pull request October 23, 2023 15:43
Status Failure
Total duration 1m 59s
Artifacts

ci.yml

on: pull_request
Puppet  /  Static validations
35s
Puppet / Static validations
Matrix: Puppet / unit
Puppet  /  Test suite
0s
Puppet / Test suite
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Puppet / 7 (Ruby 2.7): spec/unit/puppet/provider/x509_cert/openssl_spec.rb#L62
The openssl provider for the x509_cert type when using a CA for signing creates a certificate with the proper options Failure/Error: openssl options #<Puppet::Type::X509_cert::ProviderOpenssl (class)> received :openssl with unexpected arguments expected: (["x509", "-req", "-days", 3650, "-in", "/tmp/foo.csr", "-out", "/tmp/foo.crt", "-extfile", "/tmp/foo....reateserial"], ["-CA", "/tmp/foo-ca.crt"], ["-CAkey", "/tmp/foo-ca.key"], ["-extensions", "v3_req"]]) got: (["x509", "-req", "-days", 3650, "-in", "/tmp/foo.csr", "-out", "/tmp/foo.crt", "-extfile", "/tmp/foo....reateserial"], ["-CA", "/tmp/foo-ca.crt"], ["-CAkey", "/tmp/foo-ca.key"], ["-extensions", "v3_req"]])
Puppet / 7 (Ruby 2.7)
Process completed with exit code 1.