Skip to main content

parse.certificates

Description

Parse certificates from files

Init

parse.certificates(path string)

List

[]network.certificate

Fields

IDTYPEDESCRIPTION
pathstringCertificate file path
filefileCertificate file
contentstringCertificate file content
list[]network.certificate

Examples

Parse Certificates from target file system

parse.certificates('/etc/ssl/cert.pem').list { issuer.dn }

Parse Certificates from content

parse.certificates(content: 'PEM CONTENT').list { issuer.dn }