Open sapun opened 8 years ago
This error comes from https:// certificate being not trusted. aptly is Go program, so it should read common certificates from OS.
Probably good time to start using https://github.com/certifi/gocertifi
At the same time it works perfectly on OS X.
I am trying create mirror gitlab repo, but see this error.
~$ aptly mirror create gitlab https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/ trusty Downloading https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/dists/trusty/InRelease... Downloading https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/dists/trusty/Release... ERROR: unable to fetch mirror: https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/dists/trusty/Release: Get https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/dists/trusty/Release: x509: certificate signed by unknown authority (possibly because of "x509: cannot verify signature: algorithm unimplemented" while trying to verify candidate authority certificate "COMODO RSA Certification Authority")