cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community email notifications are disrupted. While we are working to resolve, please check on your favorite boards regularly to keep up with your conversations and new topics.

Unable to Open Creo View when Windchill is using HTTPS

TomU
23-Emerald IV

Unable to Open Creo View when Windchill is using HTTPS

I'm running into an issue with Creo View when Windchill is configured to use HTTPS.  Attempting to open anything from Windchill in Creo View throws this error:

TomU_0-1694699648596.png

  • Following the steps in CS242260 to create an environment variable (PVIEW_SEARCH_ALL_CERTIFICATES=1) has no effect.
  • Following the steps in CS312299 to alter Edge internet properties to not check for certificate revocation will allow the Creo View login dialog to appear, but as soon as credentials are entered the dialog closes and Creo View never appears.  (Webserver logs do show successful authentication.)
  • The location of the users TEMP directory is not the issue. (CS347988 and CS378634.)
  • Firewalls are disabled and no anti-virus software is currently in use.
  • These are commercially purchased certificates, and the full chain is valid and not expired.
  • Creo Parametric works just fine.  It's only Creo View that is having problems.
  • This is not a cluster and there is not a proxy server.

Is there anything special that needs to be done on the client computers to fix this issue, or should simply installing the certificates on the Windchill server (Apache and Java) be sufficient?  The error is reproducible on both the server and on the client computers, and changing versions of Creo View has no effect.

21 REPLIES 21
avillanueva
22-Sapphire II
(To:TomU)

I did not see this listed above:

https://www.ptc.com/en/support/article/CS385890?source=search

Basic authentication? Can you post your debug logs from the Creo View session?

TomU
23-Emerald IV
(To:avillanueva)

Not using single sign on.

shussaini
16-Pearl
(To:TomU)

What version of Windchill you are using? Note that starting 12.1, Windchill uses TLS1.3/SSL3 which needs to be enabled in the config files.

 

regards

~Syed

TomU
23-Emerald IV
(To:shussaini)

@shussaini,

This is 12.1.2.4.  According to the documentation, TLS 1.3 is enabled by default.  Are you saying Creo View 10 does not support TLS 1.3 by default?

 

TLS 1.3 Support for Windchill (ptc.com)

 

https://www.ptc.com/en/support/article/CS355457

 

TomU
23-Emerald IV
(To:TomU)

Enabling TLS 1.2 (only) did not make any difference.

TomU_0-1694716807465.png

-----------------------------------------------------------

Enabling TLS 1.2
Option to configure TLS 1.2 manually is available. Follow the below mentioned steps for the TLS 1.2 configuration:
1.Update the mod_ssl.conf.template file located at <ApacheHome>/conf/template/ as below:
    SSLProtocol -all +TLSv1.2
    SSLProxyProtocol -all +TLSv1.2
2.Run the command from Windchill shell and <Apache_Home>:
    ant -f config.xml reconfigure
3.Restart the Apache HTTP server.
-----------------------------------------------------------
AG_WC
1-Newbie
(To:TomU)

I am using Windchill 12.1.2.1 (HTTPS and SSO) and Creo View 9.1. I was running into the same issue and was able to resolve it by enabling TLS1.2. Here's what I did. Hope this helps!

  1. Stop HTTPServer
  2. Updating below properties in WT_HOME\HTTPServer\conf\customTemplates\mod_ssl.conf.template file (note that in order to enable TLSv1.2 it needs to be removed from below properties, hence you don't see it listed below. TLSv1.3 is enabled by default so you don't see that as well)
    • SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
    • SSLProxyProtocol all -SSLv3 -TLSv1 -TLSv1.1
  3. From a command prompt or Windchill Shell change directory to WT_HOME\HTTPServer and execute ant -f config.xml reconfigure
  4. After executing above command please make sure below modules remain enabled in WT_HOME\HTTPServer\conf\httpd.conf. If they are not, then please enable them manually by uncommenting them.
    • LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
    • LoadModule ssl_module modules/mod_ssl.so
  5. Start HTTPServer
jbailey
17-Peridot
(To:AG_WC)

Just a note on this:

  • SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
  • SSLProxyProtocol all -SSLv3 -TLSv1 -TLSv1.1

A more simpler implementation, only granting specific protocols could look like:

  • SSLProtocol -all TLSv1.2 TLSv1.3
  • SSLProxyProtocol -all TLSv1.2 TLSv1.3
TomU
23-Emerald IV
(To:TomU)

I installed Fiddler and enabled HTTPS decoding.  Attempting to open a representation from Windchill threw this (Fiddler) error message:

 

TomU_1-1694718935900.png

 

This system is on an isolated network that does not have internet access.

 

The message about checking for certificate revocation seems to point back to CS312299.  I repeated the steps in that article again, and this time I noticed the comment about the second one not taking affect until restarting the computer.  (The PTC article does not mention needing to restart.)

 

TomU_0-1694722396397.png

 

After a restart Creo View will now launch successfully, but the pview.exe process(es) will not terminate after closing.  End users (who make this same change) can see objects in Creo View, but from the servers Creo View just displays a blank white page.  The mouse seems to act like there are lines present, but none of them are visible or selectable.  Just for fun I downloaded a representation and opened it locally in Creo View on the server (without Windchill) and still get the same behavior, so apparently the 'not displaying geometry' issue in Creo View is unrelated to HTTPS.  Any suggestions on that?

 

shussaini
16-Pearl
(To:TomU)

That's frustrating. I would suggest better to open a support ticket. they can advise better based on your environment.

 

regards
~Syed

TomU
23-Emerald IV
(To:shussaini)

I've had a ticket open all week without any real progress.  That's why I created the post here.

avillanueva
22-Sapphire II
(To:TomU)

"This system is on an isolated network that does not have internet access."

That likely was the cause. It was trying to contact the cert chain to validate. I think you might have another issue going on with the second part.

TomU
23-Emerald IV
(To:avillanueva)

Yeah,  I'd really like to know why Creo View checks this certificate chain but Creo Parametric (apparently) does not.

RandyJones
19-Tanzanite
(To:TomU)

We are using 12.1.2.4, https, and commercial certs (Lets Encrypt) and it works for us. We are making the following modifications to 20-mod_ssl.conf:

 

SSLVerifyClient none
# Changed the cipher suite and protocols for enhanced security
SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384

TomU
23-Emerald IV
(To:RandyJones)

@RandyJones,

That's quite a list for 'SSLCipherSuite'.  How did you determine you needed all of those?

RandyJones
19-Tanzanite
(To:TomU)


@TomU wrote:

@RandyJones,

That's quite a list for 'SSLCipherSuite'.  How did you determine you needed all of those?


We used this website:

https://ssl-config.mozilla.org/#server=apache&version=2.4.54&config=intermediate&openssl=1.1.1q&guideline=5.6

Srinivas_256
6-Contributor
(To:TomU)

@TomU You are able to fix this issue, even we are facing same issue as below using 12.1.2.1.Nothing seems to be working.Please provide your inputs If you solved the same.Thank you - Srinivas

taheri2
6-Contributor
(To:Srinivas_256)

Hi guys, anyone identified a resolution to this issue if you can please share that would be great.

Thanks in advance.

Taher 

TomU
23-Emerald IV
(To:taheri2)

PTC's final answer was that Creo View is not supported on Windows Servers.  The workarounds above, specifically the one unchecking the Internet Options, resolved the issue for regular users on Windows 10/11 machines, but it did not fix the issue on any of the Windows servers.  For those I still have no solution.

Srinivas_256
6-Contributor
(To:TomU)

Thank you for your reply Tom.IT is not allowing us to go for workaround option, working with PTC and our IT team to identify the fix, will keep posted here If I have anupdate.

-Srinivas

We finally found the answer after fighting this issue for weeks now.

  • Open inetcpl.cpl > Advanced Tab > Uncheck the box for "Do not save encrypted pages to disk".
 

CreoVIew10-Authentication-Fix.jpg

Enjoy and have a great day!

Srinivas_256
6-Contributor
(To:TomU)

After 4 months of debugging, we are able to solve the issue:

 

Few things to consider:

 

In our scenario, we utilize self-signed certificates provided by our in-house IT for systems that are not internet-connected. I believe those using third-party certificates would not encounter this issue, which I will explain further.

1. Starting from the beginning, I received SSL certificates from IT and configured them in Windchill. Everything is functioning well except for an error with Creo View.

2. Upon contacting PTC, they activated logging, and the HTTP log displayed the following error:

Info 5:43:12.544 15 Mar 2024 2680 10496 internet DownloadTask HttpSendRequest failed, error: 12057 -

HTTP Error 12057 indicates an inability to validate the SSL certificate's revocation because the revocation server is unavailable. Disabling certificate revocation resolved the issue, suggesting a need for correction.

For further troubleshooting, we installed Fiddler to determine what exactly Creo View was attempting to access. We discovered that at the error step, it was trying to download a CRL file. CRL stands for Certificate Revocation List. While it could download the CRL, it failed to validate the revocation, resulting in an error.

At this juncture, I am consulting with both my internal IT and PTC to identify the issue with the CRL. PTC responded that the IT team needs to address the revocation issue, and our internal IT is uncertain about the necessary certificate changes. Further analysis by the internal IT team revealed that the Delta CRL was not properly configured, leading to the problems. Once they rectified this, Creo View began functioning correctly. As these are internally self-signed certificates, we experienced configuration issues, whereas third-party certificates should be properly configured.

Top Tags