Skip to content

Commit

Permalink
tweak(Tinebase/Cli): improve SSL check to monitoringMailServers
Browse files Browse the repository at this point in the history
... do not wait for user interaction on success
  • Loading branch information
pschuele committed Jun 4, 2024
1 parent d21cdd9 commit cb871c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tine20/Tinebase/Frontend/Cli.php
Original file line number Diff line number Diff line change
Expand Up @@ -1424,7 +1424,7 @@ public function monitoringMailServers()
} else {
// check SSL (certificate expired...)
if ($port === 993 || $port === 587) {
$command = 'openssl s_client -connect ' . $host . ':993 -quiet -verify_return_error 2>&1';
$command = 'echo -n Q | openssl s_client -connect ' . $host . ':993 2>&1';
exec($command, $output, $result_code);
$output = print_r($output, true);

Expand Down

0 comments on commit cb871c0

Please sign in to comment.