On 11/16/2016 02:37 PM, Paul Sture wrote:
<snip/>
> The problem here is that no certificates are installed in the Global 
> Zone.[1]
> 
> Options available:
> 
> - use 'curl -k' to download without a certificate check. In this case,
> do check the downloaded file against the published md5 checksums.[2]
> 
> - perform the download inside a native SmartOS zone. As far as I can 
> tell,
> all the base-64 and min-64 images come with certificates pre-installed.
> 
> [1] Does anyone know how to install certificates in the GZ (without installing
> pkgsrc first)?

Actually what I do is:

1.  cp -p
/zones/<some-zone>/root/opt/local/share/mozilla-rootcerts/cacert.pem
/usbkey/moz-cacert.pem

2. use 'curl --cacert /usbkey/moz-cacert.pem ...'
   (or  'wget --ca-certificate=/usbkey/moz-cacert.pem ...')

HTH

Attila



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to