Tuesday, December 26, 2017

Windchill with HTTPS

Using below steps, we can configure Windchill to listen HTTPS connection.
1. Reconfigure Apache to use HTTPS (SSL).
2. Reconfigure Windchill to use HTTPS (SSL).

1. Reconfigure Apache to Use SSL :
  •     Stop Windchill, Apache and other related services.
  •     Open Windchill Shell and navigate to Apache
  •     run below command in shell.
ant -f config.xml -DServerName=<HostName>  configureSelfSignedCert

Here HostName is fully qualified hostname. this is your Windchill Server Name.

After Successful Build, execute below command in case of your Windchill version is Windchill 11.0,

ant -DHTTPS_ENABLED=true -f config.xml reconfigure

2. Reconfigure Windchill to listen SSL connection:

Normaly in OOTB Windchill installations, Apache was running on port 80 and connection type was http.
above settings are stored in wt.properties as shown here,

wt.webserver.port=80;
wt.webserver.protocol=http;

Now we have to change this to 443 port for https connection.
Here is the xconfmanager command to make this changes. always use xconfmanager utility to make any changes in properties file.
Open a Windchill shell and execute below command,

xconfmanager -s wt.webserver.port=443 -s wt.webserver.protocol=https -t codebase/wt.properties -p

3. Disable Apache listening on port 80 - open Apache/conf/http.conf file and comment out the line #Listen 0.0.0.0:80

4. Now Start the Apache in in https mode by below command from shell.

Apache /bin/httpd -DSSL

5. Start Windchill and other services.
6. Test the Windchill first by command line arguments from Windchill shell by below command,

Windchill Shell > windchill wt.auth.Authentication 

This command will launch a popup window asking credentials. now access Windchill by https url.

No comments:

Post a Comment

Windchill with HTTPS

Using below steps, we can configure Windchill to listen HTTPS connection. 1. Reconfigure Apache to use HTTPS (SSL). 2. Reconfigure Windch...