Support the Arctic Sea Ice Forum and Blog

Author Topic: Self-signed certifcate for HTTPS?  (Read 12374 times)

Artful Dodger

  • Frazil ice
  • Posts: 459
  • The traps have got him, and that's all about it!
    • View Profile
  • Liked: 24
  • Likes Given: 127
Self-signed certifcate for HTTPS?
« on: February 21, 2013, 02:25:28 AM »
Hi Fred (hi Neven),

Is it feasible to create a self-signed SSL certificate for use with the new forum?

http://en.wikipedia.org/wiki/Self-signed_certificate

It would ease some of the scary-looking security warnings that most web browsers display when connecting with HTTPS

And it provides a good value proposition: Free!  ;D
Cheers!
Lodger

danbashaw

  • New ice
  • Posts: 2
    • View Profile
  • Liked: 0
  • Likes Given: 0
Re: Self-signed certifcate for HTTPS?
« Reply #1 on: February 21, 2013, 02:44:21 AM »
I think the site currently has a self-signed certificate, which is what is causing the warning message. Only a certificate from a CA will be accepted without the alert.

Those cost about $60 a year if you shop around, so we need to pass the hat! Is there a PayPal tip jar?

Artful Dodger

  • Frazil ice
  • Posts: 459
  • The traps have got him, and that's all about it!
    • View Profile
  • Liked: 24
  • Likes Given: 127
Re: Self-signed certifcate for HTTPS?
« Reply #2 on: February 21, 2013, 03:10:28 AM »
Hi,

The SSL cert currently in use by the Forum is owned by:
(see my screenshot, attached)

ssl15.ovh.net

This is in fact a self-signed certificate (see the "Issued by" section of the cert).

The warnings currently shown are due to the fact that the name on the SSL cert does not match the name of the Forum:

forum.arctic-sea-ice.net

Whether we 'pass-the-hat' for a CA-issued cert, or we create a self-signed cert, is not the question right now.

The question is, do we have the technical means to assign a different cert on this virtual host. Or to cause it to happen. That's what I'm asking Fred.
« Last Edit: February 21, 2013, 03:15:24 AM by Artful Dodger »
Cheers!
Lodger

DungeonMaster

  • Administrator
  • Frazil ice
  • Posts: 156
    • View Profile
  • Liked: 20
  • Likes Given: 3
Re: Self-signed certifcate for HTTPS?
« Reply #3 on: February 21, 2013, 08:18:55 AM »
Sorry, it's a low-range server right now, there's no way to add a certificate. Ways to change this:
- we may have so many users and readers that later we must change for a bigger, 'real' server - with a real certificate;
- or, sooner, I'll look for a way to integrate with a generic login system (openid, google, facebook ?)
- and I'll add a word on the New Account page to ask people not to use their "standard" password, so the risk is reduced if they're spied.

On the other hand, I've been using http forum for decades and never been hacked... so don't be over-alarmed !
This forum helps me to feel less uncomfortable about "doing something" about the melting Arctic and the warming world.

Artful Dodger

  • Frazil ice
  • Posts: 459
  • The traps have got him, and that's all about it!
    • View Profile
  • Liked: 24
  • Likes Given: 127
Re: Self-signed certifcate for HTTPS?
« Reply #4 on: February 21, 2013, 09:05:36 PM »
On the other hand, I've been using http forum for decades and never been hacked... so don't be over-alarmed !

Hi Fred. Ask Daniel Bailey about the break-in and password theft at skeptical science. Or UBC Victoria. Or East Anglia. The threat is real, well-funded, and relentless.

If people login via HTTP (not HTTPS) and reuse the same password on this forum as their email account, they are vulnerable.
Cheers!
Lodger

Neven

  • Administrator
  • First-year ice
  • Posts: 9740
    • View Profile
    • Arctic Sea Ice Blog
  • Liked: 1374
  • Likes Given: 621
Re: Self-signed certifcate for HTTPS?
« Reply #5 on: February 21, 2013, 10:03:24 PM »
On the other hand, we have nothing to offer here, except for Arctic sea ice, but that's like Kryptonite to fake skeptics.  ;D
Make money, not peace

DungeonMaster

  • Administrator
  • Frazil ice
  • Posts: 156
    • View Profile
  • Liked: 20
  • Likes Given: 3
Re: Self-signed certifcate for HTTPS?
« Reply #6 on: February 21, 2013, 10:36:12 PM »
Lodger is right, it can be dangerous for the users here IF they have their 'universal' password stolen. I only have different passwords and no general scheme to remember them - but most people have one or few passwords.

If you have precious and multiple assets, multiply the keys on your keyring.

I'm going to look for solutions.
This forum helps me to feel less uncomfortable about "doing something" about the melting Arctic and the warming world.

Artful Dodger

  • Frazil ice
  • Posts: 459
  • The traps have got him, and that's all about it!
    • View Profile
  • Liked: 24
  • Likes Given: 127
Re: Self-signed certifcate for HTTPS?
« Reply #7 on: February 21, 2013, 10:41:12 PM »
Sorry, it's a low-range server right now, there's no way to add a certificate.

Hi Fred,

The issue with Apache is that an SSL cert can normally only be assigned to one virtual host, unless a unique IP address or port is assigned to the 2nd virtual host:

http://www.virtualmin.com/node/20250

This approach would work if we could get, say, port 444 (or any other) reserved for our virtual host. Then we'd just require ssl in apache's .htaccess file (would have to be done by 'root'). This would automatically redirect http access to https on port 444

The problem with this approach is that anyone that manually goes to https would still go to port 443 on the Host, and would then end up at the wrong site, even though they typed in the name of our forum. YUCK! :P

There is a better work-around for use with Apache called 'SNI' (Server Name Indication):

http://wiki.apache.org/httpd/NameBasedSSLVHostsWithSNI

Quote
"With SNI, you can have many virtual hosts sharing the same IP address and port, and each one can have its own unique certificate (and the rest of the configuration)."

Unfortunately, due to the level at which this approach must be implemented, it would have to be preformed by 'root' on the host server. This is probably more work than our service provider is interested in doing for us, but we could ask. It'd be a nice upgrade for them, and their own SSL cert expires on May 5 this year, so they might be willing to make the other changes at the same time.

In summary, there may well be no simple + effective way out of this. In that case I think our best way forward is to train our forum members:
  • DO NOT use the same password as your email
  • Login with HTTPS
  • Create a Security Certificate Exception in your web browser

A 'sticky' thread could be created and place at the top of the Forum to do this.
Cheers!
Lodger

DungeonMaster

  • Administrator
  • Frazil ice
  • Posts: 156
    • View Profile
  • Liked: 20
  • Likes Given: 3
Re: Self-signed certifcate for HTTPS?
« Reply #8 on: February 21, 2013, 11:56:52 PM »
Lodger,

I've installed these tools many times for my serverd and for customers - and I know most tricks about them. But there is absolutely no way to install our own cert on this server.

So we're going to create a sticky note, plus I'm looking for a way to change the login screen to tell them NOT TO REUSE a password, and I've found a nice tool to use existing credentials - but I won't install it before testing it on another site / server, with exactly the same config.
This forum helps me to feel less uncomfortable about "doing something" about the melting Arctic and the warming world.

Artful Dodger

  • Frazil ice
  • Posts: 459
  • The traps have got him, and that's all about it!
    • View Profile
  • Liked: 24
  • Likes Given: 127
Re: Self-signed certifcate for HTTPS?
« Reply #9 on: February 22, 2013, 12:04:15 AM »
So we're going to create a sticky note, plus I'm looking for a way to change the login screen to tell them NOT TO REUSE a password, and I've found a nice tool to use existing credentials - but I won't install it before testing it on another site / server, with exactly the same config.

That will be good. Thanks so much for all your effort, Fred. Greatly appreciated!
Cheers!
Lodger

DungeonMaster

  • Administrator
  • Frazil ice
  • Posts: 156
    • View Profile
  • Liked: 20
  • Likes Given: 3
Re: Self-signed certifcate for HTTPS?
« Reply #10 on: February 22, 2013, 12:16:59 AM »
I've added the warning on the registration screen.

Neven can you please add the sticky note ?

 Next steps will follow.
This forum helps me to feel less uncomfortable about "doing something" about the melting Arctic and the warming world.

MikeAinOz

  • New ice
  • Posts: 20
    • View Profile
  • Liked: 0
  • Likes Given: 2
Re: Self-signed certifcate for HTTPS?
« Reply #11 on: February 22, 2013, 10:37:22 AM »
Hi Guys,

Great to see the forum but you need a proper certificate. Create a tip jar please, I certainly don't mind paying a bit.

An email address for a Bpay would be adequate.

Regards

Mike
Mike Allen

Neven

  • Administrator
  • First-year ice
  • Posts: 9740
    • View Profile
    • Arctic Sea Ice Blog
  • Liked: 1374
  • Likes Given: 621
Re: Self-signed certifcate for HTTPS?
« Reply #12 on: February 22, 2013, 03:07:05 PM »
Gentlemen, if I understood correctly you want me to make a stickied thread with a HTTPS- explanation at the top of the 'The forum' board?
Make money, not peace

Artful Dodger

  • Frazil ice
  • Posts: 459
  • The traps have got him, and that's all about it!
    • View Profile
  • Liked: 24
  • Likes Given: 127
Re: Self-signed certifcate for HTTPS?
« Reply #13 on: February 22, 2013, 06:12:40 PM »
Great to see the forum but you need a proper certificate. Create a tip jar please, I certainly don't mind paying a bit.

Hi Mike,

If you are able, please review the discussion above between Fred "the Dungeon Master" and myself.

We do want our own SSL cert, but Fred informs us there is no way to implement that with our current service provider.

It's not an issue with choosing between a self-signed Cert or one issued by a CA for a small annual fee. It is a technical limitation of using a Virtual Host on Apache.

Hope this helps.  ???
Cheers!
Lodger

DungeonMaster

  • Administrator
  • Frazil ice
  • Posts: 156
    • View Profile
  • Liked: 20
  • Likes Given: 3
Re: Self-signed certifcate for HTTPS?
« Reply #14 on: February 22, 2013, 06:29:47 PM »
Of course when we have hundreds of posters the server will be toooo slow and we shall move to a big server with gazillions of RAM and SSDs so we can have a real certificate. But I thought that it would be wiser to install this first server and see if it seems useful...
This forum helps me to feel less uncomfortable about "doing something" about the melting Arctic and the warming world.

Laurent

  • Young ice
  • Posts: 2547
    • View Profile
  • Liked: 13
  • Likes Given: 50
Re: Self-signed certifcate for HTTPS?
« Reply #15 on: May 08, 2013, 09:29:28 PM »
It is the third time that the forum ask me to sign the certificate !
Is it normal ?

Artful Dodger

  • Frazil ice
  • Posts: 459
  • The traps have got him, and that's all about it!
    • View Profile
  • Liked: 24
  • Likes Given: 127
Re: Self-signed certifcate for HTTPS?
« Reply #16 on: May 09, 2013, 12:16:37 AM »
It is the third time that the forum ask me to sign the certificate !
Is it normal ?

Yes, this has happened to me each of my last two sessions.

Fred, has there been a change to the server host? Thanks?
Cheers!
Lodger

NeilT

  • First-year ice
  • Posts: 6624
    • View Profile
  • Liked: 431
  • Likes Given: 22
Re: Self-signed certifcate for HTTPS?
« Reply #17 on: May 09, 2013, 10:31:34 PM »
I installed the certificate into the trusted root certificate store using IE10 on my machines.  except my Netbook which seems to have blocked certificate installs for some reason.

I still get a red cert bar but it doesn't prompt any more.
Being right too soon is socially unacceptable.

Robert A. Heinlein