Microsoft BizTalk Adapter Service Setup Wizard Ended Prematurely


Azure BizTalk Services SDK installation was interrupted, during the installation of last component(Runtime Component) i.e., BizTalk Adapter Service

BizTalk Wizard


Clicked on the log file to see the actual reason for failure.

Wizard ended prematurely

As can be seen in image below nothing significant was there

log file


Why it happened:


So why it happened? to find it had a look at Event Viewer --> Windows Logs--> System  and there it was "The SSL server credential's certificate does not have a private key information property attached to it"

Event viewer


The error says that the certificate provided does not have private key associated with it. It makes sense, I had provided the self signed certificate which was downloaded after provisioning the BizTalk service and it has only public key associated with it.


What to do:

We need to provide certificate with private key as it will be used while creating the web site on the machine where you are running this setup.

We can create a self signed certificate for which we have private key, to create it ,open Developer Command Prompt for VS2012 and with help of makecert  we create a self signed certificate 

makecert -pe -r -n "CN=demo" -e "12/01/2019" -sr LocalMachine -ss root


-pe : Marks the generated private key as exportable
-r : Creates a self-signed certificate.
-e : Specifies the end of the validity period
-sr : Specifies the subject's certificate store location. location can be either currentuser (the default) or localmachine
-ss: Specifies the subject's certificate store name that stores the output certificate
command prompt

You can see the certificate created under Trusted Root Certification Authorities of the Local Computer certificate store

trusted root certificate store
And using certutil we export the private key of the above created certificate from certificate store

certutil -exportPFX -p "demopassword" root demo demo.pfx

cert util


After we are done with export, we need to provide this to IIS server as when we install the Runtime an on-premise web service running in IIS is installed and this  BAS web service needs to be secured and for that we need a self-signed certificate for which we have a private key. To provide IIS the certificate, open IIS manager, navigate to Server Certificate

 iis manager
Right-click on the screen and select Import. Click on the ellipsis (...) on the Import Certificate Window, select the private key (.pfx file) we exported in the previous step

Import certificate


and enter the password (the one provided while exporting) and leave the default values as it is

  Import certificate 1

You can see the certificate added in Server Certificates



server certificate

and Personal store as well

personal store




Allright, so next is to rerun the installation of Runtime component, this time I selected the above created certificate (demo) instead of the certificate downloaded from portal while provisioning BizTalk Service on portal(testbizserv1.biztalk.windows.net)
wizard setup
Port left as default 8080
port left as default

wizard setup


And the installation was successful

installation successful








  If you have questions or suggestions, feel free to do in comments section below !!!


Do share if you find this helpful .......
 
                          Knowledge Sharing is Caring !!!!!!



Related Post 


6 Comments

If you have any suggestions or questions or want to share something then please drop a comment

  1. Life saver! Thanks!

    ReplyDelete
  2. Since the admin of this site is working, no question very
    soon it will be renowned, due to its quality contents.

    ReplyDelete
  3. Amazing! This blog looks exactly like my old one!

    It's on a totally different topic but it has pretty much the same page layout and design. Superb choice of colors!

    ReplyDelete
  4. Good post! We will be linking to this particularly great
    content on our website. Keep up the great writing.

    ReplyDelete
  5. Drones are the way of the near future. I'm glad I was able to find this wonderful article!
    I learned whatever couldn't know out of this.

    ReplyDelete
  6. I merely wanted to thank you yet again for this amazing blog you have created here.
    It really is full of useful tips for those who are really interested in this particular subject, specifically this very post.
    You're really all so sweet plus thoughtful of others as well
    as reading your site posts is a great delight in my experience.
    And such a generous present! Jeff and I usually have
    pleasure making use of your ideas in what
    we should do in a month's time. Our record is a kilometer long
    and tips will definitely be put to beneficial
    use.

    ReplyDelete
Previous Post Next Post