OpenSSL generate_host_certificate(): Use X509_get_subject_name()
authorFabian Keil <fk@fabiankeil.de>
Tue, 9 Aug 2022 06:31:25 +0000 (08:31 +0200)
committerFabian Keil <fk@fabiankeil.de>
Sun, 2 Oct 2022 07:47:48 +0000 (09:47 +0200)
commitb574731be3564ad383b96642877ee66c7e7917fb
tree9b47f9871967d76bbfa23ea9e9264d595ea0461d
parent7f2b72fc45b7737b43be3bcbeeb3425cb341b27e
OpenSSL generate_host_certificate(): Use X509_get_subject_name()

... instead of X509_get_issuer_name() to get the issuer for generated
website certificates so there are no warnings in the browser when using
an intermediate CA certificate instead of a self-signed root certificate.

Problem reported and patch submitted by Chakib Benziane.
openssl.c