Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

Using the auto generated certificates causes "Bad Key" issue if the certificates are used again. (On Premise 1.1)

$
0
0

When "reusing" the certificates from "auto generation", a second install creates an error.

Created and configured Service Bus farm management database.
Created and configured Service Bus gateway database.
Creating default container.
Bad Key.

Steps to reproduce.

(1)

Use Configuration Wizard or Powershell (New-SBFarm and Add-SBHost ) to Install Service Bus 1.1 using "Auto Generate" certificates. (-CertificateAutoGenerationKey switch)

(2)

Remove from Farm this machine.  (Leave the auto generated certificates "in tact" on the machines).

(3)

Use Configuration Wizard or Powershell (New-SBFarm and Add-SBHost ) to Install (a second time) Service Bus 1.1NOT using "Auto Generate" certificates. (-FarmCertificateThumbprint and -EncryptionCertificateThumbprint switches)  Use the Thumbprints of the certificates that were generated above.

You'll get an error

Bad Key.

Can anyone confirm this as a bug?

The problem is that this kills my disaster recovery attempts. (I need to be able to reinstall the certificates on a "new" machine if my original machines go kaputt)

I've also tried making my own self signed certficates, but that's another story.  (The client machine refuses to talk to Machine2-5 of the Farm).  (I mention this because I think that would be a suggestion ..... ).


Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>