Closed BramVan-Oosterhout closed 3 weeks ago
I found the issue that was blocking the gateway server from starting. In the gateway server configuration (config_template.toml
line 10-13) it says:
[tls]
festivaslapp-root-ca = "/usr/local/festivals-gateway/ca.crt"
cert = "/usr/local/festivals-gateway/server.crt"
key = "/usr/local/festivals-gateway/server.key"
The cert
and key
must be CLIENT certificates. I thought certificates were certificates. But NO! There are client and server certificates. Providing the correct kind solved most of the problem.
The database must contain a service_key
for the server to start. I provided that with:
mysql -e "INSERT INTO festivals_identity_database.service_keys (service_key,service_key_comment) VALUES ('TEST_API_KEY_001',' just another guess as entry for test');"
I now have a docker container that starts mysql
, festivals-identity-server
and festivals-gateway
. You can see the details here.
And i learned a bit of go
along the way. :-)
OK. I admit. I am stuck.
The MySQL and festivals-identity-server are running.
The log says:
The gateway fails to start. The log says:
I cannot locate where this message originates
So I try:
It appears as if another certificate is required.
My config file is:
The certificates are created with:
And placed at:
So all seems OK to me. But it clearly is not. Any advice? No rush.