Назад | Перейти на главную страницу

Не удается запустить сервер Fabric-CA с использованием самоподписанного сертификата ssl

[INFO] Configuration file location: /home/trinayan/Documents/biltinetwork/newca/fabric-ca-server-config.yaml
[INFO] Starting server in home directory: /home/trinayan/Documents/biltinetwork/newca
[WARNING] Unknown provider type: ; metrics disabled
 [INFO] Server Version: 1.4.2
 [INFO] Server Levels: &{Identity:2 Affiliation:1 Certificate:1 Credential:1 RAInfo:1 Nonce:1}
[INFO] The CA key and certificate already exist
[INFO] The key is stored by BCCSP provider 'SW'
[INFO] The certificate is at: /home/trinayan/Documents/biltinetwork/newca/ca-cert.pem
[ERROR] Error occurred initializing database: Failed to connect to MySQL database: x509: certificate is valid for MySQL_Server_5.7.27_Auto_Generated_Server_Certificate, not localhost
[INFO] Home directory for default CA: /home/trinayan/Documents/biltinetwork/newca
[INFO] Operation Server Listening on [::]:45977
[INFO] Listening on http://0.0.0.0:7054

Это журналы моей службы, и они показывают:

Error occurred initializing database: Failed to connect to MySQL database: x509: certificate is valid for MySQL_Server_5.7.27_Auto_Generated_Server_Certificate, not localhost