03-04-2025 10:28 PM
Hello guys,
I am installing now ECE 12.5 for the lab, and when I try to add ECE Web Server to the Inventory of the PCCE SPOG, I've got this error (please see the screenshot in the file attached):
I tried to check the CCBU log, but there is no much significant help - only the general java error without details:
REST_API_EXCEPTION: %[exception=java.lang.NullPointerException][message_string=Error executing task RuntimeStatusRulesTask]: The REST API has caught an exception java.lang.NullPointerException
Maybe someone had this or similar issue in the past? Any help is much appreciated.
Thanks in advance.
Solved! Go to Solution.
03-06-2025 08:12 AM
The issue is solved. The problem was not related to the certificates (you don't need to add CA-signed certificate to AW server!!!), but to wrong IIS Binding settings on my ECE Web server. I automatically configured it wrong with the hostname like this:
So I assigned my 443 connection to hostname only. However, SPOG API sends requests to IP addresses like this:
The specified URL does not exist.][message_string=Error 404 occurred while trying to POST to https://10.2.1.40:443 ]
I reconfigured the IIS Binding to have the Host name setting blank (then it supports requests both for FQDN and IP):
Now I can add the ECE Web server to SPOG and continue my setup:
03-05-2025 03:01 AM
Please exchange the ECE cert and add it into the PCCE Inventory.
03-05-2025 03:13 AM
Hi Ramamoorthy,
Thank you for your answer. I am using a CA signed certificate on ECE Web server, not self-signed. In my understanding I don't need to add a CA signed certif to PCCE Inventory, do I?
03-05-2025 03:40 AM
Yes, you still need to add the cert to the distributors keystore. Make sure you restart the web server and probably he distributor too for good measure so that you can re-establish the 443 connection.
03-05-2025 11:05 AM - edited 03-05-2025 09:43 PM
Hello Omar,
Thank you for your response. Well, actually I do not understand why we have to add a CA-signed certificate to the keystore, because CA-signed certificate has to be just on ECE Web side. The AW checks or authenticates it with CA root certificate and this should be enough. Anyway, I did what you said - added the ECE Web certificate to the keystore of AW and restarted both AW and ECE Web server:
C:\Program Files (x86)\OpenJDK\jre-8.0.332.09-hotspot\lib\security>keytool -list -keystore cacerts -alias eceweb.cvp8.com -storepass changeit -v
Alias name: eceweb.cvp8.com
Creation date: Mar 5, 2025
Entry type: trustedCertEntry
Owner: CN=eceweb.cvp8.com, OU=Training, O=***, L=*******, ST=*******, C=****
Issuer: CN=cvp8-DCDNS-CA, DC=cvp8, DC=com
Serial number: 612dba79000000000018
Valid from: Tue Mar 04 06:38:26 CET 2025 until: Wed Oct 14 21:11:24 CEST 2026
Unfortunately, it didn't help. I still have the same error...
03-06-2025 08:12 AM
The issue is solved. The problem was not related to the certificates (you don't need to add CA-signed certificate to AW server!!!), but to wrong IIS Binding settings on my ECE Web server. I automatically configured it wrong with the hostname like this:
So I assigned my 443 connection to hostname only. However, SPOG API sends requests to IP addresses like this:
The specified URL does not exist.][message_string=Error 404 occurred while trying to POST to https://10.2.1.40:443 ]
I reconfigured the IIS Binding to have the Host name setting blank (then it supports requests both for FQDN and IP):
Now I can add the ECE Web server to SPOG and continue my setup:
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide