Hi homerjs Please refer the article, it would help you to understand the API usage and configuration- https://community.sophos.com/kb/en-us/132560
Regards,
KeyurCommunity Support Engineer | Sophos Support Sophos Support Videos | Knowledge Base | @SophosSupport | Sign up for SMS Alerts | If a post solves your question use the 'This helped me' link
i want Change the tls certificate
the "update" script works only wenn set it to "SecurityAppliance_SSL_CA"
when i Change the cer "let" , via script then ERROR 500
when i Change with gui then ok too.
<?xml version="1.0" encoding="UTF-8"?><Request> <Login> <Username>xxxx</Username> <Password>xxxxx</Password> </Login> <Set operation="update"> <EmailConfiguration> <GeneralSettings> <EmailSignature/> </GeneralSettings> <SMTPSSettings> <smtphostname>xxxxxx</smtphostname> <DontScanEmailsGreaterThan>1024</DontScanEmailsGreaterThan> <ActionForOversizeEmails>Accept</ActionForOversizeEmails> <BypassSpamCheck>Disable</BypassSpamCheck> <VerifySendersIPReputation>Disable</VerifySendersIPReputation> <SMTPSDosSettings>Enable</SMTPSDosSettings> <MaximumConnections>42</MaximumConnections> <MaximumConnectionsHost>10</MaximumConnectionsHost> <MaximumEmailsConnection>1000</MaximumEmailsConnection> <MaximumRecepientsEmail>100</MaximumRecepientsEmail> <EmailsRate>1000</EmailsRate> <ConnectionsRate>100</ConnectionsRate> </SMTPSSettings> <POPIMAPSettings> <DontScanEmailsGreaterThan>1024</DontScanEmailsGreaterThan> <RecipientHeaders> <Header>Delivered-To</Header> <Header>Received</Header> <Header>X-RCPT-TO</Header> </RecipientHeaders> </POPIMAPSettings> <SMTPTLSConfiguration> <TLSCertificate>SecurityAppliance_SSL_CA</TLSCertificate> <AllowInvalidCertificate>Enable</AllowInvalidCertificate> <DisableTLS1>Disable</DisableTLS1> </SMTPTLSConfiguration> <POPSIMAPTLSConfiguration> <TLSCertificate>SecurityAppliance_SSL_CA</TLSCertificate> <AllowInvalidCertificate>Enable</AllowInvalidCertificate> <DisableTLS1>Disable</DisableTLS1> </POPSIMAPTLSConfiguration> </EmailConfiguration></Set></Request>
Hi homerjs Do you want to use a third-party certificate in the TLS certificate?Did you upload the certificate in the device?You might get some help from this article- https://community.sophos.com/products/xg-firewall/f/sophos-xg-firewall-general-discussion/102208/upload-certificate-using-api
hello
yes this is a letsencyrt certificate.
is upload.
i can select and assign via gui. and it works.
but with api no.
Hi homerjs Did you check the thread responses I have shared in the previous post?I would request you to contact technical support and open a service request, please PM us the service request number to track the details further.
I'm gonna go with the API functionality is probably broken when it comes to email settings... I get the same thing, no matter what I try to retrieve under the email settings...