Sandbox をリフレッシュすると、本番組織から Sandbox にコピーされた CustomSite メタデータには本番組織に紐づくドメインへの参照が含まれますが、<certificate> 要素は欠落します。この不完全な CustomSite メタデータを後から任意の組織(Sandbox または本番)にデプロイすると、Salesforce はドメインの HTTPS オプションを「Salesforce Cloud」から「HTTPSなし(一時的)」に変更します。
不完全なメタデータ要素は以下のとおりです(<certificate> 要素が欠落していることに注意してください):
<customWebAddresses>
<domainName>your-custom-domain</domainName>
<primary>true</primary>
</customWebAddresses>
<certificate> 要素が含まれた完全なメタデータ要素は以下のようになります:
<customWebAddresses>
<certificate>certificate-unique-name</certificate>
<domainName>www.testing123.com</domainName>
<primary>true</primary>
</customWebAddresses>
以下のいずれかの方法で対処してください。
Sandbox 上のドメインメタデータは、本番組織のドメイン設定のコピーです。これらは Sandbox が本番組織からリフレッシュされたことによってのみ存在しています。
CustomSite メタデータにデプロイが必要な変更が含まれていない場合は、デプロイ対象からそのメタデータを完全に除外してください。デプロイ完了後、ドメインの HTTPS オプションを手動で正しい設定に戻してください。
CustomSite メタデータをデプロイする必要がある場合は、デプロイ前にデプロイ対象の <customWebAddresses> ブロックに <certificate> 要素を追加してください。
<customWebAddresses> ブロック内に、証明書のユニーク名を指定した <certificate> 要素、カスタムドメインを指定した <domainName> 要素、および <primary>true</primary> を追加します。
その後、更新したメタデータを対象の Sandbox にデプロイします。
重要: ドメインに使用する証明書は、本番組織の証明書のコモンネーム(CN)またはサブジェクトの別名(SAN)と一致している必要があります。自己署名証明書は使用できません。有効な証明書を取得するには、本番組織の証明書のコピーを受け取るために Sandbox を本番組織からリフレッシュするか、元の JKS 証明書をインポートしてください。
000396704

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.