SSL Install User does not exist!

westhost-neil

Well-Known Member
Jun 3, 2005
48
0
156
UK
I'm trying to install an SSL on one of my accounts. I've done this loads of times and have never had any problems. This particular user already has an SSL installed and all I'm trying to do is renew the SSL.

This is what I do:

Click Install a SSL Certificate
Enter the domain in the domain field (ie. www.domain.com)
The user, IP address and RSA fields are automatically filled in (I've double checked and the details are correct)
I paste the CRT and ca bundle in the appropriate boxes.
Click Submit and I receive: You must specify a valid username: user does not exist!

This account is active, the site works perfectly ok with the current SSL installed. I've tried changing the username but I still get the same error. I've renewed SSL's before so I know how this should work.

Any advice?

Neil Westlake
 

Mindlash

Well-Known Member
Jul 7, 2003
77
0
156
I too seem to be getting that error.

When I type in the domain name, the IP address and username are the only fields that are filled out. 'fetching' either the CRT or KEY return nothing. This domain already has an SSL installed but will be expiring shortly.

Manually pasting in the CRT yields the same error as reported above.

What gives?
 

Mindlash

Well-Known Member
Jul 7, 2003
77
0
156
Not sure if this will help YOU or not westhost-neil, but you can run:

/scripts/installssl

and give it all the information it asks

after that ran, I restarted HTTP, and all was good (I had also some issue with SSL not getting initialized the first time).

I did the following:

service httpd stop
service xinetd stop
service cpanel stop
killall -9 httpd
service xinetd start
service cpanel start
service httpd start

all was good, but still need to know why this user does not exist error pops up.

Anyone else?
 

wisenerl

Member
Sep 27, 2006
10
0
151
I get that too, question though. using /scripts/installssl once you paste the cert in how do you move to the next stage? I cant return or quit...
 

Mindlash

Well-Known Member
Jul 7, 2003
77
0
156
Here's the process (with comments in red)


From the prompt:

[email protected] [/]# /scripts/installssl (Press Enter)
What domain is the cert for (the one on the certif)? www.yourdomain.com (Press Enter)
What user is the ssl host for? usernamehere (Press Enter)
What ip is the ssl host for? x.x.x.x (Press Enter)
[SSL {domain:www.yourdomain.com} {user:usernamehere} {ip:x.x.x.x}]
Paste in your ssl cert (Have on your clipboard everything from the ----- BEGIN CERTIFICATE ----- to the end of ----- END CERTIFICATE ----- and hit paste)
HTML:
-----BEGIN CERTIFICATE-----
MIIDUzCCAr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LZlCtn/Aq0u8TzJuMONX+5H7xg9E
-----END CERTIFICATE-----
(Press Enter if it's just sitting there)
Certif installed
HTTPD.CONF editted


That should do it.
 

wisenerl

Member
Sep 27, 2006
10
0
151
Thanks will try that, it did just sit there after pasting in the cert even after pressing return
 

wisenerl

Member
Sep 27, 2006
10
0
151
Weird, it wont work for me at all, it just sits there afterpasting in the cert and does nothing
 

westhost-neil

Well-Known Member
Jun 3, 2005
48
0
156
UK
Hi Mindlash,

Thanks for the info, it seems to have worked perfectly.

Followed your instructions, restarted Apache and the SSL was updated.

Thanks again.
 

wisenerl

Member
Sep 27, 2006
10
0
151
Just a final note on this.

The problem that started this thread was a bug in the latest release but it has now been fixed with the latest release.
 

nicklas

Well-Known Member
Dec 22, 2005
117
0
166
cPanel Access Level
Root Administrator
Hi,

This is still a problem with my cPanel version 10.9.0 C82

I did what was suggested ( the manual process with /scripts/installssl ), after restarting Apache it showed all fine in the WHM, but the https://www.domain.com went straigt to the main domain name and not the addon domain where the ssl is installed!

Any suggestions?

Thanks