Exchange Connection Problems

Troubleshoot Office 365 SMTP and Outlook REST Certificate Trust on IBM i

Elise WilliamsElise Williams Nov 25, 2026 869 views

Question details

The user needs to establish certificate trust for a third-party IBM i email product connecting to Office 365 SMTP and the Outlook REST API.

Troubleshoot Office 365 SMTP and Outlook REST Certificate Trust on IBM i
Product
Microsoft 365 SMTP and Outlook REST API
Device & OS
IBM i
Scenario
A third-party email product connects to smtp.office365.com and an Outlook REST endpoint, with certificate authorities imported manually on IBM i.
Observed behavior
The integration intermittently reports SSL trust errors, and the SMTP and REST services appear to present different certificates.
Before you start

Identify the exact REST hostname, SMTP port, connection settings, and IBM i certificate store used by the third-party product. Record the full trust error and when it occurs so the vendor can investigate the affected connection.

Solution 1Recommended

Inspect the current SMTP and REST certificate chains

Use this approach to compare the certificates actually presented by each endpoint before updating trust on IBM i.

Different services can present different certificate chains, and chains may change over time or between connections. Do not assume that importing a certificate observed once will permanently resolve the error.

1
Check the SMTP chain

From a system with OpenSSL, run `openssl s_client -starttls smtp -connect smtp.office365.com:587 -servername smtp.office365.com -showcerts` to inspect the SMTP certificates presented over STARTTLS.

2
Check the REST chain

Find the REST hostname in the third-party product's connection settings. From a system with OpenSSL, run `openssl s_client -connect REST_HOST:443 -servername REST_HOST -showcerts`, replacing both instances of REST_HOST with that hostname.

3
Verify the required authorities

Share the presented chains and the full error with the product vendor or IBM i administrator. Ask them to verify the required trusted certificate authorities and the certificate store used by the application.

4
Update the application trust store

Follow the vendor's instructions for importing verified CA certificates into the IBM i certificate store used by the product, then retry both SMTP and REST connections.

Inspect the current SMTP and REST certificate chains
Keep certificate validation enabled: Do not disable TLS certificate or hostname validation to bypass the error. Obtain and verify CA certificates through a trusted source before importing them.
Free Microsoft Office alternative

Work with Office documents in WPS Office

WPS Office is a free, lightweight alternative for working with Office documents through a familiar interface. Its format compatibility makes it easier to move existing files, but it does not repair Microsoft 365 SMTP or REST certificate trust.

Prepare and review documents to share in your email workflowOpen and edit common Microsoft Office formats, including DOCX, XLSX, and PPTXUse a familiar interface for everyday document tasksMove existing Office files into a lightweight productivity suite
microsoft office alternative - wps office

Frequently Asked Questions

Why do the SMTP and REST endpoints show different certificates?

They are separate services and can present different certificate chains. Inspect each configured endpoint separately rather than assuming they share the same certificate authority.

How can I inspect the Office 365 SMTP certificate chain?

With OpenSSL, run `openssl s_client -starttls smtp -connect smtp.office365.com:587 -servername smtp.office365.com -showcerts`. Share the result with your vendor or administrator to identify the required trusted authorities.

Which IBM i certificate store should I update?

The correct store depends on the third-party product and its configuration. Ask the vendor or IBM i administrator to identify the store the application uses before importing verified CA certificates.

Should I disable certificate validation to stop the errors?

No. Keep certificate and hostname validation enabled, and work with the vendor to verify the certificate chain and update the appropriate trust store.