xConnect Search への HTTPS の適用

Version: 10.2
日本語翻訳に関する免責事項

このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。

適用対象

xConnect Collection Search、xConnect Search Indexer

Sitecore Installation Framework

HTTPS はデフォルトで適用されます。

このトピックでは、xConnect Search Indexer と xDB index の間、および xConnect Collection Search service ロールと xDB index の間で HTTPS を介した通信を適用する方法について説明します。

Solr に HTTPS を適用する

注記

HTTPS はデフォルトで適用されます。開発環境で HTTP を許可するには、RequireHttps を false に設定します。これは、本番環境では推奨されません。

Solr に HTTPS を適用するには:

  1. Solr と SSL を設定します。

  2. xConnect Search Indexer で <xconnect-search-indexer>\App_data\Config\Sitecore\SearchIndexer\sc.Xdb.Collection.IndexWriter.SOLR.xml ファイルを開き、RequireHttps を true に設定します。

    RequestResponse
    <Options>
        <ConnectionStringName>solrCore</ConnectionStringName>
        <RequireHttps>true</RequireHttps>
        <Encoding>utf-8</Encoding>
    </Options>
    
    .. note::
    
        This steps assumes that your search indexer is located in the *jobs* sub-folder of your xConnect Search instance.
    
  3. xConnect Collection Search ロールのすべてのインスタンスで C:\path\to\xconnect\App_data\config\sitecore\CollectionSearch\sc.Xdb.Collection.IndexReader.SOLR.xml ファイルを開き、両方の RequireHttps を true に設定します。

    RequestResponse
    <Solr.SolrReaderSettings>
        <Type>Sitecore.Xdb.Collection.Search.Solr.SolrReaderSettings, Sitecore.Xdb.Collection.Search.Solr</Type>
        <LifeTime>Singleton</LifeTime>
        <Options>
            <ConnectionStringName>solrCore</ConnectionStringName>
            <RequireHttps>true</RequireHttps>
            <Encoding>utf-8</Encoding>
        </Options>
    </Solr.SolrReaderSettings>
    <Solr.SolrWriterSettings>
        <Type>Sitecore.Xdb.Collection.Search.Solr.SolrWriterSettings, Sitecore.Xdb.Collection.Search.Solr</Type>
        <LifeTime>Singleton</LifeTime>
        <Options>
            <ConnectionStringName>solrCore</ConnectionStringName>
            <RequireHttps>true</RequireHttps>
            <MaximumUpdateBatchSize>1000</MaximumUpdateBatchSize>
            <MaximumDeleteBatchSize>1000</MaximumDeleteBatchSize>
            <MaximumCommitMilliseconds>1000</MaximumCommitMilliseconds>
            <ParallelizationDegree>4</ParallelizationDegree>
            <MaximumRetryDelayMilliseconds>5000</MaximumRetryDelayMilliseconds>
            <RetryCount>5</RetryCount>
            <Encoding>utf-8</Encoding>
        </Options>
    </Solr.SolrWriterSettings>
    
  4. xDB index に接続するすべてのロールについて、\App_data\ConnectionStrings.configsolrCore 接続文字列で HTTPS が使用されていることを確認します。

    RequestResponse
    <add name="solrCore" connectionString="https://yourSolrInstance/" />
    

何かフィードバックはありますか?

この記事を改善するための提案がある場合は、