MySQL. Ошибка с SSL

Для создания сертификатов использовал https://www.xmodulo.com/enable-ssl-mysql-server-client.html

Но получил это

Dec 24 16:40:12 ptero mariadbd[47120]: 2022-12-24 16:40:12 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
Dec 24 16:40:12 ptero mariadbd[47120]: 2022-12-24 16:40:12 0 [Note] Plugin 'FEEDBACK' is disabled.
Dec 24 16:40:12 ptero mariadbd[47120]: 2022-12-24 16:40:12 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work.
Dec 24 16:40:12 ptero mariadbd[47120]: SSL error: Unable to get private key from '/etc/mysql-ssl/server-key.pem'
Dec 24 16:40:12 ptero mariadbd[47120]: 2022-12-24 16:40:12 0 [ERROR] Failed to setup SSL
Dec 24 16:40:12 ptero mariadbd[47120]: 2022-12-24 16:40:12 0 [ERROR] SSL error: Unable to get private key
Dec 24 16:40:12 ptero mariadbd[47120]: 2022-12-24 16:40:12 0 [ERROR] Aborting
Dec 24 16:40:12 ptero systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE
Dec 24 16:40:12 ptero systemd[1]: mariadb.service: Failed with result 'exit-code'.
Dec 24 16:40:12 ptero systemd[1]: Failed to start MariaDB 10.10.2 database server.


Ответы (0 шт):