chaoss / grimoirelab-perceval

Send Sir Perceval on a quest to retrieve and gather data from software repositories.
http://perceval.readthedocs.io/
GNU General Public License v3.0
288 stars 176 forks source link

Peceval: configuration option for self-signed SSL certificate #826

Closed zemunk closed 11 months ago

zemunk commented 11 months ago

Type: Feature Request

Issue description: I am connecting to a GitHub Enterprise playground server as data source to fetch repositories. These playground servers are often not secured with a certificate from an official certification authority, but a self-signed one. This does not go well with git per default.

It is possible to configure git on the Perceval container to work with this certificate, but every time after the container is shut down, this configuration has to be re-done.

Request: If it is possible to do, it would be a major help to have a persistent configuration option to register this self-signed certificate, which is then picked up by the Perceval container on startup.

Error message example: image

sduenas commented 11 months ago

Why don't you use a volume to persist the data and the certificates?

sduenas commented 11 months ago

For docker you should use persistent volumes so you can reuse the certificates.

zemunk commented 11 months ago

Thank you for your suggestion, we will try it like this.