ContentSyndication - cws-khuntly/WebSphere GitHub Wiki


date: 2025-05-08 14:56:58 created: 2025-05-08 14:56:55 categories:

  • WebSphere / Server Build / Portal Server / Syndication / Content

for now

Login to the ISC

Navigate to Key stores and certificates -> CellDefaultTrustStore -> Signer Certificates

Add the SSL certificate for the Authoring Portal

Retrieve from port

 - Host: Authoring server FQDN

 - Port: 10042

 - SSL configuration for outbound connection: CellDefaultSSLSettings (default value)

 - Alias: Authoring server FQDN

Click Retrieve signer information

Click "OK"

Save changes

Navigate to System Adminstration -> Nodes

Select all nodes and click "Full Resynchronize"

Login to the Portal host via SSH

Source setupCmdLine.sh:

source /opt/IBM/WebSphere/profiles/${PROFILE_NAME}/bin/setupCmdLine.sh

Export the WAS_INSTALL_ROOT variable:

declare -x WAS_INSTALL_ROOT="/opt/IBM/WebSphere/AppServer"

Export the environment variable:

declare -x ENV=XXX

[Create the syndication user/group](onenote:#Global Security - User Accounts&section-id={ADBA5C39-B20E-4AD4-B1BA-6AF9CA4327F3}&page-id={40554F0E-B1DC-4345-AAFD-F49864B9B739}&end&base-path=https://bcbsma-my.sharepoint.com/personal/khuntl01_bcbsmamd_net/Documents/Kevin%20@%20BCBSMA/Quick%20Notes.one)

Configure syndication

Copy the file CredentialVaultSlot.xml from the NAS share:

cp  /nfs/software/WebSphere/PortalServer/xmlaccess/CredentialVaultSlot.xml ${HOME}/workspace/WebSphere/PortalServer/xmlaccess/CredentialVaultSlot.xml

Edit the following values:

 - Name:

 - Value: See PAM

Save and close the file

Enable managed pages

${USER_INSTALL_ROOT}/ConfigEngine/ConfigEngine.sh enable-managed-pages

${USER_INSTALL_ROOT}/ConfigEngine/ConfigEngine.sh create-page-nodes

${USER_INSTALL_ROOT}/ConfigEngine/ConfigEngine.sh create-virtual-portal-site-nodes

Import the credential to Portal

${USER_INSTALL_ROOT}/PortalServer/bin/xmlaccess.sh \

    -in ${HOME}/workspace/WebSphere/PortalServer/xmlaccess/CredentialVaultSlot.xml \

    -out ${HOME}/log/xmlaccess/CredentialVaultSlot.xml \

    -url https://localhost:10042/${CONTEXT_ROOT}/config \

    -truststore ${USER_INSTALL_ROOT}/etc/trust.p12  -trustpwd WebAS -trusttype PKCS12\

    -useEncryptedCredentials ${HOME}/workspace/WebSphere/PortalServer/properties/${ENV}/xmlaccess.properties

Configure syndication on the Portal

${USER_INSTALL_ROOT}/ConfigEngine/ConfigEngine.sh \

    -DvaultSlotName=WCMSyndicator \

    -Dsyndicator=http://${AUTHORING_HOST_FQDN}:${WC_DEFAULTHOST}/ProviderHome/wcm -DsyndicatorName=${ENV} \

    -DsubscriberName=${ENV} \

    -DupdateAfterCreation=true -Dmode=configured \

    -Dpublished-items="Content Library" \

    run-wcm-admin-task-subscribe-now

Save changes

⚠️ **GitHub.com Fallback** ⚠️