Error running PostInstall Command after Vault installation in Azure

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

Error running PostInstall Command after Vault installation in Azure

L4 Transporter

Hello - Doing a Manual Install in Azure for Vault Version 10.8, Installs went smooth but encountering an error while running PostInstall command.

 

Below are the things validated.

 

1) DNS works

2) test-net connection on 443 works (so no network issues)

3) KVM Machine permissions are set correct

 

Has anybody experienced this ? Please shed some light if you any resolution.

 

Thanks

29 REPLIES 29

L4 Transporter

Field_Content_versions_oct20__0682J000005imU8QAI.png

L5 Sessionator

I'm in 10.9 and facing the same issues..

We were able to go beyond this error - just enable TLS1.0 from registry "HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols" since powershell is expecting tls1.0 enabled.

 

But sadly we experienced an issue with Private key not being accepted.

 

Please let me know if you are able to bypass this error after enabling TLS 1.0.

 

Also please make sure TLS 1.0 is disabled after the PostInstall command was completed successfully.

 

 

 

 

Hi @Senthilkumar Kothandaraman​  how did you resolve this? I'm also struct now in the same place where you shown in your above screenshot :

ITATP059E Error getting random bytes from cloud vendor. (Cloud vendor: AZURE API Error message: Could not load file or assembly 'AKVCSharpAPI, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies).

Field_Content_versions_oct20__0682J000005k08qQAA.png

Hello Nirmal - Did you copy the Azure DLLs and PACLI folder to the Vault 'Server' Directory ? From the Error it looks like it i expecting a missing DLL in the 'Server' Directory.

 

There is a documentation bug in the Azure doc.

Can you also check if you can resolve your AKV name - "azure-key-vault01" from Vault server ?

what did you do for resolving KeyVault? may I know please ?

I've included below things in the dbparam.ini but its helpful I gues

 

AllowNonStandardFWAddresses=[192.168.1.6],Yes,3389:outbound/udp,3389:inbound/udp

AllowNonStandardFWAddresses=[192.168.1.6],Yes,3389:outbound/tcp,3389:inbound/tcp

AllowNonStandardFWAddresses=[168.63.129.16,169.254.169.254],Yes,53:outbound/tcp

AllowNonStandardFWAddresses=[168.63.129.16,169.254.169.254],Yes,443:outbound/tcp

AllowNonStandardFWAddresses=[13.72.250.239],Yes,53:outbound/tcp

AllowNonStandardFWAddresses=[13.72.250.239],Yes,443:outbound/tcp

Field_Content_versions_oct20__0682J000005k0SoQAI.pngJust followed the below steps.

 

1) Copied all DLLs and PACLI folder to server Directory

2) Made sure the AKV name is resolved from Vault server (nslookup)

3) Made Sure by Test-netconnection that I can reach the AKV name on 443

 

You have to copy all the DLLs to server folder.

 

Refer the Attached screenshot - the AKVCSharpAPI.dll is one of the Azure DLLs. Can you confirm you copied ?

 

 

L4 Transporter

If you have all the DLLs available and still you can't connect, then try running the command from powershell. Enable below for before you run :-

 

Enable TLS1.0 from registry for both client & server

"HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0" 

 

You can disable it after command is executed succesfully

L5 Sessionator

I think the problem is with resolving DNS.. all other things you've mentioned are validated and it there ..Field_Content_versions_oct20__0682J000005k0T3QAI.png

But looks like your Powershell can resolve it, it is weird. Can you run the PostInstall command from powershell after enabling TLS 1.0 ? And let me know what you see

Same message as cmd when I run it from PS

Did you copy all the DLLs individually to the 'Server' Directory ? or copied to a folder in 'Server' Directory ?

copied to a folder in 'Server' Directory .. refer my placements below

Field_Content_versions_oct20__0682J000005k0UpQAI.png

  • 1313 Views
  • 29 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!