티스토리 뷰

반응형

지인의 부탁으로 스마트스토어에 상품선택을 코딩으로 만들어보려고 며칠째 연구중인데, 화면에 이미지가 제대로 나오지 않아서 개발자 창을 보니, 아래와 같은 오류가 쭈~욱 뜨는 것을 봤습니다.

캡쳐한 화면의 자세한 문구를 보기위해서 코드창으로 다시 옮겨적으면..

Mixed Content: The page at 'https://smartstore.naver.com/daon0409/products/8265811659' was loaded over HTTPS, but requested an insecure stylesheet 'http://8440.co.kr/smartstore/css/reset.css'. This request has been blocked; the content must be served over HTTPS.
ODQ0MC5jby5rci9zbWFydHN0b3JlL2luZGV4MS5odG1s:14 Mixed Content: The page at 'https://smartstore.naver.com/daon0409/products/8265811659' was loaded over HTTPS, but requested an insecure stylesheet 'http://8440.co.kr/smartstore/css/comm.css'. This request has been blocked; the content must be served over HTTPS.
ODQ0MC5jby5rci9zbWFydHN0b3JlL2luZGV4MS5odG1s:1 Mixed Content: The page at 'https://smartstore.naver.com/daon0409/products/8265811659' was loaded over HTTPS, but requested an insecure script 'http://8440.co.kr/smartstore/js/helper.js'. This request has been blocked; the content must be served over HTTPS.
ODQ0MC5jby5rci9zbWFydHN0b3JlL2luZGV4MS5odG1s:1 Mixed Content: The page at 'https://smartstore.naver.com/daon0409/products/8265811659' was loaded over HTTPS, but requested an insecure script 'http://8440.co.kr/smartstore/js/jquery.form_new.js'. This request has been blocked; the content must be served over HTTPS.
ODQ0MC5jby5rci9zbWFydHN0b3JlL2luZGV4MS5odG1s?token=9466778cbf7124e37b4c31e877c1b4f4:845 itemType : 1
ODQ0MC5jby5rci9zbWFydHN0b3JlL2luZGV4MS5odG1s?token=9466778cbf7124e37b4c31e877c1b4f4:846 Array(16)
item_1.jpg:1          Failed to load resource: net::ERR_CERT_AUTHORITY_INVALID
item_2.jpg:1          Failed to load resource: net::ERR_CERT_AUTHORITY_INVALID
item_3.jpg:1          Failed to load resource: net::ERR_CERT_AUTHORITY_INVALID
hole4_1080px.png:1          Failed to load resource: net::ERR_CERT_AUTHORITY_INVALID
roundin_1080px.png:1          Failed to load resource: net::ERR_CERT_AUTHORITY_INVALID
bevel45_1030px.png:1          Failed to load resource: net::ERR_CERT_AUTHORITY_INVALID
fire_1030px.png:1          Failed to load resource: net::ERR_CERT_AUTHORITY_INVALID
laser_1000px.jpg:1          Failed to load resource: net::ERR_CERT_AUTHORITY_INVALID
footer.jpg:1          Failed to load resource: net::ERR_CERT_AUTHORITY_INVALID
8265811659:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
ODQ0MC5jby5rci9zbWFydHN0b3JlL2luZGV4MS5odG1s:1 Mixed Content: The page at 'https://smartstore.naver.com/daon0409/products/8265811659' was loaded over HTTPS, but requested an insecure stylesheet 'http://8440.co.kr/smartstore/css/reset.css'. This request has been blocked; the content must be served over HTTPS.
ODQ0MC5jby5rci9zbWFydHN0b3JlL2luZGV4MS5odG1s:1 Mixed Content: The page at 'https://smartstore.naver.com/daon0409/products/8265811659' was loaded over HTTPS, but requested an insecure stylesheet 'http://8440.co.kr/smartstore/css/comm.css'. This request has been blocked; the content must be served over HTTPS.

 

위의 에러는 거의 http에서 시작되는 사이트는 보안이 안되서? 라는 의미같아서 보안은 사실 잘 모르는 분야여서 정보를 찾아봤습니다.

종종 사이트 URL의 http://... 부분을 https://...로 변경하는 방법에 대해 문의해오는 분이 계십니다.
도메인 주소의 http:// 부분을 https://로 변경하려면 보안서버 SSL 인증서를 설치해야 합니다.
사이트 주소 URL의 http를 https로 바꾸는 방법
https란 인터넷 상에서 정보를 암호화하는 SSL(Secure Socket Layer) 프로토콜을 이용하여 데이터를 전송하고 있음을 의미합니다.
http://... 주소를 https://... 주소로 바꾸려면 유효한 보안서버 SSL 인증서를 설치해야 합니다.
참고로 유효한 SSL 인증서가 설치되어 있지 않은 상태에서 사이트의 주소를 https://...로 변경하면 브라우저에 인증서 오류가 표시됩니다.

 

위의 문제임을 알고, 아~ 이것만 해결되면 네이버스마트스토어에 옵션등을 웹사이트에서 구현해서 만들 수 있겠다는 아이디어가 더 확실해 졌습니다.

SSL을 카페24호스팅을 사용하고 있으니 어떻게 해야하지?' 이런 고민을 해결하기 위해서 가입된 cafe24  사이에 가보니..

 

1. 일단 SSL 발급 받으려면 비용이 듭니다.

2. SSL 발급에 앞서 CSR이란 것을 발급받아야 한다고 되어있는데, 아무래도 영문으로 넣으라고 하는걸 보면... 이 정보가 대한민국에서 승인하는 절차가 아님을 감으로 알았습니다. 틀릴수도 있어요^^

정보를 입력하고 다운로드 버튼을 누르면 

이런 파일을 받을 수 있습니다.

 

카페24홈페이지의 인증서 SSL 인증서를 선택하면 구매할 수 있네요.

작은규모도 년간 38,500원 정도 되니..

부담스러운 가격은 아닌데, 구글검색이니 뭐나 https인가가 중요한 것이 되어버렸네요

카페24보다 더 저렴하거나 무료로 해주는 곳이 있다면 그곳을 선택해도 되지만, 이미 카페24에서 호스팅을 받고 있으니,

잘 판단해서 구매해야겠어요.

휴~ 그래도 해결방법을 찾았다는게 좋습니다.^^

반응형
댓글