munkireport / munkireport-php

A reporting tool for munki
MIT License
392 stars 138 forks source link

Error using SSL #1545

Open InsulT opened 2 months ago

InsulT commented 2 months ago

Hey everyone,

when I run ./please migrate and SSL configured I get the following error:

In Connection.php line 795:

SQLSTATE[HY000] [2002] Cannot connect to MySQL using SSL (Connection: default, SQL: select * from information_schema.tables where table_schema = munkireportdb and table_name = migrations and table_type = 'BASE TABLE')

In Connector.php line 65:

SQLSTATE[HY000] [2002] Cannot connect to MySQL using SSL

In Connector.php line 65:

PDO::__construct(): Unable to set private key file `/home/site/munkireport/ssl/BaltimoreCyberTrustRoot.crt.pem'

It works fine without SSL.... the file is in the correct folder...

What could be the problem?