Share via

Need SSL certificate of smtp.office365.com to used on a custom app build on oracle application for auto mailers.

Anonymous
2024-10-08T08:15:29+00:00

Need SSL certificate of smtp.office365.com to used on a custom app build on oracle application for auto mailers.

Microsoft 365 and Office | Subscription, account, billing | For business | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Anonymous
    2024-10-09T08:59:34+00:00

    Hi Taylor Davey,

    To configure Oracle applications to send automated emails using Office 365's SMTP relay, the command openssl s_client -connect smtp.office365.com:587 -starttls smtp is useful for testing the connection to the Office 365 SMTP server over TLS.

    Here’s the general process for setting up SMTP relay for Oracle auto mailers with Office 365:

    1. Establishing a Secure Connection: Run the command:
       bashCopy codeopenssl s_client -connect smtp.office365.com:587 -starttls smtp
      
      This connects to the Office 365 SMTP server using the STARTTLS protocol, which ensures your connection is secured before sending any email data. If successful, you’ll see details of the SSL certificate used by smtp.office365.com.
    2. Configure Oracle Workflow Mailer: Within Oracle Workflow Mailer, you need to configure the mailer to use the Office 365 SMTP server:
      • SMTP Host: smtp.office365.com
      • SMTP Port: 587 (for STARTTLS)
      • Encryption: STARTTLS (this ensures secure communication)
      • SMTP Authentication: Yes, use your Office 365 credentials (e.g., a dedicated service account)
    3. TLS/SSL Certificates: Office 365 uses public root certificates (such as DigiCert), which are trusted by most systems. If your system does not recognize these by default, you might need to ensure the root and intermediate certificates are installed on your Oracle server. In most cases, however, this is not necessary for cloud-based services like Office 365​.
    4. SMTP Relay Settings: You will also need to ensure that your Office 365 tenant is configured to allow SMTP relay. You may use Direct Send, SMTP client submission, or configure connectors in Exchange Online for more advanced setups depending on your use case.

    Once you’ve established the connection, the Oracle application can relay emails through Office 365 securely. Let me know if you need help with any specific part of the process!

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Anonymous
    2024-10-09T08:42:49+00:00

    Thanks for your reply.

    But according to Download the office 365 SMTP and IMAP server SSL certificates - Microsoft Community, how I can set relay for oracle application for auto mailers?

    I have read that,

    " openssl s_client -connect smtp.office365.com:587 -starttls smtp" by using this command

    can connect to SMTP server! If yes may I have the process?

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-10-08T10:33:13+00:00

    Hello Taylor Davey
       Good day! Thank you for posting in the community. 

    To obtain an SSL certificate for smtp.office365.com for use in a custom application built on Oracle Application for auto mailers, follow these steps: It is important to note that Office 365 does not provide SSL certificates directly. Instead, SSL certificates are typically issued by trusted Certificate Authorities (CAs) like Comodo, Symantec, and GoDaddy. For reference: Download the office 365 SMTP and IMAP server SSL certificates - Microsoft Community

    1. Select a Certificate Authority (CA): Choose a reputable CA to issue an SSL certificate.
    2. Generate a Certificate Signing Request (CSR):
      • In your Oracle Application environment, generate a CSR. This usually involves creating a private key and a CSR file. The CSR contains details about your organization and the domain (in this case, smtp.office365.com) for which you are obtaining the certificate.
    3. Submit the CSR to the CA:
      • Follow the instructions provided by your selected CA to submit your CSR. The CA will validate your request and issue the SSL certificate.
    4. Install the SSL Certificate:
      • Once you receive the SSL certificate from the CA, install it on your application to establish a secure connection with smtp.office365.com.
    5. Configure Your Application:
      • Update your Oracle Application configurations to use the newly installed SSL certificate for secure communication.

    After installation and configuration, test the connection to ensure that your application can communicate securely with smtp.office365.com. You can use tools to verify the SSL certificate and its validity.

    By following these steps, you can successfully obtain and implement the SSL certificate for your custom application.

    Was this answer helpful?

    0 comments No comments