AWS S3 및 CloudFront를 사용하여 웹 플랫폼 용 정적 호스팅 솔루션을 설정해 보았습니다. https를 사용해야하며 사용자 지정 하위 도메인을 통해 액세스해야합니다.
마지막으로 내 DNS 레코드는 다음과 같습니다. CNAME: "static" -> "d1fd407fp9coo4.cloudfront.net."
편집 : Route 53이 아닌 DNS에 기본 도메인 공급자를 사용합니다.
The aim is to have the resource available at static.dmaglobal.com/logo-frontpage.png via https. It loads fine without (http://static.dmaglobal.com/logo-frontpage.png), but the https-version (https://static.dmaglobal.com/logo-frontpage.png) gives an SSL-error stating the current certificate is for *.s3.eu-west-2.amazonaws.com instead of *.dmaglobal.com. I do not understand where this mismatch comes from, as it seems like the current certificate is correctly set up for our custom domain.
Anyone able to give some pointers on how to proceed from here with this issue?
내 질문에 답하기 위해 : 결국에는 아직 제대로 전파되지 않은 적절한 CNAME 값이었습니다 (CloudFront가 SSL에 필요하다는 것을 알기 전에 처음에는 S3를 가리 켰기 때문입니다). 그것이 되 자마자 OP의 설정이 완벽하게 작동했습니다.
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다