{
    "content": [
        {
            "type": "text",
            "text": "# openssl-verify (info)\n\n## NAME\n\nopenssl-verify - certificate verification command\n\n## SYNOPSIS\n\nopenssl verify [-help] [-CRLfile filename|uri] [-crldownload]\n[-showchain] [-verbose] [-trusted filename|uri] [-untrusted\nfilename|uri] [-vfyopt nm:v] [-nameopt option] [-CAfile file]\n[-no-CAfile] [-CApath dir] [-no-CApath] [-CAstore uri] [-no-CAstore]\n[-engine id] [-allowproxycerts] [-attime timestamp] [-nochecktime]\n[-checksssig] [-crlcheck] [-crlcheckall] [-explicitpolicy]\n[-extendedcrl] [-ignorecritical] [-inhibitany] [-inhibitmap]\n[-partialchain] [-policy arg] [-policycheck] [-policyprint]\n[-purpose purpose] [-suiteB128] [-suiteB128only] [-suiteB192]\n[-trustedfirst] [-noaltchains] [-usedeltas] [-authlevel num]\n[-verifydepth num] [-verifyemail email] [-verifyhostname hostname]\n[-verifyip ip] [-verifyname name] [-x509strict] [-issuerchecks]\n[-provider name] [-provider-path path] [-propquery propq] [--]\n[certificate ...]\n\n## DESCRIPTION\n\nThis command verifies certificate chains. If a certificate chain has\nmultiple problems, this program attempts to display all of them.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (7 subsections)\n- **DIAGNOSTICS**\n- **SEE ALSO**\n- **HISTORY**\n- **COPYRIGHT**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "openssl-verify",
        "section": "",
        "mode": "info",
        "summary": "openssl-verify - certificate verification command",
        "synopsis": "openssl verify [-help] [-CRLfile filename|uri] [-crldownload]\n[-showchain] [-verbose] [-trusted filename|uri] [-untrusted\nfilename|uri] [-vfyopt nm:v] [-nameopt option] [-CAfile file]\n[-no-CAfile] [-CApath dir] [-no-CApath] [-CAstore uri] [-no-CAstore]\n[-engine id] [-allowproxycerts] [-attime timestamp] [-nochecktime]\n[-checksssig] [-crlcheck] [-crlcheckall] [-explicitpolicy]\n[-extendedcrl] [-ignorecritical] [-inhibitany] [-inhibitmap]\n[-partialchain] [-policy arg] [-policycheck] [-policyprint]\n[-purpose purpose] [-suiteB128] [-suiteB128only] [-suiteB192]\n[-trustedfirst] [-noaltchains] [-usedeltas] [-authlevel num]\n[-verifydepth num] [-verifyemail email] [-verifyhostname hostname]\n[-verifyip ip] [-verifyname name] [-x509strict] [-issuerchecks]\n[-provider name] [-provider-path path] [-propquery propq] [--]\n[certificate ...]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Print out a usage message. -CRLfile filename|uri The file or URI should contain one or more CRLs in PEM or DER format. This option can be specified more than once to include CRLs from multiple sources."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Attempt to download CRL information for certificates via their CDP entries."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Display information about the certificate chain that has been built (if successful). Certificates in the chain that came from the untrusted list will be flagged as \"untrusted\"."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Print extra information about the operations being performed. -trusted filename|uri A file or URI of (more or less) trusted certificates. See openssl-verification-options(1) for more information on trust settings. This option can be specified more than once to load certificates from multiple sources. -untrusted filename|uri A file or URI of untrusted certificates to use for chain building. This option can be specified more than once to load certificates from multiple sources. -vfyopt nm:v Pass options to the signature algorithm during verify operations. Names and values of these options are algorithm-specific. -nameopt option This specifies how the subject or issuer names are displayed. See openssl-namedisplay-options(1) for details. -engine id See \"Engine Options\" in openssl(1). This option is deprecated. To load certificates or CRLs that require engine support, specify the -engine option before any of the -trusted, -untrusted or -CRLfile options. -CAfile file, -no-CAfile, -CApath dir, -no-CApath, -CAstore uri,"
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "See \"Trusted Certificate Options\" in openssl-verification-options(1) for details. -allowproxycerts, -attime, -nochecktime, -checksssig, -crlcheck, -crlcheckall, -explicitpolicy, -extendedcrl, -ignorecritical, -inhibitany, -inhibitmap, -noaltchains, -partialchain, -policy, -policycheck, -policyprint, -purpose, -suiteB128, -suiteB128only, -suiteB192, -trustedfirst, -usedeltas, -authlevel, -verifydepth,"
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Set various options of certificate chain verification. See \"Verification Options\" in openssl-verification-options(1) for details. -provider name -provider-path path -propquery propq See \"Provider Options\" in openssl(1), provider(7), and property(7). -- Indicates the last option. All arguments following this are assumed to be certificate files. This is useful if the first certificate filename begins with a -. certificate ... One or more target certificates to verify, one per file. If no certificates are given, this command will attempt to read a single certificate from standard input."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "openssl-verification-options",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/openssl-verification-options/1/json"
            },
            {
                "name": "openssl-x509",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/openssl-x509/1/json"
            },
            {
                "name": "osslstore-file",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/osslstore-file/7/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 15,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-help",
                        "lines": 7
                    },
                    {
                        "name": "-crl_download",
                        "lines": 3
                    },
                    {
                        "name": "-show_chain",
                        "lines": 4
                    },
                    {
                        "name": "-verbose",
                        "lines": 31
                    },
                    {
                        "name": "-no-CAstore",
                        "lines": 8
                    },
                    {
                        "name": "-verify_email, -verify_hostname, -verify_ip, -verify_name, -x509_strict",
                        "lines": 1
                    },
                    {
                        "name": "-issuer_checks",
                        "lines": 18
                    }
                ]
            },
            {
                "name": "DIAGNOSTICS",
                "lines": 21,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "HISTORY",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 8,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "openssl-verify - certificate verification command\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "openssl verify [-help] [-CRLfile filename|uri] [-crldownload]\n[-showchain] [-verbose] [-trusted filename|uri] [-untrusted\nfilename|uri] [-vfyopt nm:v] [-nameopt option] [-CAfile file]\n[-no-CAfile] [-CApath dir] [-no-CApath] [-CAstore uri] [-no-CAstore]\n[-engine id] [-allowproxycerts] [-attime timestamp] [-nochecktime]\n[-checksssig] [-crlcheck] [-crlcheckall] [-explicitpolicy]\n[-extendedcrl] [-ignorecritical] [-inhibitany] [-inhibitmap]\n[-partialchain] [-policy arg] [-policycheck] [-policyprint]\n[-purpose purpose] [-suiteB128] [-suiteB128only] [-suiteB192]\n[-trustedfirst] [-noaltchains] [-usedeltas] [-authlevel num]\n[-verifydepth num] [-verifyemail email] [-verifyhostname hostname]\n[-verifyip ip] [-verifyname name] [-x509strict] [-issuerchecks]\n[-provider name] [-provider-path path] [-propquery propq] [--]\n[certificate ...]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This command verifies certificate chains. If a certificate chain has\nmultiple problems, this program attempts to display all of them.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-help",
                        "content": "Print out a usage message.\n\n-CRLfile filename|uri\nThe file or URI should contain one or more CRLs in PEM or DER\nformat.  This option can be specified more than once to include\nCRLs from multiple sources.\n"
                    },
                    {
                        "name": "-crl_download",
                        "content": "Attempt to download CRL information for certificates via their CDP\nentries.\n"
                    },
                    {
                        "name": "-show_chain",
                        "content": "Display information about the certificate chain that has been built\n(if successful). Certificates in the chain that came from the\nuntrusted list will be flagged as \"untrusted\".\n"
                    },
                    {
                        "name": "-verbose",
                        "content": "Print extra information about the operations being performed.\n\n-trusted filename|uri\nA file or URI of (more or less) trusted certificates.  See\nopenssl-verification-options(1) for more information on trust\nsettings.\n\nThis option can be specified more than once to load certificates\nfrom multiple sources.\n\n-untrusted filename|uri\nA file or URI of untrusted certificates to use for chain building.\nThis option can be specified more than once to load certificates\nfrom multiple sources.\n\n-vfyopt nm:v\nPass options to the signature algorithm during verify operations.\nNames and values of these options are algorithm-specific.\n\n-nameopt option\nThis specifies how the subject or issuer names are displayed.  See\nopenssl-namedisplay-options(1) for details.\n\n-engine id\nSee \"Engine Options\" in openssl(1).  This option is deprecated.\n\nTo load certificates or CRLs that require engine support, specify\nthe -engine option before any of the -trusted, -untrusted or\n-CRLfile options.\n\n-CAfile file, -no-CAfile, -CApath dir, -no-CApath, -CAstore uri,"
                    },
                    {
                        "name": "-no-CAstore",
                        "content": "See \"Trusted Certificate Options\" in\nopenssl-verification-options(1) for details.\n\n-allowproxycerts, -attime, -nochecktime, -checksssig, -crlcheck,\n-crlcheckall, -explicitpolicy, -extendedcrl, -ignorecritical,\n-inhibitany, -inhibitmap, -noaltchains, -partialchain, -policy,\n-policycheck, -policyprint, -purpose, -suiteB128, -suiteB128only,\n-suiteB192, -trustedfirst, -usedeltas, -authlevel, -verifydepth,"
                    },
                    {
                        "name": "-verify_email, -verify_hostname, -verify_ip, -verify_name, -x509_strict",
                        "content": ""
                    },
                    {
                        "name": "-issuer_checks",
                        "content": "Set various options of certificate chain verification.  See\n\"Verification Options\" in openssl-verification-options(1) for\ndetails.\n\n-provider name\n-provider-path path\n-propquery propq\nSee \"Provider Options\" in openssl(1), provider(7), and property(7).\n\n--  Indicates the last option. All arguments following this are assumed\nto be certificate files. This is useful if the first certificate\nfilename begins with a -.\n\ncertificate ...\nOne or more target certificates to verify, one per file. If no\ncertificates are given, this command will attempt to read a single\ncertificate from standard input.\n"
                    }
                ]
            },
            "DIAGNOSTICS": {
                "content": "When a verify operation fails the output messages can be somewhat\ncryptic. The general form of the error message is:\n\nserver.pem: /C=AU/ST=Queensland/O=CryptSoft Pty Ltd/CN=Test CA (1024 bit)\nerror 24 at 1 depth lookup:invalid CA certificate\n\nThe first line contains the name of the certificate being verified\nfollowed by the subject name of the certificate. The second line\ncontains the error number and the depth. The depth is number of the\ncertificate being verified when a problem was detected starting with\nzero for the target (\"leaf\") certificate itself then 1 for the CA that\nsigned the target certificate and so on.  Finally a textual version of\nthe error number is presented.\n\nA list of the error codes and messages can be found in\nX509STORECTXgeterror(3); the full list is defined in the header\nfile <openssl/x509vfy.h>.\n\nThis command ignores many errors, in order to allow all the problems\nwith a certificate chain to be determined.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "openssl-verification-options(1), openssl-x509(1), osslstore-file(7)\n",
                "subsections": []
            },
            "HISTORY": {
                "content": "The -showchain option was added in OpenSSL 1.1.0.\n\nThe -engine option was deprecated in OpenSSL 3.0.\n",
                "subsections": []
            },
            "COPYRIGHT": {
                "content": "Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.\n\nLicensed under the Apache License 2.0 (the \"License\").  You may not use\nthis file except in compliance with the License.  You can obtain a copy\nin the file LICENSE in the source distribution or at\n<https://www.openssl.org/source/license.html>.\n\n3.0.2                             2026-06-02              OPENSSL-VERIFY(1SSL)",
                "subsections": []
            }
        }
    }
}