您必須編輯某些配置檔案,以反映新的網站及連接埠設定。 編輯配置檔案,以 HTTPS 連接器取代 HTTP 連接器。 您也必須重新啟動 CA Performance Center 服務,變更才會生效。
請依循下列步驟:
cd/[安裝目錄]/CA/PerformanceCenter/PC
#/opt/CA/PerformanceCenter/PC/etc/jetty-ssl.xml
其中「/opt/CA」是預設的安裝目錄。
cd/[安裝目錄]/CA/PerformanceCenter/PC/etc
<?xml version="1.0"?> <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd"> <Configure id="Server" class="org.eclipse.jetty.server.Server"> <Call name="addConnector"> <Arg> <New class="org.eclipse.jetty.server.ssl.SslSelectChannelConnector"> <Set name="Port">8182</Set> <Set name="maxIdleTime">30000</Set> <Set name="Keystore"><Property name="jetty.home" default="." />/etc/keystore</Set> <Set name="Password">***PASSWORD***</Set> <Set name="KeyPassword">***PASSWORD***</Set> <Set name="truststore"><Property name="jetty.home" default="." />/etc/keystore</Set> <Set name="trustPassword">***PASSWORD***</Set> <Set name="allowRenegotiate">true</Set> </New> </Arg> </Call> </Configure>
<Call name="addConnector"> <Arg> <New class="org.eclipse.jetty.server.nio.SelectChannelConnector"> <Set name="host"><Property name="jetty.host" /></Set> <!-- Changed: Used to be Property --> <Set name="port"><SystemProperty name="jetty.port" default="8181"/></Set> <Set name="maxIdleTime">300000</Set> <Set name="Acceptors">2</Set> <Set name="statsOn">false</Set> <Set name="confidentialPort">8443</Set> <Set name="lowResourcesConnections">20000</Set> <Set name="lowResourcesMaxIdleTime">5000</Set> </New> </Arg> </Call>
cd/[安裝目錄]/CA/PerformanceCenter/PC/conf
wrapper.java.additional.2=-Djetty.port=8181
cd /[安裝目錄]/CA/PerformanceCenter/sso/webapps/ sso/configuration
<?xml version="1.0" encoding="utf-8" ?> <Configuration> <SingleSignOnEnabled>True</SingleSignOnEnabled> <SingleSignOnProductCode>pc</SingleSignOnProductCode> <SignInPageProductDefaultUrl> <Scheme>https</Scheme> <Port>8182</Port> <PathAndQuery>/pc/desktop/page</PathAndQuery> </SignInPageProductDefaultUrl> <SingleSignOnWebServiceUrl> <Scheme>https</Scheme> <Port>8182</Port> <PathAndQuery>/pc/center/webservice/sso</PathAndQuery> </SingleSignOnWebServiceUrl> </Configuration>
Copyright © 2013 CA.
All rights reserved.
|
|