MID Server did not Autoupgrade due to certificate errors-'Session contains no certificates - Untrusted'Issue MID Server didn't get upgraded automatically due to certificate errorsCauseCheck for error in Agent logs: 11/26/21 03:32:55 (115) MIDServer OCSPCheck adding BouncyCastle provider at -1 11/26/21 03:32:55 (116) MIDServer OCSPCheckedCertificateCache build with max capacity 32 11/26/21 03:32:55 (116) MIDServer OCSPRevokedCertificateCache build with max capacity 16 11/26/21 03:32:55 (116) MIDServer OCSPTimeoutErrorCache build with max capacity 16 11/26/21 03:32:55 (123) MIDServer WARNING *** WARNING *** org.apache.commons.httpclient.HttpException: Session contains no certificates - Untrusted 11/26/21 03:32:55 (123) MIDServer SEVERE *** ERROR *** getRecords failed (org.apache.commons.httpclient.HttpException: Session contains no certificates - Untrusted) 11/26/21 03:32:55 (134) MIDServer WARNING *** WARNING *** MIDRemoteGlideRecord.query failed, retrying in 10 seconds 11/26/21 03:33:05 (683) MIDServer Integration crypto failure protocol=HTTPS javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated: peer not authenticated Ask to add below commands keytool -import -alias MyCA1 -file "C:\certificate\cert1.cer" -keystore "C:\MID_Server\agent\Program Files\Java\jre1.8.0_161\lib\security\cacerts" keytool -import -alias MyCA2 -file "C:\certificate\cert2.cer" -keystore "C:\MID_Server\agent\Program Files\Java\jre1.8.0_161\lib\security\cacerts" keytool -import -alias MyCA3 -file "C:\certificate\cert3.cer" -keystore "C:\MID_Server\agent\Program Files\Java\jre1.8.0_161\lib\security\cacerts" keytool -import -alias MyCA4 -file "C:\certificate\cert4.cer" -keystore "C:\MID_Server\agent\Program Files\Java\jre1.8.0_161\lib\security\cacerts" Check if it works fine or getting below error on cmd prompt and still mid server is not upWarning: <thawtepremiumserverca [jdk]> uses a 1024-bit RSA key which is considered a security risk. This key size will be disabled in a future update. <verisignclass2g2ca [jdk]> uses a 1024-bit RSA key which is considered a security risk. This key size will be disabled in a future update. <verisignclass3ca [jdk]> uses a 1024-bit RSA key which is considered a security risk. This key size will be disabled in a future update. <verisignclass3g2ca [jdk]> uses a 1024-bit RSA key which is considered a security risk. This key size will be disabled in a future update. <verisigntsaca [jdk]> uses a 1024-bit RSA key which is considered a security risk. This key size will be disabled in a future update.ResolutionDownload the Mid Server Zip file.Upgrade Mid server manually.We see certificate errors in the logs. 11/26/21 03:32:55 (115) MIDServer OCSPCheck adding BouncyCastle provider at -1 11/26/21 03:32:55 (116) MIDServer OCSPCheckedCertificateCache build with max capacity 32 11/26/21 03:32:55 (116) MIDServer OCSPRevokedCertificateCache build with max capacity 16 11/26/21 03:32:55 (116) MIDServer OCSPTimeoutErrorCache build with max capacity 16 11/26/21 03:32:55 (123) MIDServer WARNING *** WARNING *** org.apache.commons.httpclient.HttpException: Session contains no certificates - Untrusted 11/26/21 03:32:55 (123) MIDServer SEVERE *** ERROR *** getRecords failed (org.apache.commons.httpclient.HttpException: Session contains no certificates - Untrusted) 11/26/21 03:32:55 (134) MIDServer WARNING *** WARNING *** MIDRemoteGlideRecord.query failed, retrying in 10 seconds 11/26/21 03:33:05 (683) MIDServer Integration crypto failure protocol=HTTPS javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated: peer not authenticated Download and import certificate in the key-store.Restart Mid server If any Ldap connectivity issue, clear the ECC files under monitors folder in host machine which in Agent/work/monitors/ECC