MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 1 | PRELIMINARY |
| 2 | SYNOPSIS |
| 3 | void tls_refresh_certs() |
| 4 | |
| 5 | DESCRIPTION |
| 6 | Reload the certificates and certificate revocation information. |
| 7 | |
Zesstra | 715ec20 | 2025-07-09 22:18:31 +0200 | [diff] [blame] | 8 | If there are no key and certificate files to be found, this efun |
| 9 | will keep the current keys and certificates, to keep TLS working. |
| 10 | CAs and CRLs are cleared and reloaded in any case. |
| 11 | |
| 12 | Note that when using GnuTLS a call to tls_refresh_certs() |
| 13 | while a connection is in the middle of a TLS handshake might |
| 14 | result in a wrong key to be used. |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 15 | |
| 16 | HISTORY |
| 17 | Introduced in LDMud 3.3.714/3.2.15. |
| 18 | |
| 19 | SEE ALSO |
| 20 | tls_init_connection(E), tls_deinit_connection(E), tls_error(E), |
| 21 | tls_query_connection_state(E), tls_query_connection_info(E), |
| 22 | tls_available(E), tls_check_certificate(E), mudlib/psyc-tls.c |