My servicebus has an expired certificate. So I would like to change it.
I have tried the following
PS C:\Program Files\Service Bus\1.0> Set-SBCertificate -SBFarmDBConnectionString 'Data Source=MYDBSERVER\MYINSTANCE;Initial Catalog=SbManagementDB;Integrat ed Security=True' -FarmCertThumbprint 'dac7fc30d5c534a151d3f21cbdee557ea9abfdfa' Set-SBCertificate : Certificate requested with thumbprint 6450F755020335011BC6D6B5522675DCF15EC94A not found in the certificate store LocalMachine\My.
6450F755020335011BC6D6B5522675DCF15EC94A is the thumbprint of the expired certificate
I've tried following this article. But after running certutil -repairstore my “serialnumber” and get-sbfarm I once again get:
get-sbfarm : Certificate requested with thumbprint 6450F755020335011BC6D6B5522675DCF15EC94A not found in the certificate store LocalMachine\My. At line:1 char:1 + get-sbfarm
So, how can I change an expired certificate for ServiceBus ?