gem ssl verification error

2023. 8. 16. 14:03·Tips & theory
728x90
반응형

3연타 에러... ㅋㅋㅋㅋㅋ

gem은 아래와 같이 해결 가능하다.

오류가 뜨긴 하는데 설치 됨.

wyv3rn:~$ sudo gem install one_gadget --source http://rubygems.org
ERROR:  SSL verification error at depth 1: self-signed certificate in certificate chain (19)
ERROR:  Root certificate is not trusted (/C=KR/ST=Seoul/L=Guro/O=MonitorApp Corporation/OU=MonitorApp AISWG/CN=MonitorApp Root Certificate Authority (AISWG))
ERROR:  SSL verification error at depth 1: self-signed certificate in certificate chain (19)
ERROR:  Root certificate is not trusted (/C=KR/ST=Seoul/L=Guro/O=MonitorApp Corporation/OU=MonitorApp AISWG/CN=MonitorApp Root Certificate Authority (AISWG))
ERROR:  SSL verification error at depth 1: self-signed certificate in certificate chain (19)
ERROR:  Root certificate is not trusted (/C=KR/ST=Seoul/L=Guro/O=MonitorApp Corporation/OU=MonitorApp AISWG/CN=MonitorApp Root Certificate Authority (AISWG))
ERROR:  SSL verification error at depth 1: self-signed certificate in certificate chain (19)
ERROR:  Root certificate is not trusted (/C=KR/ST=Seoul/L=Guro/O=MonitorApp Corporation/OU=MonitorApp AISWG/CN=MonitorApp Root Certificate Authority (AISWG))
Fetching bindata-2.4.15.gem
Fetching elftools-1.1.3.gem
Fetching one_gadget-1.8.1.gem
Successfully installed bindata-2.4.15
Successfully installed elftools-1.1.3
Successfully installed one_gadget-1.8.1
Parsing documentation for bindata-2.4.15
Installing ri documentation for bindata-2.4.15
Parsing documentation for elftools-1.1.3
Installing ri documentation for elftools-1.1.3
Parsing documentation for one_gadget-1.8.1
Installing ri documentation for one_gadget-1.8.1
Done installing documentation for bindata, elftools, one_gadget after 3 seconds
WARNING:  Unable to pull data from 'https://rubygems.org/': SSL_connect returned=1 errno=0 peeraddr=151.101.65.227:443 state=error: certificate verify failed (self-signed certificate in certificate chain) (https://rubygems.org/specs.4.8.gz)
3 gems installed

 

만일 그래도 안되면 

wyv3rn:~$ vi ~/.gemrc

파일에

:ssl_verify_mode: 0

한줄만 추가하자.

728x90
반응형
저작자표시 비영리 변경금지 (새창열림)

'Tips & theory' 카테고리의 다른 글

vs code - wsl 연동 간 certificate error 발생 시.  (0) 2023.08.18
curl ssl certificate problem  (0) 2023.08.16
git certificate fail  (0) 2023.08.16
pip certificate error  (0) 2023.08.16
format string bug - 스택의 값을 출력 값으로 쓸 수 없을까?  (0) 2023.07.02
'Tips & theory' 카테고리의 다른 글
  • vs code - wsl 연동 간 certificate error 발생 시.
  • curl ssl certificate problem
  • git certificate fail
  • pip certificate error
wyv3rn
wyv3rn
아저씨의 흔한 취미. wyv3rn#1249
  • wyv3rn
    think storage
    wyv3rn
  • 전체
    오늘
    어제
    • 분류 전체보기 (496) N
      • To do list (6)
        • Doing (0)
        • Complete (6)
      • Diary (35)
      • Tips & theory (77)
      • Kernel Exploit (25) N
        • Theory (15)
        • Exercise (3) N
      • Wargame (313)
        • pwn.college (34)
        • Dreamhack (148)
        • pwnable.kr (15)
        • Lord of Sqlinjection (3)
        • Cryptohack (20)
        • Root me (27)
        • CodeEngn (4)
        • Exploit Education (22)
        • ROP Emporium (8)
        • H4C (10)
        • Hackerchool (22)
      • CTF (40)
        • Solved (38)
        • Unsolved (2)
      • Script (0)
  • 블로그 메뉴

    • 홈
    • 방명록
  • 링크

  • 공지사항

    • PWN wargame 모음 (및 느낀점)
    • 비공개 글들에 대해.
    • 뭐라도 하나 얻어가시길...
  • 인기 글

  • 태그

    RTL
    x86
    root-me
    root
    docker
    ROOT ME
    32bit
    libc
    Buffer Overflow
    exploit education
    rop
    x64
    heap
    vtable
    cryptohack
    lob
    pwnable.kr
    _IO_FILE
    64bit
    FSB
    dreamhack
    CANARY
    hackerschool
    Format String Bug
    BOF
    Me
    la ctf
    tcache
    pwntools
    phoenix
  • 최근 댓글

  • 최근 글

  • 250x250
    반응형
  • hELLO· Designed By정상우.v4.10.3
wyv3rn
gem ssl verification error
상단으로

티스토리툴바