[Bug 225125] Re: /etc/ssl/private/ssl-cert-snakeoil.key is world readable

2011-01-01 Thread Launchpad Bug Tracker
[Expired for ssl-cert (Ubuntu) because there has been no activity for 60 days.] ** Changed in: ssl-cert (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. https://bugs.launchpad.net/bugs/22512

[Bug 225125] Re: /etc/ssl/private/ssl-cert-snakeoil.key is world readable

2010-01-06 Thread the.jxc
I encountered essentially the same problem with a Jaunty (9.04) installation. My problem was seemingly caused by having installed and configured dovecot BEFORE installing the postgres 8.3 server. My snakeoil key had the following permissions: r...@kingpin:/etc/postgresql/8.3/main# ls -l /etc/ss

[Bug 225125] Re: /etc/ssl/private/ssl-cert-snakeoil.key is world readable

2009-03-24 Thread Kees Cook
** This bug is no longer flagged as a security vulnerability -- /etc/ssl/private/ssl-cert-snakeoil.key is world readable https://bugs.launchpad.net/bugs/225125 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 225125] Re: /etc/ssl/private/ssl-cert-snakeoil.key is world readable

2008-10-10 Thread Ludovic Fierville
A possible solution to the impossibility to launch postgres : you should check that the postgres user is still a member of the sss-cert group. I botched the group membership by mistake and wasn't able to launch the server with the same error as above. Restoring the right membership solved the issu

Re: [Bug 225125] Re: /etc/ssl/private/ssl-cert-snakeoil.key is world readable

2008-09-20 Thread Martin Pitt
Mathi [2008-09-18 10:48 -]: > The command "sudo -u postgres head /var/lib/postgresql/8.3/main/server.key" > gives error as below > > head: cannot open `/var/lib/postgresql/7.4/main/server.key' for reading: > Permission denied Please give the output of sudo ls -ld /var/lib sudo ls -ld /var

[Bug 225125] Re: /etc/ssl/private/ssl-cert-snakeoil.key is world readable

2008-09-18 Thread Mathi
Hi all, I am using postgres 7.4 . I tried to enable SSL in it.. I was succesful in creating the files server.key, server.crt,server.crt.der But when i try to restart my server after that, it says FATAL: could not load private key file "/var/lib/postgresql/7.4/main/server.key": Permission denied

[Bug 225125] Re: /etc/ssl/private/ssl-cert-snakeoil.key is world readable

2008-06-19 Thread Mohan
Hi Martin Thanks for pointing out about my private ssl key. In reality, the 'head' command gave only a part of my private ssl-key file. So in that sense it is useless even if advertised. Yes, to be more secure, I did replace it with a new one that I generated - using the make-ssl-cert command

[Bug 225125] Re: /etc/ssl/private/ssl-cert-snakeoil.key is world readable

2008-06-19 Thread stani
@Martin I always do a fresh install, so I did of Hardy as well. I didn't configure anything manually. I tried to install postgresql on a different machine and no errors occurred there. So it must be my machine. If you want me to post more stuff, just tell me. -- /etc/ssl/private/ssl-cert-snake

[Bug 225125] Re: /etc/ssl/private/ssl-cert-snakeoil.key is world readable

2008-06-19 Thread Martin Pitt
stani, -rwxrwxrwx 1 root ssl-cert 887 2008-04-29 02:46 ssl-cert-snakeoil.key ugh, a world-readable and writable private SSL key? that's really, really bad; how did that happen, just during a gutsy->hardy upgrade, or did you configure that manually at some point? Mohan, actually I just asked whe

[Bug 225125] Re: /etc/ssl/private/ssl-cert-snakeoil.key is world readable

2008-06-18 Thread Mohan
Hello Martin Apologies for being out of loop for a few days Here is the output that you requested: - [EMAIL PROTECTED]:~$ sudo -u postgres head /var/lib/postgresql/8.3/main/server.key -BEGIN RSA PRIVATE KEY- MIICXgIBAAKBgQDJYQBvBGn0qar3EXCxgrEXfKrnuUIfGDSIhQSOh5

[Bug 225125] Re: /etc/ssl/private/ssl-cert-snakeoil.key is world readable

2008-06-18 Thread stani
After changing the permissions, I could dist-upgrade successfully: $ sudo ls -l /etc/ssl/private/ssl-cert-snakeoil.key -rw-r- 1 root ssl-cert 887 2008-04-29 02:46 /etc/ssl/private/ssl-cert-snakeoil.key -- /etc/ssl/private/ssl-cert-snakeoil.key is world readable https://bugs.launchpad.net/bu

[Bug 225125] Re: /etc/ssl/private/ssl-cert-snakeoil.key is world readable

2008-06-18 Thread stani
I run into the same problem when trying to install postgresql 8.3 ... (sorry for the dutch) $ sudo apt-get dist-upgrade Pakketlijsten worden ingelezen... Klaar Boom van vereisten wordt opgebouwd Statusinformatie wordt gelezen... Klaar Opwaardering wordt doorgerekend... Klaar 0 pakketten opg

[Bug 225125] Re: /etc/ssl/private/ssl-cert-snakeoil.key is world readable

2008-06-13 Thread Martin Pitt
Hm, this is really weird. Just to confirm, if you do this: sudo -u postgres head /var/lib/postgresql/8.3/main/server.key does that work, or do you get an error message? What is the current permission on that file, still 640 root:ssl-cert? -- /etc/ssl/private/ssl-cert-snakeoil.key is world read

[Bug 225125] Re: /etc/ssl/private/ssl-cert-snakeoil.key is world readable

2008-06-11 Thread Mohan
Hi Martin Yes, here is the clip: --- [EMAIL PROTECTED]:~$ id postgres uid=110(postgres) gid=108(ssl-cert) groups=108(ssl-cert),120(postgres) [EMAIL PROTECTED]:~$ -- Postgres is in the ssl-cert group. regards Mohan -- /etc/ssl/private/ss

[Bug 225125] Re: /etc/ssl/private/ssl-cert-snakeoil.key is world readable

2008-06-11 Thread Martin Pitt
Mohan, this has got nothing to do with the ssl cert, but is the default configured in pg_hba.conf. See http://www.postgresql.org/docs/8.2/interactive/client- authentication.html for details. In particular, if you want password based authentication, change "ident" to "md5". As for your SSL problem,

[Bug 225125] Re: /etc/ssl/private/ssl-cert-snakeoil.key is world readable

2008-06-10 Thread Mohan
Hi Lukasz and Martin Thanks a lot for your quick response. Here is the output desired: -- [EMAIL PROTECTED]:/# ls -ld /etc/ssl/private/ drwxr-x--- 2 root ssl-cert 4096 2008-05-28 16:19 /etc/ssl/private/ [EMAIL PROTECTED]:/# ls -l /etc/ssl/private/ total 4 -rwxr- 1 ro

Re: [Bug 225125] Re: /etc/ssl/private/ssl-cert-snakeoil.key is world readable

2008-06-09 Thread Martin Pitt
Mohan [2008-06-09 13:19 -]: > [EMAIL PROTECTED]:/var/lib/postgresql/8.3/main# ls -l > /etc/ssl/private/ssl-cert-snakeoil.key > -rwxr- 1 root ssl-cert 891 2008-05-28 16:19 > /etc/ssl/private/ssl-cert-snakeoil.key It should be "640", not "740", but that isn't the cause of your breakage her

[Bug 225125] Re: /etc/ssl/private/ssl-cert-snakeoil.key is world readable

2008-06-09 Thread Lukasz
Hello Mohan! I have psql happily running. Executable flag on key file is not necessary (that was my fault as well) and/or could even be forbidden in this case - try to set exact permission flags. Check also directory permission and owners. # ls -ld /etc/ssl/private/ drwx--x--- 2 root ssl-cert 40

[Bug 225125] Re: /etc/ssl/private/ssl-cert-snakeoil.key is world readable

2008-06-09 Thread Mohan
Hello Am trying to install openbravoERP (it needs postgresql) on Kubuntu 8.4. Through adept manager, I installed postgresql 8.3. Initially it would not recognise postgres as a user - following tips on the internet I had to change the following line in the folder /etc/postgres/8.3/main and in f

[Bug 225125] Re: /etc/ssl/private/ssl-cert-snakeoil.key is world readable

2008-05-16 Thread Martin Pitt
> Shame on me :( No reason for that at all, I'm glad that you reported this. If this is really caused by an Ubuntu package, it's a very serious problem. But with the currently available data I don't know where to look and fix it. :-/ Thus I cannot do much with the current report. -- /etc/ssl/pri

[Bug 225125] Re: /etc/ssl/private/ssl-cert-snakeoil.key is world readable

2008-05-15 Thread Lukasz
Yes, there is a chance that I accidentally changed file permission :( I am not so certain anymore that it was not my mistake. I didn't need psql for 10 days and didn't care if it is running either. So after such a long time I could have forgotten what I was doing. On the other hand I don't know ho