Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #197075 > unrolled thread

Re: Webmail?

Started byZenaan Harkness <zenaan@gmail.com>
First post2018-07-01 12:00 +0200
Last post2018-07-04 05:20 +0200
Articles 5 — 4 participants

Back to article view | Back to linux.debian.user


Contents

  Re: Webmail? Zenaan Harkness <zenaan@gmail.com> - 2018-07-01 12:00 +0200
    Re: Webmail? Richard Hector <richard@walnut.gen.nz> - 2018-07-01 12:50 +0200
      Re: Webmail? Zenaan Harkness <zenaan@freedbms.net> - 2018-07-02 03:20 +0200
    Re: Webmail? "Michelle Konzack" <linux4michelle@tamay-dogan.net> - 2018-07-01 15:00 +0200
      Re: Webmail? Richard Hector <richard@walnut.gen.nz> - 2018-07-04 05:20 +0200

#197075 — Re: Webmail?

FromZenaan Harkness <zenaan@gmail.com>
Date2018-07-01 12:00 +0200
SubjectRe: Webmail?
Message-ID<w6Hjb-Px-1@gated-at.bofh.it>
On Sun, Jul 01, 2018 at 10:57:53AM +0300, Michelle Konzack wrote:
> Hi Joe,
>
> I know, I am a little bit late, but I use Squirrelmail since more
> then 15 years now and had no problems from Woody to Stretch with it.
>
> I use it even to access my GMail account  :-)  because then I have
> not to bother with those stupid GMail interface and I can do whatever
> I want.
>
> Best is you create a seperated Virtualhost like <webmail.example.com>
> and decompress the Squirrelmail archive into it. The run the config
> script in  [DOCROOT]/config/conf.pl and set it up.
>
> Should work out of the box.
>
> Oh, use https:// and make sure any security is activated in conf.pl.

And with your self-issued snake oil certs, make sure you check and
confirm the cert on each device you want to use to access your
webmail server, from your home network, so that if you eventually
tunnel in or otherwise access it 'on the road', you have already
verified your own snake oil cert and a MITM should stand out like
unicorn balls.

Good luck,

[toc] | [next] | [standalone]


#197081

FromRichard Hector <richard@walnut.gen.nz>
Date2018-07-01 12:50 +0200
Message-ID<w6I5z-1lO-5@gated-at.bofh.it>
In reply to#197075

[Multipart message — attachments visible in raw view] — view raw

On 01/07/18 21:57, Zenaan Harkness wrote:
>> Oh, use https:// and make sure any security is activated in conf.pl.

> And with your self-issued snake oil certs, make sure you check and
> confirm the cert on each device you want to use to access your
> webmail server, from your home network, so that if you eventually
> tunnel in or otherwise access it 'on the road', you have already
> verified your own snake oil cert and a MITM should stand out like
> unicorn balls.

For any server on the internet, I don't see the point in using
self-signed certs any more, now that letsencrypt gives you real ones for
free.

It's a bit more of a pain for a server that's only accessed internally,
but still doable, if you can set up a dummy site for verification (there
are ways to do it without a web server, but I haven't needed that yet)

Richard

[toc] | [prev] | [next] | [standalone]


#197117

FromZenaan Harkness <zenaan@freedbms.net>
Date2018-07-02 03:20 +0200
Message-ID<w6VFv-P7-3@gated-at.bofh.it>
In reply to#197081
On Sun, Jul 01, 2018 at 10:40:13PM +1200, Richard Hector wrote:
> On 01/07/18 21:57, Zenaan Harkness wrote:
> >> Oh, use https:// and make sure any security is activated in conf.pl.
> 
> > And with your self-issued snake oil certs, make sure you check and
> > confirm the cert on each device you want to use to access your
> > webmail server, from your home network, so that if you eventually
> > tunnel in or otherwise access it 'on the road', you have already
> > verified your own snake oil cert and a MITM should stand out like
> > unicorn balls.
> 
> For any server on the internet, I don't see the point in using
> self-signed certs any more, now that letsencrypt gives you real ones for
> free.

Only a -true- Scotsman would self sign and issue his own SSL certs :)

I believe it's degrees of snake oil...


> It's a bit more of a pain for a server that's only accessed internally,
> but still doable, if you can set up a dummy site for verification (there
> are ways to do it without a web server, but I haven't needed that yet)

It's actually a bit of an open question, but the real question is
"what level of security do you actually need or want?" … of course.

Consider e.g.:

 - how to conduct an MITM?
   - get a copy of private key, issue additional cert
   - get private key, issue intermediate cert
   - get intermediate cert key, issue other intermediate certs

 - is an MITM of concern to you?
   - I do/don't care if the govt has open access to my certs,
     and can/can't MITM my users
   - I do/don't care if Random J Cracker can MITM my telecommuting
     co-workers

Most of us by now will have read at least one article about the CIA
and NSA's cornucopia of network cracking tools, bugs, physical
network bugs and "rogue" hosts hosted at every host hoster worth his
hosting salt - google, amazon, your local ISP, etc - oh, and "by
consent, possibly with $ inducement and implied threat of legal
sanction for failure to 'co-operate' with said inducement".

But again, what level of security do you need?

 ∙ If you want minimum pain web servers accessible to the public,
   providing "basic trust level", then LetsEncrypt is likely your
   best approach.

 ∙ If you don't have "general public access" as a requirement, and
   you are willing to double check each device accessing your local
   network to ensure they've each pre-loaded your internal-only web
   server cert, then your own PKI and self signed certs may give you
   higher security (barring catastrophic mistakes on your part), and
   certainly more control.

   In this scenario, if you don't need control over the private keys
   to your electronic kingdom - by all means, use a commercial or
   free provider, and LetsEncrypt is perhaps about as good as it
   gets.

   For those after a higher level of certainty and control however,
   there is no substitute to offline master key generation and
   storage, private PKI and total in-house control over all
   sub-keys/sub-certs, issuances, revocations and per-device key
   signature double checking.

If you want anything even resembling certainty that is...


Here's a true fist hand anecdote:

 A few years ago, I was setting up a VM and some basic web services
 for a client with a top tier 'reputable' provider - one of the
 largest in Australia, at least at the time.

 When connecting via ssh for the first time, the usual "This is a new
 host, here's the sig, do you confirm this is the correct signature"
 type message came up.

 So I check the time and it's well after peak hour (about 11pm), and
 quickly dial their 24-hour tech support line, asking for someone to
 please check the host signature (this was virtual hosting, just
 before VMs took off), so as to preclude any superficial MITM
 swankery.

 The tech says to me "Um, I'm not sure about that, I've never been
 asked that question before," and promptly bumps it up to a deep tech
 PoC (person of competency), who double checks the host SSH sig hash
 from their internal network, confirms it's correct, then he too says
 "you know, as far as I'm aware, in over 15 years, this is the first
 time, ever, that any client has ever asked us to confirm their end
 to end encryption/ signature!" I confirmed that he had in fact
 worked at the company since it began.


And most important - if you intend to configure your own PKI for
"increased security" purposes, note that you really need to make sure
you use certificate pinning for your own org's certs, or disable the
other CAs "by default trusted" by your client OS browsers! - The easy
way is use a Firefox profile for your company/ internal websites/
VPN/ telecommuters and make sure only your CA is the trusted root in
that profile! (and make sure that your internal web sites can only be
accessed from that profile) :

 Are self-signed certificates actually more secure than CA
 signed certificates now?
 https://security.stackexchange.com/questions/42409/are-self-signed-certificates-actually-more-secure-than-ca-signed-certificates-no



See also:

4 fatal problems with PKI
https://www.csoonline.com/article/2942072/security/4-fatal-problems-with-pki.html

SSL certificate revocation and how it is broken in practice
https://medium.com/@alexeysamoshkin/how-ssl-certificate-revocation-is-broken-in-practice-af3b63b9cb3

When are self-signed certificates acceptable for businesses?
https://www.techrepublic.com/article/when-are-self-signed-certificates-acceptable-for-businesses/

Good luck :)

[toc] | [prev] | [next] | [standalone]


#197083

From"Michelle Konzack" <linux4michelle@tamay-dogan.net>
Date2018-07-01 15:00 +0200
Message-ID<w6K7n-2sx-1@gated-at.bofh.it>
In reply to#197075
Am 2018-07-01 hackte Zenaan Harkness in die Tasten:
> And with your self-issued snake oil certs,

I use "Let's Encrypt"!

<https://webmail.tamay-dogan.net/>

-- 
Michelle Konzack        Miila ITSystems @ TDnet
GNU/Linux Developer     00372-54541400

[toc] | [prev] | [next] | [standalone]


#197185

FromRichard Hector <richard@walnut.gen.nz>
Date2018-07-04 05:20 +0200
Message-ID<w7GuJ-3zc-3@gated-at.bofh.it>
In reply to#197083

[Multipart message — attachments visible in raw view] — view raw

On 02/07/18 00:53, Michelle Konzack wrote:
> Am 2018-07-01 hackte Zenaan Harkness in die Tasten:
>> And with your self-issued snake oil certs,
> 
> I use "Let's Encrypt"!
> 
> <https://webmail.tamay-dogan.net/>

That link doesn't seem to be a good advertisement for how to set up
https ... I get an SSL error. :-)

It wouldn't help much anyway, in this context; perhaps you meant to link
to https://letsencrypt.org/ ?

Richard

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web