看前陣子FreeBSD 10.1 RC1出來,著手試試看重頭灌一台乾淨的FreeBSD 10.0起來,看看跟升級上去的差在哪
沒想到剛灌好,要抓個東西就開始噴錯了…用內建的fetch去抓github上面的config…結果:
Certificate verification failed for /C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3
675067228:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s3_clnt.c:1179:
fetch: https://raw.githubusercontent.com/PeterDaveHello/Unitial/master/gitconfig: Authentication error
把cert連一份到fetch需要讀的位置…
$ ln -s /usr/local/share/certs/ca-root-nss.crt /etc/ssl/cert.pem
搞定收工=__=