Cloudctl is a command line tool to manage Container Application Software for Enterprises (CASE)
- Download either the zip or tar archives from the assets in releases
- Extract the archive
unzip <archive-name>
tar -xzf <archive-name>
There should be two files after extraction:
- cloudctl binary (e.g. cloudctl-darwin-amd64)
- cloudctl signature (e.g. cloudctl-darwin-amd64.sig)
The signature file is used for verification purposes
Download the following files from the assests in releases:
- cloudctl_cert.pub
- cloudctl_cert_chain0.pub
- cloudctl_cert_chain1.pub
openssl x509 -inform pem -in cloudctl_cert.pub -noout -text
openssl ocsp -no_nonce -issuer cloudctl_cert_chain0.pub -cert cloudctl_cert.pub -VAfile cloudctl_cert_chain0.pub -text -url http://ocsp.digicert.com -respout ocsptest
Should see a message that contains
Response verify OK
openssl ocsp -no_nonce -issuer cloudctl_cert_chain1.pub -cert cloudctl_cert_chain0.pub -VAfile cloudctl_cert_chain1.pub -text -url http://ocsp.digicert.com -respout ocsptest
Should see a message that contains
Response verify OK
Download the following file from the assests in releases:
- cloudctl_key.pub
openssl dgst -sha256 -verify cloudctl_key.pub -signature <cloudctl_signature_file> <binary_file>
e.g.
openssl dgst -sha256 -verify cloudctl_key.pub -signature cloudctl-darwin-amd64.sig cloudctl-darwin-amd64
Should see a message that contains
Verified OK