Posts

Showing posts with the label 인증서

com.gpki.secureweb.GPKISecureWEBException: ErrCode=1507,ErrMsg=[GPKI_CMS_ProcessEnvelopedData] 해당 인증서로는 데이터를 풀 수 없습니다.

om.gpki.secureweb.GPKISecureWEBException: ErrCode=1507,ErrMsg=[GPKI_CMS_ProcessEnvelopedData] 해당 인증서로는 데이터를 풀 수 없습니다. at com.gpki.servlet.GPKIHttpServletRequest.init(GPKIHttpServletRequest.java:550) at com.gpki.servlet.GPKIHttpServletRequest.<init>(GPKIHttpServletRequest.java:134) at kr.go.elevator.com.user.web.ComUserController.actionCrtfctLogin(ComUserController.java:485) at sun.reflect.GeneratedMethodAccessor1601.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.doInvokeMethod(HandlerMethodInvoker.java:421) at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:136) at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:326) at org.springfr...

SSL 인증서 설치 및 변경

Image
SSL 인증서 신청 후 에서 받은 파일 수정 1. Chain_RootCA_Bundle.crt  : 파일을 연 후 Chain.pem으로 저장 (중개 파일) 2. RootCA.crt    :  파일을 연 후 root.pem 으로 저장 3. cert.pem 파일  - 인증서 신청과정에 CSR 과 개인키가 생성되며, 개인부분만 cert.pem에 복사  - 도메인_cert.pem 파일 내용을 복사 후 cert.pem에 복사 webtob의 기존 경로 존재하는 root.pem, Chain.pem, cert.pem 파일 교체 4.  http.m 설정파일 수정  - VHOST는 서비스할 도메인과 인증서를 매핑  - Cert.pem(개인키+SSL인증서), chain.pem(중개인증서), root.pem (루트인증서) 경로를 설정합니다. 5. http.m 설정파일 컴파일  - wscfl -i http.m 6. 웹서버 재기동  - Wsboot 명령어를 사용하여 서버를 재기동하게 되면 SSL인증서의 개인키 비밀번호를 입력 7. SSL인증서 설치 확인 https://(domain_name)으로 접속하시면  주소창에 자물쇠 표시가 나타나면 정상적으로 변경완료