S2W Quaxar

Download 107
Last updated Jul 31, 2026

quaxar-asm-certificate

Get the detail of a single certificate by certificate ID from the S2W Quaxar ASM service.

Syntax

quaxar-asm-certificate id=STRING [profile=STRING] [orgs=STRING] [pretty=BOOL]

Options

id=STRING
Required. Certificate unique ID to look up. Use the certificate_id output value of quaxar-asm-certificates.
profile=STRING
Optional. QUAXAR connect profile code. If omitted, an available profile is used automatically.
orgs=STRING
Optional. Comma-separated customer organization names.
pretty=BOOL
Optional. Set t to enable pretty print with line breaks (default: f).

Output fields

FieldTypeNameDescription
profilestringConnect profileProfile name of QUAXAR
certificate_idstringCertificate IDCertificate unique ID
hiddenbooleanHiddenCertificate hidden or not
serialstringSerialCertificate serial number
detecteddateDetectedCertificate detection time
valid_sincedateValid sinceCertificate issue time
valid_untildateValid untilCertificate expiration time
signature_algorithmstringSignature algorithmCertificate signature algorithm
public_keystringPublic keyCertificate public key
organizationstringOrganizationCertificate organization
altnamesstringAlt namesNewline-separated certificate alt names
statusstringStatusVALID, INVALID, SOON_EXPIRED or EXPIRED
issuerstringIssuerCertificate issuer
subjectstringSubjectCertificate subject

Error codes

Parsing errors

Error messageCauseResolution
Specify id option please.Missing or empty id optionSpecify the target certificate_id in id
Specify valid Quaxar profile.Invalid profile in the profile optionSpecify a valid Quaxar connect profile code
No available Quaxar profile found.No Quaxar connect profile registeredRegister a Quaxar connect profile first

Runtime errors

Error messageCauseResolution
quaxar asm api error: status=..., message=...ASM API returned an error stateCheck id validity, profile permission and service

Description

quaxar-asm-certificate is a source command that looks up the detail of a single certificate ID. It returns detailed fields not provided by the list command, such as serial, issue/expiration time, signature algorithm, public key, and subject alternative names (SAN). The certificate ID comes from the certificate_id output value of the quaxar-asm-certificates command.

Examples

Example: Inspect signature and validity detail of a certificate

Situation: You want to inspect the signature algorithm and subject alternative names (SAN) of a soon-to-expire certificate found in the list.

quaxar-asm-certificate id=cert-1a2b3c

Expected result:

certificate_idstatussignature_algorithmvalid_untilaltnames
cert-1a2b3cSOON_EXPIREDSHA256-RSA2026-08-10 00:00:00example.com

Interpretation: The detail fields of a single certificate are returned as one row. Use altnames to check the domain scope this certificate protects and signature_algorithm to review the cryptographic strength.