Jump to content

How Does The Free Shared Ssl Work?


slick

Recommended Posts

I have a related question.

 

In order to easily access my webmail, I added a webmail login form to my website using the following code.

 

><form name="webmail">
	<input type="hidden" value="****" name="server" maxlength="30" size="15">
	<label for="username">Username:</label>
	<input type="text" name="username" id="username" size="20"><br /><br />
	<label for="password">Password:</label>
	<input type="password" name="password" id="password" size="20"><br /><br />
	<input type="button" value="Login" onClick="Login(this.form)" name="button">
</form>

 

This form utilizes the following javascript code in response to a click on the Login button:

><script language="JavaScript" type="text/javascript"> 
	function Login(form) { 
		var username = form.username.value
		var password = form.password.value
		var server = form.server.value
		if (username && password && server) {
			var horde = "https://" + username +"+"+server+ ":" + password + "@" + server + ":2096/" + "horde/index.php"
			window.status='WebMail'
			window.location = horde
		} 
		else { 
			alert("Please fill the username and the password")
		}
	}
</script>

 

I got this login script from the TCH website (http://www.totalchoicehosting.com/help/horde-form.txt) and modified it to use the secure login "https://" and port 2096 instead of port 2095.

 

Upon logging in, I am greeted with the following error message:

Security Error: Domain Name Mismatch

You have attempted to establish a connection with "****." However, the security certificate presented belongs to "server26.tchmachines.com." Blah blah blah

 

I read through the webpage referenced earlier (http://www.totalchoicehosting.com/help/sslpage.htm) but don't quite understand how I can get rid of this error.

 

Anyone got a solution?

 

Many thanks!

Kasey

Link to comment
Share on other sites

Kasey,

 

The warning you are getting is because the name on the SSL certificate does not match your domain name. If you are using the shared SSL cert on the server, that is correct. The shared cert has the server name on it, in this case server26.tchmachines.com.

 

If you don't want to see the domain mismatch warning, you would need to purchase a certificate for your domain.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...