Fix solution for CPM 10.7 Installation Error: CPMEM038E Error while trying to import platforms. {"ErrorCode":"PASWS187E","ErrorMessage":"The requested resource with API version '10.7' does not support HTTP method 'GET'."}

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Fix solution for CPM 10.7 Installation Error: CPMEM038E Error while trying to import platforms. {"ErrorCode":"PASWS187E","ErrorMessage":"The requested resource with API version '10.7' does not support HTTP method 'GET'."}

L3 Networker
10 REPLIES 10

L3 Networker

Fix solution for CPM 10.7 Installation Error:

CPMEM038E Error while trying to import platforms.

{"ErrorCode":"PASWS187E","ErrorMessage":"The requested resource with API version '10.7' does not support HTTP method 'GET'."}

 

It looks like the root cause if this error is TLS 1.2 is disabled on the CPM, which prevent connection to the PVWA! Here is what we did in our case:

 

1. Check your GPO, if it doesn’t disable TLS 1.2 on the CPM server.

2. In order to minimize the connection between the CPM and PVWA servers, and isolate the issue (1:1), edit the Vault.ini in the CPM:

 On the CPM, open the Vault.ini file

 In the [API] section, edit the URL to include one PVWA server or LB URL dns fqdn.

 the syntax should look like: https://pvwa_srv.corp.com/PassswordVault

 Nothing after ‘PasswordVault’!

3. Open the Vault and navigate to PVWAConfig safe, open it and edit the PVConfiguration.xml file to include the same URL you configured in the previous step at: 

…ApplicationRoot=”The PVWA or LB URL”….

 Make sure you have a copy before making any changes (download a copy from the save)

 

4. On the CPM, open the registry and add the following keys:

 

• Enable TLS 1.2 protocol:

• [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client] "DisabledByDefault"=dword:00000000

• [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server] "Enabled"=dword:ffffffff

• Enable .NET to use TLS 1.2:

 

• [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319] "SchUseStrongCrypto"=dword:00000001 

• [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319] "SchUseStrongCrypto"=dword:00000001

 

5. Reboot the server

6. Check if the registry keys you created above still there.

7. Run CPM repair.

 Select ‘Yes’ to recreate the environment in the Vault

 Select ‘Original Oracle file’

8. The installation should be finished with no errors this time.

9. Check logs and services.

 

Good luck,

Feedback & comments are welcome

L3 Networker

Still Issue persist when we applied the recommendation above. What would be the issue if we dont fix the error during the installation

L3 Networker

I Found that the issue only comes when you input the LB PVWA Address but if you insert the actual address it doesnt show the error.

What would be the implication if we proceed with local address instead of LB in an environment where we use PVWA LB

L3 Networker

There are two things that caused this issue:

  1. the TLS 1.2 as I mentioned above , and btw, in Ver 10.8 they now CyberArk provides a Pre-reqs ps1 script to enable it.
  2. You need to import the PVWA's ssl certificate (not only the Root CA) , the certificate which includes the PVWA's server name/fqdn or you need Multi-SAN certificate with all PVWA server you have imported to Trusted Root Certificates on the CPM before the installation.

 

TLS is not enough! I also sow this error in ver 10.8... I tried it without importing the PVWA's certificate.

 

I hope this would help

Feedback & Comments are very welcome 🙂

Thank you Jazuc for your comment, this is interesting, I think it's a matter of certificates, can you give an example about the "actual address" you are talking about ? is it IP or URL ? what exactly do you mean?

Thanks in advance

Hello @Anan Habka​ ,

 

Thanks this worked for me. In my case, the LB URL was not activated yet and hence it showed the error. I replaced it with the individual URL and now it worked.

Happy to know that this helped you @sriram nagarajan​  😎

@Anan Habka​  Are your steps confirmed by CyberArk Support or R&D?

 

I am having the same error with Ver 10.10 CPM installation, and it didn't work with importing the PVWA cert on the CPM server.

 

API section does have the right URL of the PVWA. And repair installation had the same error and some platforms were missing obviously.

Hello,

 

I think I can find or get approval for that -:) I'm just sharing my experience with the ppl here , For formal answer, I guess you need to open a case.

 

To add to this fix, make sure that the Vault.ini (in the CPM) has the right pvwa_fqdn (in the API section) , besides the SSL certificate must have this fqdn.

 

And make sure you have port 443 opened from the CPM to the PVWA

 

Also, on the PVWA's IIS you need ssl for each server. The idea is that all component trust the same SSL Root certificate name( url).

(Usually in public CA , all servers already trust it)

 

Before repairing the CPM, try the pvwa url in IE + Chrome browser, and check if the certificate is valid (getting green locker icon, in Chrome you might get '?')

 

Hope this helps & please put your comment, I'd love to get any feedback.

Thank you

Many thanks for the detailed notes, @Anan Habka​ ​ . I believe I've tried everything you said on your checklist. And even I tried to rebuilt the environment and servers, and got the exactly same error the 2nd time too. When I run the Repair install, it returned the same error before installing plug-in software. I am really not sure what's going on here.

  • 2023 Views
  • 10 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!