-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Push to a FF3 with self-signed certificate fails #30
Comments
Hey, my first impulse would be to try to get your operating system to accept the certificate. You can do this by either:
Does one of these ideas work for you? |
|
Sounds good. It could work similar to the import configs: If, on startup of the container, a certain file exists, import it into the certificate store. |
Hey,
thanks for creating great piece of software! 😃 🎉
I tried to set it up with my ff3 that sits behind a self-signed certificate. And that led to a problem - as can be expected.
Here's what happened:
I was able trace the configuration of Guzzle to the FF3 API support package and there to
/vendor/firefly-iii/api-support-classes/src/Request/Request..php
Line 260. Deactivating the certificate check with a horriblereturn new Client(['verify' => false]);
makes the importer work like a charm.Since this horrible hacky approach can't be the way forward some bit of configuration for the importer, e.g. "don't check certificates" or "use cert file at this path" would be very useful. I don't know if the FF3 API does have bits to configure this.
If it hasn't this will likely need a PR to the API and a PR to the importer, if if has them, one PR less.
As for the importer this could be one field in the config file.
What's your sentiment here? I can see if I can try my luck at PHP but I've touched that the last time in 2003...
The text was updated successfully, but these errors were encountered: