Certificate verification failed

2025. 4. 29. 10:40·Tips & theory
728x90
반응형

서론

학교나 회사 등에서 인증서 문제로 certification verification failed 오류가 발생하면...

빡친다.

해결 방법

결국 인증서가 없어서 그런 것이니, 인증서를 직접 생성하여 등록해주면 된다.

인증서 생성

openssl s_client -connect 사이트의주소:443 | tee cert_file

인증서 추가

cat cert_file >> /etc/ssl/certs/ca-certificates.crt

 

빡침 해결!

한 줄 알았는데 또 안되는 케이스가 있었음...

빡빡침.

아래와 같이 해결함

openssl s_client -connect 사이트주소:443 -showcerts </dev/null 2>/dev/null | awk '/BEGIN CERTIFICATE/,/END CERTIFICATE/ {print $0; if (/END CERTIFICATE/) print ""; }' > 적절한이름.crt
sudo cp 적절한이름.crt /usr/local/share/ca-certificates
sudo update-ca-certificates --fresh

 

빡빡침 해결!

 

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

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

arm 동적 디버깅  (0) 2025.05.01
team T4B pwnable 기초 - library  (0) 2024.01.02
team T4B pwnable 기초 - mitigation  (0) 2024.01.02
team T4B pwnable 기초 - format string bug  (0) 2024.01.02
team T4B pwnable 기초 - return oriented programming  (0) 2024.01.02
'Tips & theory' 카테고리의 다른 글
  • arm 동적 디버깅
  • team T4B pwnable 기초 - library
  • team T4B pwnable 기초 - mitigation
  • team T4B pwnable 기초 - format string bug
wyv3rn
wyv3rn
아저씨의 흔한 취미. wyv3rn#1249
  • wyv3rn
    think storage
    wyv3rn
  • 전체
    오늘
    어제
    • 분류 전체보기 (500) N
      • To do list (7) N
        • Doing (1) N
        • Complete (6)
      • Diary (35)
      • Tips & theory (77)
      • Kernel Exploit (27) N
        • Theory (15)
        • Exercise (5) 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 (41) N
        • Solved (39) N
        • Unsolved (2)
      • Script (0)
  • 블로그 메뉴

    • 홈
    • 방명록
  • 링크

  • 공지사항

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

  • 태그

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

  • 최근 글

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

티스토리툴바