]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Documenting CRL download usage and restrictions
authorDmitry Belyavskiy <beldmit@gmail.com>
Fri, 4 Oct 2024 15:06:38 +0000 (17:06 +0200)
committerTomas Mraz <tomas@openssl.org>
Tue, 8 Oct 2024 13:59:38 +0000 (15:59 +0200)
Fixes #25603

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25608)

doc/man1/openssl-s_client.pod.in
doc/man3/X509_load_http.pod

index 2a4f548d0721752b141301fab92d2616f7aa4863..75934e714b385702f54583e63dfc6f7d8915d0dd 100644 (file)
@@ -279,7 +279,9 @@ See L<openssl-format-options(1)> for details.
 
 =item B<-crl_download>
 
-Download CRL from distribution points in the certificate.
+Download CRL from distribution points in the certificate. Note that this option
+is ignored if B<-crl_check> option is not provided. Note that the maximum size
+of CRL is limited by L<X509_CRL_load_http(3)> function.
 
 =item B<-key> I<filename>|I<uri>
 
index a147c43caa3fde07f5f81aabfe05e0b189bd47c6..e17330b05587f73cb896d98bfedf4665b130f8e8 100644 (file)
@@ -27,6 +27,9 @@ see L<openssl_user_macros(7)>:
 X509_load_http() and X509_CRL_load_http() loads a certificate or a CRL,
 respectively, in ASN.1 format using HTTP from the given B<url>.
 
+Maximum size of the HTTP response is 100 kB for certificates and 32 MB for CRLs
+and hard coded in the functions.
+
 If B<bio> is given and B<rbio> is NULL then this BIO is used instead of an
 internal one for connecting, writing the request, and reading the response.
 If both B<bio> and B<rbio> are given (which may be memory BIOs, for instance)