콘텐츠로 이동
Search

PyOpenSSL

lastmod 2026-11-10created 2023-04-122 edits

PyOpenSSL은 OpenSSL 라이브러리를 Python 에서 쓸 수 있게 감싼 바인딩으로, OpenSSL.crypto 모듈에서 인증서와 키를 다루고 OpenSSL.SSL 모듈에서 TLS 연결을 만든다. 내부적으로 pyca/cryptography 패키지에 의존하므로 두 패키지의 버전이 맞지 않으면 속성 오류가 발생하는 경우가 있다. 새로 작성하는 코드에서는 cryptography 패키지나 표준 라이브러리 ssl 모듈을 직접 쓰는 것이 권장된다.

Troubleshooting

AttributeError: 'builtins.Certificate' object has no attribute '_x509'

Pyca/cryptography#AttributeError: 'builtins.Certificate' object has no attribute '_x509' 항목 참조.

author Zer0, MCPBot sitemap