HEX
Server: Microsoft-IIS/10.0
System: Windows NT ITPWINWEBSVR22 10.0 build 20348 (Windows Server 2022) AMD64
User: www.conferencesearch.co.uk (0)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: D:/web/mailadmin/hm_ssltls.php
<?php
if (!defined('IN_WEBADMIN'))
   exit();

if (hmailGetAdminLevel() != 2)
	hmailHackingAttemp();

$obSettings	= $obBaseApp->Settings();

$action	   = hmailGetVar("action","");

if($action == "save")
{
	$obSettings->VerifyRemoteSslCertificate= hmailGetVar("VerifyRemoteSslCertificate",0);
	$obSettings->SslCipherList = hmailGetVar("SslCipherList", "");
	
	$obSettings->TlsVersion10Enabled = hmailGetVar("TlsVersion10Enabled", 0);
	$obSettings->TlsVersion11Enabled = hmailGetVar("TlsVersion11Enabled", 0);
	$obSettings->TlsVersion12Enabled = hmailGetVar("TlsVersion12Enabled", 0);
	$obSettings->TlsVersion13Enabled = hmailGetVar("TlsVersion13Enabled", 0);
	
}

$VerifyRemoteSslCertificate = $obSettings->VerifyRemoteSslCertificate;      
$SslCipherList 				= $obSettings->SslCipherList;
$TlsVersion10Enabled 		= $obSettings->TlsVersion10Enabled;
$TlsVersion11Enabled 		= $obSettings->TlsVersion11Enabled;
$TlsVersion12Enabled 		= $obSettings->TlsVersion12Enabled;
$TlsVersion13Enabled 		= $obSettings->TlsVersion13Enabled;
?>

<h1><?php EchoTranslation("Security")?></h1>

<form action="index.php" method="post" onSubmit="return formCheck(this);">
   <?php
      PrintHiddenCsrfToken();
      PrintHidden("page", "ssltls");
      PrintHidden("action", "save");
   ?>   
   
   <div class="tabber">
      <div class="tabbertab">
         <h2><?php EchoTranslation("General")?></h2>            
   
      	<table border="0" width="100%" cellpadding="5">
            <tr>
               <th width="30%"></th>
               <th width="70%"></th>
            </tr>            

			<?php
				PrintPropertyAreaRow("SslCipherList", "SSL/TLS ciphers", $SslCipherList, 12, 80);
				PrintCheckboxRow("VerifyRemoteSslCertificate", "Verify remote server SSL/TLS certificates", $VerifyRemoteSslCertificate);
				PrintCheckboxRow("TlsVersion10Enabled", "TLS v1.0", $TlsVersion10Enabled);
				PrintCheckboxRow("TlsVersion11Enabled", "TLS v1.1", $TlsVersion11Enabled);
				PrintCheckboxRow("TlsVersion12Enabled", "TLS v1.2", $TlsVersion12Enabled);
				PrintCheckboxRow("TlsVersion13Enabled", "TLS v1.3", $TlsVersion13Enabled);
			?>
      		
      	</table>
      </div>
   </div>   
   <?php
      PrintSaveButton();
   ?>
     
</form>