Web Hosting Talk







View Full Version : https / SSL


sigmund
02-06-2003, 04:34 PM
WHM 5.3.0
Cpanel 5.3.0-R117
RedHat 7.2

I have generated a cert in the WHM for one of the accounts on my server.

After installing it, everything seems ok and the accounts domain shows up in the "List SSL Hosts".

I just can not figure out how to access the account using https:// .

Do I have to create a separate subdomain to handle the secure transfers? What do I have to do to access the accounts mainpage (https://www.domain.com/index.htm)?

Btw, I am a complete newbie :cartman: when it comes to SSL, so please include any common knowledge I might need.

Thnx...

forefront
02-10-2003, 04:07 AM
Man, I'm with you! I've got 25 years in the computer industry, but this SSL thing is a bit stratospheric for me, too.

DMH DaZ
02-10-2003, 04:18 AM
Well i arent that experiencec in SSL either, but when i setup SSL on an account.. the url was https://server1.domain.com/~hosteddomain.com/

Hope this helps

Cheers
Darren

beachtrader
02-10-2003, 11:04 AM
After the cert is installed you just need to do the following:


Put the files you want to access with SSL in the public_html directory and then access them with:

https://www.mydomain.com/myfile.htm

Make sure the www.mydomain.com is the same as in the cert when you generated it. Basically, if you want to use www.mydomain.com you can or you can create a subdomain such as www.secure.mydomain.com. If you create a subdomain then generate a cert with the name as www.secure.mydomain.com. But in either case the files you want to access securely just have to be in the public_html folder or any folder you create under public_html. SSL starts when you use https: rather than http:

Is this what you are looking for?

sigmund
02-10-2003, 03:29 PM
Thnx, it helped alot.

When I got the domain *and* account login right it worked.

I forgot the www. in front of the domain too, which caused problems.

For the others who had similar problems, this is how I made it:

1. generate a cert/key/requestkey. To do this go to "Generate a SSL Certifcate and Signing Request".

2. Install cert. To do this go to "Install a SSL Certificate and Setup the Domain". (Go to "SSL manager", refresh frame, click .crt-file. for certificate. The .key should be mailed to you.) (Include lines like -----BEGIN CERTIFICATE----- & -----END CERTIFICATE-----)

I typed the domains/hosts like this "www.domain.com". I expect the "user" in step 2 to be the account-user-login, but I'm not sure.

I accessed the page via https://www.domain.com/ and it worked fine.

:cool: