Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 14th February 2010, 16:56
smartin smartin is offline
Member
 
Join Date: Dec 2007
Posts: 82
Thanks: 3
Thanked 0 Times in 0 Posts
Default Newb: Most elegant way to generate *Self signed* ssl certificate?

Hi,

Petrified of breaking anything as usual...

I'm running ISPc3 on Ubuntu 8.04 LTS.

I need to generate a *self signed* ssl certificate for one of the sites I have running.

What is the most elegant way to do this please?

The only guides I can find (here for instance) say things like "Generate the cert like you normally would" or that I have to have an IP address for each site I need a cert for, which I definitely don't.

What's the best way?

Do I have to generate a key first somehow?

Don't even know where to start and I'd hate to break my ISPc3 setup...

tia :-)

S
Reply With Quote
Sponsored Links
  #2  
Old 16th February 2010, 10:59
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,717
Thanks: 820
Thanked 5,322 Times in 4,175 Posts
Default

Quote:
Don't even know where to start and I'd hate to break my ISPc3 setup...
Did you look at the website settings?

Enable ssl checkbox in the website settings, go to the ssl tab, enter the details for the ssl cert like country, organisation etc. and select "create" as action and click on save. Thats all.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 16th February 2010, 11:10
smartin smartin is offline
Member
 
Join Date: Dec 2007
Posts: 82
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
Did you look at the website settings?

Enable ssl checkbox in the website settings, go to the ssl tab, enter the details for the ssl cert like country, organisation etc. and select "create" as action and click on save. Thats all.
Till,

Yesterday I did exactly that and nothing seemed to happen. Today I find the SSL Request box and the SSL Certificate box populated. Something obviously did happen :-)

Is that it? https working?

If I place an html file inside the ssl directory of my site, I can't connect to it...

S

Last edited by smartin; 16th February 2010 at 11:14.
Reply With Quote
  #4  
Old 16th February 2010, 11:13
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,717
Thanks: 820
Thanked 5,322 Times in 4,175 Posts
Default

Yes, thats all. It takes some time to generate the ssl certs, you have to wait 1 - 2 minutes until the cert is visible in the ssl cert field.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 16th February 2010, 11:23
smartin smartin is offline
Member
 
Join Date: Dec 2007
Posts: 82
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
Yes, thats all. It takes some time to generate the ssl certs, you have to wait 1 - 2 minutes until the cert is visible in the ssl cert field.
Till,

Thanks for that.

Why can't I connect to an html document inside the ssl directory of my site?

I'm using https://www.mysite.co.uk/index.html
and
https://www.mysite.co.uk/ssl/index.html

My browser just times out... Nothing in the logs.

S
Reply With Quote
  #6  
Old 16th February 2010, 11:28
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,717
Thanks: 820
Thanked 5,322 Times in 4,175 Posts
Default

1) did you create the ssl direcrtory? As ispconfig does not use such a directory.
2) can you access the same file by http?
3) which errors are in the error log of the site and the global error or ssl logs?
4) Is your server listening on port 443?
5) did you open port 443 in the firewall or router, if you use one.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 16th February 2010, 11:49
smartin smartin is offline
Member
 
Join Date: Dec 2007
Posts: 82
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
1) did you create the ssl direcrtory? As ispconfig does not use such a directory.
2) can you access the same file by http?
3) which errors are in the error log of the site and the global error or ssl logs?
4) Is your server listening on port 443?
5) did you open port 443 in the firewall or router, if you use one.
Till,

1) Sorry, I misunderstood the ssl folder which ISPc3 creates... It's not a web folder at all is it?
Just for storing certs and keys?
4) Yes.
5) That was the problem

So... any page within my site can now be served over http or https. Yes?

I'll get the hang of all this stuff eventually won't I...?

S
Reply With Quote
  #8  
Old 16th February 2010, 11:51
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,717
Thanks: 820
Thanked 5,322 Times in 4,175 Posts
 
Default

Quote:
1) Sorry, I misunderstood the ssl folder which ISPc3 creates... It's not a web folder at all is it?
Thats the folder for the certificates, it is not a accessible web folder.

Quote:
So... any page within my site can now be served over http or https. Yes?
yes.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
smartin (16th February 2010)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 3 - CentOS 5.4 - SSL Problems!?! owainbaber Installation/Configuration 4 26th July 2011 17:12
Creating a SSL certificate - Quick guide SamTzu Tips/Tricks/Mods 22 4th January 2011 13:38
Is my postfix is hacked? bzzik Server Operation 21 15th July 2009 14:13
Final hurdle: How to generate SSL Certificate for Outlook? jimwil Installation/Configuration 8 28th June 2008 07:11
SSL for virtual hosts on one certificate rbartz Tips/Tricks/Mods 8 20th November 2007 17:59


All times are GMT +2. The time now is 01:46.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.