blob: 995b6e4d2fb8ac3f34bbc399b14424c528c8d7a8 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001PRELIMINARY
2SYNOPSIS
3 void tls_refresh_certs()
4
5DESCRIPTION
6 Reload the certificates and certificate revocation information.
7
Zesstra715ec202025-07-09 22:18:31 +02008 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 User88f12472016-06-24 23:31:02 +020015
16HISTORY
17 Introduced in LDMud 3.3.714/3.2.15.
18
19SEE 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