我有一台运行Nexus的服务器,我可以访问Nexus并通过https(浏览器)下载工件而没有问题。
现在我想通过https:
使用wget
来获取工件
wget https://195.20.100.100:8081/repository/myrepo/com/myrepo/program/1.0-SNAPSHOT/program.tar.gz
它告诉我:
WARNING: cannot verify 195.20.100.100's certificate, issued by ‘/C=US/ST=Unspecified/L=Unspecified/O=Sonatype/OU=Example/CN=*.195.20.100.100’:
Self-signed certificate encountered.
Proxy request sent, awaiting response... 401 Unauthorized
Authorization failed.
我想知道我必须采取的确切步骤? 提前谢谢。
答案 0 :(得分:1)
这本身并不是Nexus Repository Manager问题,我相信你只需要做一些类似于这篇文章中的答案:wget, self-signed certs and a custom HTTPS server