Hi @Jan De Smet ,
A special Rpc error occurs on server "server": The private key couldn't be exported as PKCS-12. It either couldn't be accessed or isn't exportable.
According to the error message, it could be that the private key was not set as exportable when the certificate was renewed. Did you include the parameter -PrivateKeyExportable
when renewing the certificate? If not, it’s suggested to renew the certificate by the following command so that the private key is exportable:
Get-ExchangeCertificate -Thumbprint <Thumbprint>| New-ExchangeCertificate -PrivateKeyExportable $true
The PrivateKeyExportable parameter specifies whether the certificate has an exportable private key, and the default value is $false. Please refer to: New-ExchangeCertificate (ExchangePowerShell) | Microsoft Learn
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.