Certificate wrong for mercurial repository
I tried to clone my newly created mercurial repository with:
hg clone https://hg.java.net/hg/simplestub~hg
but received the error:
abort: hg.java.net certificate error: certificate is for www.java.net (use --insecure to connect insecurely)
Obviously, I can just follow the suggested workaround, but doesn't that defeat the whole idea of using certificates?