Skip to content

SSL cacerts wrapper #184

@drakoswraith

Description

@drakoswraith

Description

Per my success engineer (Stephen Wise), i'm opening this for tracking purposes for SSL cacerts wrapping

Scaffolding Version

0.16.0 of this repo

Platform Version

Running Habitat studio on Windows 10 (1803)

Replication Case

Executing a build in a Windows Habitat Studio (no docker), failed due to validation of SSL while connecting to a on-prem artifactory instance during the InSpec step of the scaffolding, which requires a DigiCert intermediate CA cert. The cert needed is present in the .chef folder, and the system certificate store.
Resolved by creating custom cacert package, and adding wrapper to the effortless package for the SSL_CERT_FILE variable.

Build or Run Output

(did not save the entire run)
SSL_connect returned=1 errno=0 state=error: certificate verify failed (unable to get local issuer certificate) (OpenSSL::SSL::SSLError)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugDoes not work as expected.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions