singularityhub / sregistry

server for storage and management of singularity images
https://singularityhub.github.io/sregistry
Mozilla Public License 2.0
103 stars 42 forks source link

Troubles login registry #368

Open mikygit opened 3 years ago

mikygit commented 3 years ago

Hello, I have the following error while trying to log into my registry using: singularity remote login MyRegistry

FATAL: Unable to get library client configuration: unable to get library service URI: error making request to server: Get "https://singulareg.xxx.com/assets/config/config.prod.json": x509: certificate signed by unknown authority

I suspect it is to do with the nginx certificates as I set up https but I checked with admins and it should be ok. Any ideas? Thanx.

nb: I managed to login the sregistry login page and get the tokens

vsoch commented 3 years ago

I think I’d read the error verbatim - you probably are using self signed certs and the Singularity client doesn’t like that. I’d jump onto the SingularityCE slack or just open an issue and ask if there is a workaround for that. I don’t think this is something we can do anything about from the sregistry side.