Skip to main content
Skip table of contents

How to generate Self-signed Certificate with OpenSSL for Veeam backup for Microsoft 365

Summary

For communication between our Veeam backup for Microsoft 365 portal and Microsoft 365 tenant you need to have a certificate. If you prefer you can use a self signed certificate. This article describes how you can do this.

Prerequisites

  • A Linux machine with OpenSSL installed.

Getting Started

  1. Execute the following commands to generate a self-signed certificate. (replace “certname” with your own certificate name).

    CODE
    openssl req -newkey rsa:2048 -nodes -keyout "certname"_key.pem -x509 -days 3650 -out "certname".pem
    openssl pkcs12 -inkey "certname"_key.pem -in "certname".pem -export -out "certname".pfx

  2. The command above will create a .pem file and .pfx file. You can use the PFX file to renew the certificate for Microsoft 365.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.