Looking for simple solutions to your real-life financial challenges? Check out WalletPop for the latest news and information, tips and calculators.

-----------------
Forwarded Message:
Subj: Re: [solutions] - 8 steps to get https/ssl working on wc8/wc9 
Date:9/30/2008 11:48:18 A.M. Eastern Standard Time
From:ysprathap@gmail.com
To:cadjett@aol.com
Sent from the Internet (Details)
 
Thanks for the notes Lawrence. This will be definitely handy when setting up SSL. 

Prathap

On Tue, Sep 30, 2008 at 5:17 AM, Lawrence Jett <cadjett@aol.com> wrote:

8 steps to get https/ssl working on wc8/wc9

I think in the past I submitted 6 steps for wc https/ssl. I left off steps 3 & 4. I put the steps together form memory, when I placed into text file.

Sorry for skipping steps

(from windchill shell)

With JAVA_HOME set (no -Djdk option settin/arg needed):

1) ant -f config.xml configureSelfSignedCert -DServerName=hostname.xxx.com "-Djre.dir=C:\Program Files\Java\jre1.5.0_09" "-DcertAlias=R9_Apache"

With JAVA_HOME NOT set:

1) ant -f config.xml configureSelfSignedCert -DServerName=hostname.xxx.com "-Djre.dir=C:\Program Files\Java\jre1.5.0_09" "-Djdk.dir=C:\jdk1.5.0_09" "-DcertAlias=R9_Apache"

(your server name & jre/jdk paths will be different).

Maybe even use $(java.rmi.server.hostname) for -DServerName option, because if they dont match, the ssl wont work.

(from windchill shell)

2) xconfmanager -s wt.webserver.protocol=https -t codebase/wt.properties -p

(from windchill shell)

3) xconfmanager -s wt.webserver.port=443 -t codebase/wt.properties -p

(from windchill shell)

4) xconfmanager -s wt.server.codebase=$(webserver.protocol)://$(java.rmi.server.hostname)/$(wt.webapp.name) -t codebase/wt.properties -p

(or hard code $(webserver.protocol) as https, from its original http)

xconfmanager -d xx.xx.propperties to display above original settings before &/or verify what it was changed to after.

5) Duplicate wc9 home page (D:\ptc\Windchill_9 .0\Windchill\bin\HomePage.html) & rename.
   Then edit 3 instances of http to https, along with changing port 80 to ssl 443.
   http://xxx.xx.com:80/Windchill now becomes https://xxx.xx.com:443/Windchill

6) Duplicate & rename shorcut "Windchill Home Page" page in Windchill Programs folder &
   have it point to newly created page from step 3 above.

7) Duplicate shortcut to apache & rename. Then change httpd.exe to httpd.exe -DSSL for execution exe path
   apache.exe -DSSL or apache.exe -D SSL for windchill 8.

8) When 1st time starting "Windchill Home Page - HTTPS" (or whatever you name it), you will be prompted
   To accept certificate. Don't say Yes or OK (from what I recall the buttons saying), select far right button
   To place certificate in the "Trusted Root Certification Authorities store." Images included in zip.

L. Jett

PS Attached zip to show images for adding cert to trusted store.



_____________________________________________
View Online:
http://portal.ptcuser.org/p/fo/st/post=67674&anc=p67674#p67674

Attachments:
------------------
HTTPS_SSL_Sept08.zip (79 k):
http://portal.ptcuser.org/p/fo/do/download=1&fid=3417
_____________________________________________
Windchill Solutions mailing list
mailto:solutions@lists.ptcuser.org
Manage your subscription at:
http://portal.ptcuser.org/p/us/to/

Use of this email content is governed by the terms of service at:
http://portal.ptcuser.org/index.php?module=sthtml&op=load&sid=s1_010_tos
_____________________________________________