[PHP] openssl and TLS versions by PHP version

2025-07-10 KENNETH 0

PHP 버전별 OpenSSL / TLS 지원   1. PHP 버전별 지원 현황 PHP Support OpenSSL Support TLS 5.2.x OpenSSL 0.9.6 이상 TLS 1.0 까지만 (TLS 1.1/1.2 불가) 5.3.x OpenSSL 0.9.8 이상 TLS 1.0 (패치로 TLS 1.1 일부 지원 가능) 5.4.x OpenSSL 0.9.8 이상 TLS 1.0 / 1.1 (불안정) 5.5.x OpenSSL 1.0.1 이상 TLS 1.0 / 1.1 / 1.2 5.6.x OpenSSL 1.0.1 이상 TLS 1.0 / 1.1 / 1.2 7.0.x OpenSSL 1.0.1 이상 TLS 1.0 / 1.1 / 1.2 7.1.x OpenSSL 1.0.1 이상 TLS 1.0 / 1.1 / 1.2 7.2.x OpenSSL 1.0.2 이상 TLS 1.0 / 1.1 / 1.2 7.3.x OpenSSL 1.0.2 / 1.1.1 TLS 1.0 / 1.1 / 1.2 / (1.3 일부 지원) 7.4.x OpenSSL 1.1.1 필수 TLS 1.0~1.3 모두 지원 8.0.x OpenSSL 1.1.1 또는 3.0 TLS 1.0~1.3 모두 지원 8.1.x+ OpenSSL 1.1.1 / 3.0 TLS 1.0~1.3 (1.0/1.1 비활성 가능) [ more… ]

[은행] KB국민은행 기준 인증서 갱신시 UKFK0152 오류

2025-06-12 KENNETH 0

인증서 갱신 시점이 도래하여 갱신 절차를 진행중 오류코드와 함께 진행이 되지 않았던 상황을 정리함     상황 은행 : KB국민은행 인증서형태 : 공동인증서 (전통의 인증서 그것) OS : windows11 브라우저 : edge 프로그램설치 : 뱅킹관련 프로그램 모두 정상 설치   인증서 갱신을 위하여 기존 인증서 암호 입력 : PASS 은행보안카드(OTP) 번호 입력 : FAIL 진행하였으나   1. 에러 발생 OTP 코드 입력 과정에서 응답코드 (UKFK0152) 와 함께 오류 발생   2. 은행 방문 고객센터에 내용을 전달후 안내받은 대로 서류를 챙겨 은행을 내방하여 보안카드 변경 상황 확인 을 진행한 결과 실제로 OTP 입력시 잘못 들어갔다는 안내를 받음     3. 재시도 집에 복귀하여 재시도를 하던중 문득!!!! “키보드로 입력 한것이 문제일까?” 라는 생각이 들어 입력시 입력칸의 ‘입력값 보기 버튼’을 누르고 입력을 진행하자 입력 되는 숫자가 “1111” 이렇게만 보여지는 것을 확인함 오류에 의하여 8을 입력하였으나 1이 입력(표시) 된 것인지 특성상 무조건 1이 표기되도록 [ more… ]

[chrome] 업데이트를 확인하는 동안 오류가 발생했습니다. 9(오류 코드: 0).

2024-09-19 KENNETH 0

개요 Mac에서 구글 크롬 설치 후 업데이트를 시도할 때 오류 발생     에러 로그 로그파일 : /Users/Your_Account_Name/Library/Application Support/Google/GoogleUpdater/updater.log [3226:259:0919/005741.113215:VERBOSE1:updater.cc(331)] Version: 129.0.6651.0, opt, 64 bits, command line: /Applications/Google Chrome.app/Contents/Frameworks/Google Chrome Framework.framework/Versions/129.0.6668.59/Helpers/GoogleUpdater.app/Contents/MacOS/GoogleUpdater –install –enable-logging –vmodule=*/components/update_client/*=2,*/chrome/updater/*=2 [3226:259:0919/005741.114284:VERBOSE1:updater.cc(333)] OS version: 15.0.0, System uptime (seconds): 1933, parent pid: 2881 [3228:259:0919/005741.130649:VERBOSE1:updater.cc(331)] Version: 129.0.6651.0, opt, 64 bits, command line: /Applications/Google Chrome.app/Contents/Frameworks/Google Chrome Framework.framework/Versions/129.0.6668.59/Helpers/GoogleUpdater.app/Contents/MacOS/GoogleUpdater –crash-handler –database=/Users/Your_Account_Name/Library/Application Support/Google/GoogleUpdater/129.0.6651.0/Crashpad –url=https://clients2.google.com/cr/report –annotation=prod=Update4 –annotation=ver=129.0.6651.0 –handshake-fd=5 –enable-logging –vmodule=*/components/update_client/*=2,*/chrome/updater/*=2 [3228:259:0919/005741.131483:VERBOSE1:updater.cc(333)] OS version: 15.0.0, System uptime (seconds): 1933, parent pid: 1 [3226:259:0919/005741.135794:VERBOSE1:crash_reporter.cc(121)] Crash handler launched and ready. [3226:259:0919/005741.136759:VERBOSE1:crash_client.cc(106)] Found 0 completed crash reports [3226:259:0919/005741.136872:VERBOSE1:crash_client.cc(124)] Found 0 pending crash reports [3226:259:0919/005741.137786:VERBOSE1:updater.cc(101)] Crash reporting initialized. [3226:259:0919/005741.140023:VERBOSE1:update_service_proxy_posix.cc(230)] GetVersion [3226:259:0919/005741.140056:VERBOSE1:update_service_proxy_posix.cc(435)] EnsureConnecting [3226:12291:0919/005741.140940:VERBOSE1:update_service_proxy_posix.cc(202)] Failed to connect to UpdateService remote. No updater exists. [3226:259:0919/005741.140970:VERBOSE1:update_service_proxy_posix.cc(395)] OnConnected [3226:259:0919/005741.141018:VERBOSE1:update_service_proxy_posix.cc(230)] GetVersion [3226:259:0919/005741.141034:VERBOSE1:update_service_proxy_posix.cc(435)] EnsureConnecting [3226:12291:0919/005741.141161:VERBOSE1:update_service_proxy_posix.cc(202)] Failed to connect to UpdateService remote. No updater exists. [3226:259:0919/005741.141238:VERBOSE1:update_service_proxy_posix.cc(395)] OnConnected [3226:259:0919/005741.141259:VERBOSE1:update_service_proxy_posix.cc(230)] GetVersion [3226:259:0919/005741.141272:VERBOSE1:update_service_proxy_posix.cc(435)] EnsureConnecting [3226:12291:0919/005741.141369:VERBOSE1:update_service_proxy_posix.cc(202)] Failed to connect to [ more… ]

[LINUX] DB access fails on PHP webpage, but CLI succecess on rhel (by selinux)

2024-09-03 KENNETH 0

  증상 PHP스크립트 내에 DB(mysql) 커넥션을 수행시 오류 발생 터미널 상에서 CLI를 이용한 실행 : OK 웹페이지(웹서버)를 통한 실행 : FAIL CLI실행시 문제가 없음 → PHP 코드 내의 “DB접속정보 (host/id/pass/dbname)”는 오류가 없음       원인 및 문제 여부 확인 SELinux 정책에 의한 문제 기본적으로 제한되어 있는것으로 보여짐 결과적으로 문제는 발생하였으나, 이것이 httpd, php 측에서 발생한 에러가 아니다보니 웹서버 및 브라우저 측면에서는 정확하거나 신속하게 확인이 되지 않음 때문에 “감사시스템로그(audit.log)” 에서 확인해야 함 1. 로그 file : /var/log/audit/audit.log     2. 로그확인 exec : audit2why       해결   1. SELinux 의 정책 설정 변경 exec : setsebool setsebool -P httpd_can_network_connect 1 setsebool -P httpd_can_network_connect_db 1   httpd_can_network_connect : HTTP 스크립트 및 모듈의 네트워크 또는 원격 포트에 대한 연결 허용 여부 httpd_can_network_connect_db : HTTP 스크립트 및 모듈의 DB서버에 대한 연결 허용 여부 httpd_can_network_connect 항목을 활성화 해주면 httpd_can_network_connect_db 항목이 “off” 상태로 [ more… ]