When using a self hosted git repository using a self signed certificate it is not possible to use e.g. io.kestra.plugin.git.Sync.
Error:
2024-04-01 23:26:14.327
https://MYGITEA/MYUSER/Kestra-Test: Secure connection to https://MYGITEA/MYUSER/Kestra-Test could not be established because of SSL problems
2024-04-01 23:26:14.327
https://MYGITEA/MYUSER/Kestra-Test: Secure connection to https://MYGITEA/MYUSER/Kestra-Test could not be established because of SSL problems
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
unable to find valid certification path to requested target
I cannot find a way to trust the certificate.
Normally I would use
git config --global http.sslCAInfo ~/.git-certs/cert.pem
Possible solution:
Property to trusted certificate in io.kestra.plugin.git.*
Feature description
When using a self hosted git repository using a self signed certificate it is not possible to use e.g. io.kestra.plugin.git.Sync.
I cannot find a way to trust the certificate. Normally I would use
git config --global http.sslCAInfo ~/.git-certs/cert.pem
Possible solution: Property to trusted certificate in io.kestra.plugin.git.*