Error: "java.util.concurrent.CompletionException: [SafeCertificateReader::readPEM: unable to load Certificate data" When Searching in Service Point 17.2

book

Article ID: 133686

calendar_today

Updated On:

Products

CA Service Management - Service Desk Manager CA Service Desk Manager CA Service Catalog

Issue/Introduction

We are using the functionality of user guest.

 

When logging into Service Point as a guest , for some words we get an error on search:

Error:

"Se ha producido un error al recuperar las categorías sugeridas. Póngase en contacto con el administrador."

"Error in retrieving the suggested categories. Contact the Administrator"

 

 

Error in searchMS.log:

 

[c.CategoriesSearchController] - Error fetching permissions for: [10070]

java.util.concurrent.CompletionException: [SafeCertificateReader::readPEM: unable to load Certificate data [certfile: <local drive>\CA\xFlow\APPS\Services\USMcertfile.pem, keyfile: <local drive>\CA\xFlow\APPS\Services\USMcertfile.key] <local drive>\CA\xFlow\APPS\Services\USMcertfile.pem (The system cannot find the file specified)]

com.ca.eiam.SafeException: EE_EXCEPTION Exception

 at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:331)

 at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:346)

 at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:632)

 at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)

 at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2088)

Caused by: com.ca.eiam.SafeException: EE_EXCEPTION Exception

 at java.base/java.io.FileInputStream.open0(Native Method)

 at java.base/java.io.FileInputStream.open(FileInputStream.java:219)

 at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)

 at java.base/java.io.FileInputStream.<init>(FileInputStream.java:112)

 at com.ca.eiam.SafeCertificateReader.readPEM(SafeCertificateReader.java:50)

Caused by: java.io.FileNotFoundException: E:\PROGRA~2\CA\xFlow\APPS\Services\USMcertfile.pem (The system cannot find the file specified)

 at java.base/java.io.FileInputStream.open0(Native Method)

 at java.base/java.io.FileInputStream.open(FileInputStream.java:219)

 at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)

 at java.base/java.io.FileInputStream.<init>(FileInputStream.java:112)

 at com.ca.eiam.SafeCertificateReader.readPEM(SafeCertificateReader.java:50)

ERROR - 2019-06-21 15:29:48 [c.CategoriesSearchController] - Error filtering ES Results :

java.util.concurrent.CompletionException: [SafeCertificateReader::readPEM: unable to load Certificate data [

 

Environment

Release :

Component : SERVICE DESK MANAGER

Resolution

1. Go to Catalog server > Catalog home folder and copy USMcertfile.pem, USMcertfile.key and USMcertfile.p12 

 2. Go to Service Point/xFlow server > E:\PROGRA~2\CA\xFlow\APPS\Services\ and paste the 3 files above. 

 3. Restart xFlow services and search server 

Customer Might also need to go to

Service Desk > Administrator > Option Manager > Security > Uninstall the Option > guest_user_name

Then, Recycle SDM and xFlow services. 

Additional Information

Related to this article:

Service Point does not show/find Catalog offerings for Employee role only and Error "Error fetching permissions for" appears in searchMS.log
https://knowledge.broadcom.com/external/article?articleId=141743