Skip to content

Instantly share code, notes, and snippets.

@rahulremanan
Last active January 31, 2023 14:23
Show Gist options
  • Save rahulremanan/42845e8dc4ded55b99f7d79c49db8498 to your computer and use it in GitHub Desktop.
Save rahulremanan/42845e8dc4ded55b99f7d79c49db8498 to your computer and use it in GitHub Desktop.
Set OS access permissions and verify against the root certificate
!chmod 444 /root/ca/intermediate/certs/inter.cert.pem
!openssl x509 -noout -text \
-in /root/ca/intermediate/certs/inter.cert.pem | grep CA:
!openssl verify -CAfile /root/ca/certs/ca.cert.pem \
/root/ca/intermediate/certs/inter.cert.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment