aptly icon indicating copy to clipboard operation
aptly copied to clipboard

unable to fetch mirror

Open sapun opened this issue 10 years ago • 3 comments

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")

sapun avatar Nov 27 '15 14:11 sapun

This error comes from https:// certificate being not trusted. aptly is Go program, so it should read common certificates from OS.

smira avatar Dec 03 '15 10:12 smira

Probably good time to start using https://github.com/certifi/gocertifi

smira avatar Dec 03 '15 10:12 smira

At the same time it works perfectly on OS X.

smira avatar Dec 03 '15 10:12 smira