Skip to main content

Posts

Showing posts from May, 2022

OVA deployment fails with Invalid certificate

 Error: Deploy OVF fails with: Invalid certificate Solution: 1.Install OVF tool in any windows machine from:  https://customerconnect.vmware.com/downloads/details?ownloadGroup=OVFTOOL430&productId=742 2. Open a command prompt in Windows OS , navigate to the folder where you’ve installed the OVF tools. the default location is “program files 3.Skip manifesto check and create new OVA ovftool.exe  –skipManifestCheck <Source path:\Source OVA file name> <DESTINATION-PACKAGE-PATH\new OVA file name>

Windows Powershell is not recognized as an internal or external command, operable program or batch file

Error: Powershell is not recognized as an internal or external command, operable program or batch file   Solution: Right click PC->Properties->Environment Variable and add PATH Please add the below path to you Windows environment Variable: % SYSTEMROOT%\System32\WindowsPowerShell\v1.0\

Open SSL to verify Weak Ciphers

 Below Bash script gets the  list of supported cipher suites from OpenSSL and tries to connect using each one. If the handshake is successful, it prints  YES . If the handshake isn't successful, it prints  NO. ************* #!/usr/bin/env bash # OpenSSL requires the port number. SERVER=$1 DELAY=1 ciphers=$(openssl ciphers 'ALL:eNULL' | sed -e 's/:/ /g') echo Obtaining cipher list from $(openssl version). for cipher in ${ciphers[@]} do echo -n Testing $cipher... result=$(echo -n | openssl s_client -cipher "$cipher" -connect $SERVER 2>&1) if [[ "$result" =~ ":error:" ]] ; then error=$(echo -n $result | cut -d':' -f6) echo NO \($error\) else if [[ "$result" =~ "Cipher is ${cipher}" || "$result" =~ "Cipher :" ]] ; then echo YES else echo UNKNOWN RESPONSE echo $result fi fi sleep $DELAY done ******************* [TestMachine#] $ ./check_ciphers <Server IP:Po...