Warning: session_start(): open(/tmp/sess_08fc6a2680d4486a21315877cbac8a9f, O_RDWR) failed: No space left on device (28) in /var/www/html/inc/init.php on line 265

Warning: session_start(): Failed to read session data: files (path: ) in /var/www/html/inc/init.php on line 265
Writing /var/www/html/data/log/error/2024-07-19.log failed

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/inc/init.php:265) in /var/www/html/inc/auth.php on line 432
Writing /var/www/html/data/log/error/2024-07-19.log failed

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/inc/init.php:265) in /var/www/html/inc/actions.php on line 38
retrieve_ssl_certificate_with_openssl [Ben's notes]

Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


retrieve_ssl_certificate_with_openssl

Retrieve SSL certificate with OpenSSL

You can retrieve the SSL CA certificate from for example LDAP or IMAP servers.

echo -n | openssl s_client -connect <server>:636 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > ldapserver.pem
retrieve_ssl_certificate_with_openssl.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1