Mercurial > prosody-hg
comparison core/certmanager.lua @ 13294:4a05fbda927f
core.certmanager: Tweak log level of message about SNI being required
Everything supports SNI today, so this is not useful information.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 29 Oct 2023 21:31:07 +0100 |
| parents | 8fbdd878fcf6 |
| children | 05c0ac580552 |
comparison
equal
deleted
inserted
replaced
| 13293:ad1ed84fdf13 | 13294:4a05fbda927f |
|---|---|
| 320 end | 320 end |
| 321 local user_ssl_config = cfg:final(); | 321 local user_ssl_config = cfg:final(); |
| 322 | 322 |
| 323 if mode == "server" then | 323 if mode == "server" then |
| 324 if not user_ssl_config.certificate then | 324 if not user_ssl_config.certificate then |
| 325 log("info", "No certificate present in SSL/TLS configuration for %s. SNI will be required.", host); | 325 log("debug", "No certificate present in SSL/TLS configuration for %s. SNI will be required.", host); |
| 326 end | 326 end |
| 327 if user_ssl_config.certificate and not user_ssl_config.key then return nil, "No key present in SSL/TLS configuration for "..host; end | 327 if user_ssl_config.certificate and not user_ssl_config.key then return nil, "No key present in SSL/TLS configuration for "..host; end |
| 328 end | 328 end |
| 329 | 329 |
| 330 local ctx, err = cfg:build(); | 330 local ctx, err = cfg:build(); |
