tips & tricks

[ERR] The certificate of `raw.github.com' is not trusted.

manywaypark 2014. 1. 13. 14:38

그냥 간단하게 미리 빌드된 rebarwget을 써서 가져다 쓰려고 했는데 다음과 같은 에러가 나면서 아예 받아오지를 못했다.

$ wget https://raw.github.com/wiki/rebar/rebar/rebar && chmod u+x rebar

--2014-01-13 14:27:23--  https://raw.github.com/wiki/rebar/rebar/rebar

Resolving raw.github.com (raw.github.com)... 103.245.222.133

Connecting to raw.github.com (raw.github.com)|103.245.222.133|:443... connected.

ERROR: The certificate of `raw.github.com' is not trusted.

ERROR: The certificate of `raw.github.com' hasn't got a known issuer.


--no-check-certificate 옵션을 추가하면 해결되는데, 원래는 이렇게 쓰면 안될거같은데... 

$ wget --no-check-certificate https://raw.github.com/wiki/rebar/rebar/rebar && chmod u+x rebar


happy hackin'


2015-01-16: ca-certificates 패키지 까는 것이 정공법이다.