大家的数据库启用SSl了吗?

29次阅读

共计 2178 个字符,预计需要花费 6 分钟才能阅读完成。

宝塔安装的 pgsql 数据库,死活配置 SSL 就启动不了,来一个 mjj 帮忙,10 块钱小费
ssl = on
#ssl_ca_file = ‘/www/wwwroot/sql/root_bundle.crt’
ssl_cert_file = ‘/www/wwwroot/sql/domain.crt’
#ssl_crl_file = ‘/www/wwwroot/sql/root_bundle.crt’
ssl_key_file = ‘/www/wwwroot/sql/privkey.key’
ssl_ciphers = ‘HIGH:MEDIUM:+3DES:!aNULL’ # allowed SSL ciphers
#ssl_prefer_server_ciphers = on
#ssl_ecdh_curve = ‘prime256v1’
#ssl_min_protocol_version = ‘TLSv1’
#ssl_max_protocol_version = ”
#ssl_dh_params_file = ”
#ssl_passphrase_command = ”
#ssl_passphrase_command_supports_reload = off
#—————————————-
2024-05-31 23:32:04.771 CST [7796] LOG:  listening on IPv4 address “0.0.0.0”, port 5432
2024-05-31 23:32:04.771 CST [7796] LOG:  listening on IPv6 address “::”, port 5432
2024-05-31 23:32:04.777 CST [7796] LOG:  listening on Unix socket “/tmp/.s.PGSQL.5432”
2024-05-31 23:32:04.787 CST [7796] LOG:  redirecting log output to logging collector process
2024-05-31 23:32:04.787 CST [7796] HINT:  Future log output will appear in directory “/www/server/pgsql/logs”.
2024-05-31 15:32:37.458 GMT [8038] LOG:  SSL is not supported by this build
2024-05-31 23:32:37.458 CST [8038] FATAL:  configuration file “/www/server/pgsql/data/postgresql.conf” contains errors
2024-05-31 15:36:55.792 GMT [9393] LOG:  SSL is not supported by this build
2024-05-31 23:36:55.793 CST [9393] FATAL:  configuration file “/www/server/pgsql/data/postgresql.conf” contains errors
2024-05-31 15:40:19.375 GMT [10511] LOG:  SSL is not supported by this build
2024-05-31 23:40:19.375 CST [10511] FATAL:  configuration file “/www/server/pgsql/data/postgresql.conf” contains errors
2024-05-31 15:40:46.362 GMT [10677] LOG:  SSL is not supported by this build
2024-05-31 23:40:46.362 CST [10677] FATAL:  configuration file “/www/server/pgsql/data/postgresql.conf” contains errors
2024-05-31 15:40:53.377 GMT [10759] LOG:  SSL is not supported by this build
2024-05-31 23:40:53.377 CST [10759] FATAL:  configuration file “/www/server/pgsql/data/postgresql.conf” contains errors
2024-05-31 15:52:51.898 GMT [19241] LOG:  SSL is not supported by this build
2024-05-31 23:52:51.898 CST [19241] FATAL:  configuration file “/www/server/pgsql/data/postgresql.conf” contains errors
2024-05-31 15:55:59.769 GMT [20351] LOG:  SSL is not supported by this build
2024-05-31 23:55:59.769 CST [20351] FATAL:  configuration file “/www/server/pgsql/data/postgresql.conf” contains errors

正文完
 0