
๐ [OpenSSL] SSL ์ธ์ฆ์ ๋ง๋ฃ ํ์ธ
OpenSSL ์ค์น
[ WINDOWS ] Open SSL ์ค์น
https://slproweb.com/products/Win32OpenSSL.html Win32/Win64 OpenSSL Installer for Windows - Shining Light ProductionsMinimum system requirements: Windows XP or later 32MB RAM 200MHz CPU 30MB hard drive space Recommended system requirements: Windows XP or l
euntry.tistory.com
๐ ์ธ์ฆ์ ๋ง๋ฃ์ผ ํ์ธ ๋ช ๋ น์ด
openssl pkcs12 -in [์ธ์ฆ์ํ์ผ๋ช
.p12] -nokeys | openssl x509 -noout -dates
- -in: ์ ๋ ฅํ ์ธ์ฆ์ ํ์ผ
- -nokeys: ๊ฐ์ธํค ์ ์ธ
- -noout -dates: ๋ ์ง๋ง ์ถ๋ ฅ
๋ช ๋ น์ด ์ ๋ ฅ ํ ์ธ์ฆ์ ํจ์ค์๋ ์ ๋ ฅ
์ถ๋ ฅ ์์
notBefore=Jan 1 00:00:00 2024 GMT
notAfter=Dec 31 23:59:59 2025 GMT
๐ง ์ค๋ฅ ๋ฐ์
OpenSSL 3.0 ์ด์์์ ๋ค์๊ณผ ๊ฐ์ ์ค๋ฅ๊ฐ ๋ฐ์ํ ์ ์๋ค
Error outputting keys and certificates
D05A0000:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto\evp\evp_fetch.c:375:Global default library context, Algorithm (RC2-40-CBC : 0), Properties ()
Could not find certificate from <stdin>
์ด ์ค๋ฅ๋ RC2์ ๊ฐ์ Legacy Provider ์๊ณ ๋ฆฌ์ฆ์ด ๊ธฐ๋ณธ์ ์ผ๋ก ๋นํ์ฑํ๋ ๊ฒฝ์ฐ ๋ฐ์..
๐ ๏ธ ํด๊ฒฐ ๋ฐฉ๋ฒ
Legacy Provider ์๋ ๋ก๋ ๋ช ๋ น์ด ์ฌ์ฉ
openssl pkcs12 -legacy -in test.p12 -nokeys | openssl x509 -noout -dates
- -legacy: Legacy Provider ํ์ฑํ
๋ฌธ์ ์์์ ์ธ์ฆ์ ํจ์ค์๋๋ฅผ ๋ฌป๋ ๋ฌธ๊ตฌ๊ฐ ์ถ๋ ฅ๋๋ค
ํจ์ค์๋ ์ ๋ ฅ ํ ์ ์ ์ถ๋ ฅ ํ์ธ ๊ฐ๋ฅ
ํ์ง๋ง ๋๋.. ๋ค์ ์ค๋ฅ ๋ฐ์..
๐ง ์ค๋ฅ ๋ฐ์
list: unable to load provider legacy
Hint: use -provider-path option or OPENSSL_MODULES environment variable.
88030000:error:12800067:DSO support routines:win32_load:could not load the shared library:crypto\dso\dso_win32.c:108:filename(C:\Program Files\OpenSSL\lib\ossl-modules\legacy.dll)
88030000:error:12800067:DSO support routines:DSO_load:could not load the shared library:crypto\dso\dso_lib.c:147:
88030000:error:07880025:common libcrypto routines:provider_init:reason(37):crypto\provider_core.c:1019:name=legacy
์ด ์ค๋ฅ๋ legacy.dll ํ์ผ์ ์ฐพ์ง ๋ชปํ๋ ๊ฒฝ์ฐ..
OpenSSL ์ค์น ๊ฒฝ๋ก๋ก ์ ๊ทผํ์ฌ legacy.dll ํ์ผ ์ฐพ๊ธฐ
(๋ ๊ฐ์ ๊ฒฝ์ฐ bin ํด๋ ํ์์ ์์์..)
๐ ๏ธ ํด๊ฒฐ ๋ฐฉ๋ฒ (2๊ฐ์ง)
1. OPENSSL_MODULES ํ๊ฒฝ ๋ณ์ ์ค์
2. -provider-path ์ต์ ์ฌ์ฉ
openssl pkcs12 -provider-path "C:\Program Files\OpenSSL-Win64\bin" -legacy -in test.p12 -nokeys | openssl x509 -noout -dates
- -provider-path: legacy.dll ํ์ผ์ด ์๋ ํด๋๋ฅผ ์ง์ ์ง์
์ถ๋ ฅ ์์
notBefore=Jan 1 00:00:00 2024 GMT
notAfter=Dec 31 23:59:59 2025 GMT
ํด๋น ๋ช ๋ น์ด ์ฌ์ฉ์ผ๋ก ์ ์ ์ถ๋ ฅ ํ์ธ
'Back-end > Server' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
| [ WINDOWS ] Open SSL ์ค์น (0) | 2025.05.13 |
|---|---|
| [ TMDB ] API search ์๋ํฌ์ธํธ ์ฌ์ฉํ๊ธฐ (3) | 2024.12.18 |
| [ TMDB ] API KEY ๋ฐ๊ธํ๊ธฐ (2) | 2024.12.11 |
| [ YoutubeAPI ] YouTube Data API v3: /search list ๋ฉ์๋ ์ฌ์ฉ ํ๊ธฐ (8) | 2024.12.04 |
| [ YoutubeAPI ] API KEY ๋ฐ๊ธํ๊ธฐ (3) | 2024.11.29 |