X509(7ossl)
β¨ NAME β¨
x509 β X.509 certificate handling. Welcome to the OpenSSL 7ossl manual page, bestie β this is where all the certificate lore lives. π
πΈ SYNOPSIS πΈ
#include <openssl/x509.h>
π¦ DESCRIPTION π¦
Okay so picture an X.509 certificate: itβs a structured grouping of information about an individual, a device, or literally anything one can imagine. Iconic little info bundle, no cap. An X.509 CRL β thatβs a certificate revocation list β is a tool to help determine if a certificate is still valid. The exact definition of those can be found in the X.509 document from ITU-T, or in RFC3280 from PKIX. In OpenSSL, the type X509 is used to express such a certificate, and the type X509_CRL is used to express a CRL. π
A related structure is a certificate request, defined in PKCS#10 from RSA Security, Inc, also reflected in RFC2896. In OpenSSL, the type X509_REQ is used to express such a certificate request. π
To handle some complex parts of a certificate, there are the types X509_NAME (to express a certificate name), X509_ATTRIBUTE (to express a certificate attribute), X509_EXTENSION (to express a certificate extension) and a few more. β¨
Finally, thereβs the supertype X509_INFO, which can contain a CRL, a certificate and a corresponding private key. Main character energy fr fr. π
The X509_XXX, d2i_X509_XXX, and i2d_X509_XXX functions handle X.509 certificates, with some exceptions, shown below. π«Ά
The X509_CRL_XXX, d2i_X509_CRL_XXX, and i2d_X509_CRL_XXX functions handle X.509 CRLs. π
The X509_REQ_XXX, d2i_X509_REQ_XXX, and i2d_X509_REQ_XXX functions handle PKCS#10 certificate requests. π
The X509_NAME_XXX functions handle certificate names. π
The X509_ATTRIBUTE_XXX functions handle certificate attributes. π§
The X509_EXTENSION_XXX functions handle certificate extensions. β
π₯ SEE ALSO π₯
X509_NAME_ENTRY_get_object(3)X509_NAME_add_entry_by_txt(3)X509_NAME_add_entry_by_NID(3)X509_NAME_print_ex(3)X509_NAME_new(3)PEM_X509_INFO_read(3)d2i_X509(3)d2i_X509_ALGOR(3)d2i_X509_CRL(3)d2i_X509_NAME(3)d2i_X509_REQ(3)d2i_X509_SIG(3)crypto(7)
π COPYRIGHT π
Legal bestie moment β hereβs the exact text, preserved with love:
Copyright 2003-2021 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use
this file except in compliance with the License. You can obtain a copy
in the file LICENSE in the source distribution or at
<https://www.openssl.org/source/license.html>.
Okay bye bestie β this iconic little page is OpenSSL 3.5.9, dated 2026-09-29, and its official manual tag is X509(7ossl). Slay. π
β¨
π¦ where this page comes from
- alpine 3.23: openssl-doc 3.5.9-r0 Β· Apache-2.0
- alpine 3.24: openssl-doc 3.5.9-r0 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms