function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
JapanJapan 

Sites でのHTTPS通信について

 

Sites でカスタムURLを作成し、HTTPSアクセスをしたいのですが、

証明書が無効だとエラーになります。

 

証明書のドメインは、'*.na5.force.com'です。

今、Developer Edition を使用しているのですが、ここだと 'na7.force.com' となります。

証明書上のドメインと実際にアクセスしているドメインが異なるため、エラーしているようです。

 

このドメインですが、EnterprizeEdition では

Sites で作成したドメインも'*.na5.force.com' となり、HTTPS通信出来るのでしょうか?

 

Developer Edition だけの問題であればよいのですが、

どなかたご存じの方がいらっしゃったらご教授お願いいたします。

Mitch OkamotoMitch Okamoto

証明書エラーが発生するのはDeveloperEditionのみです。

 

Enterprise Editionの場合のHTTPS通信は、(subdomain名).secure.force.comとなります。

たとえば、米DeveloperForceのCode ShareなんかはForce.com Sitesで構築されていますが

 

https://developer.secure.force.com/codeshare/

 

となっています。developerというのがサブドメインですね。

余談ですが、developer.force.comもSitesですね。