webCommander, SSL Certificate Installation

webCommander by VMware Fling allows the users to execute PowerCLI scripts to run reports, commands…etc via GUI. This means that managers or higher level people can easily generate reports based on their need!

Last week, I’ve installed and migrated most of my scripts. Before releasing it to others, I decided to install a SSL certificate as it parses the password in plain text. webCommander runs on IIS 8 and it was easy enough to generate a .csr file and import the .crt file. I won’t go through the exact steps, refer to this link http://www.entrust.net/knowledge-base/technote.cfm?tn=8713 or there are many other sites going through how to.

After installing and configuring the site bindings, I could access the webCommander site using https. I went to run several scripts to make sure it works. During the testing, I found two issues on:

    • Submit button not loading the script
    • Any buttons on workflow not doing anything

While debugging the code, I found that two files webCmd.xsl and workflow.html were loading jQuery using http! Details are shown below.

webCmd.xsl

<link rel=”stylesheet” href=”https://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css” />
<script src=”https://code.jquery.com/jquery-1.8.3.js”></script>
<script src=”https://code.jquery.com/ui/1.9.2/jquery-ui.js”></script> 

workflow.html

 <link rel=”stylesheet” href=”https://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css” />
<script src=”https://code.jquery.com/jquery-1.9.1.js”></script>
<script src=”https://code.jquery.com/ui/1.9.2/jquery-ui.js”></script> 

 

After modifying them, the issues were solved.

Hope this helps to people who are planning to install a SSL certificate on webCommander.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s