Add showCertificate to other-functions

This commit is contained in:
Shaun Struwig 2024-05-05 03:51:42 +02:00 committed by GitHub
parent 7ac5821a23
commit ead13c52e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3301,3 +3301,13 @@ The setting is not enabled by default for security reasons, because some headers
HTTP headers are case sensitive for this function.
If the function is used in the context of a distributed query, it returns non-empty result only on the initiator node.
## showCertificate
Shows the current server's SSL certificate if it has been configured.
**Syntax**
```sql
showCertificate()
```