Fatal: TLSRSACertificateFile: '/etc/gadmin-proftpd/certs/cert.pem' does not exist on line 58 of '/etc/proftpd/proftpd.conf' GADMIN complaints about a missing Certificate -

Bug #569864 reported by Søren Bredlund Caspersen
46
This bug affects 10 people
Affects Status Importance Assigned to Milestone
gadmin-proftpd (Debian)
Fix Released
Unknown
gadmin-proftpd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: gadmin-proftpd

With a clean install of gadmin-proftpd when I start the program from Applications -> System Tools and click Activate, without any changes to the standard configuration i get a new windows with the following error message:

 - Fatal: TLSRSACertificateFile: '/etc/gadmin-proftpd/certs/cert.pem' does not exist on line 58 of '/etc/proftpd/proftpd.conf'

I of course expected no error message, since I haven't asked it to worry about any certificates, so from an 'out of the box' perspective, this shouldn't happen.

The /etc/gadmin-proftpd/certs/cert.pem file doesn't exist:
/etc/gadmin-proftpd# ls
proftpd.conf.old.gadmin-proftpd-0.3.8 settings.conf

I am attaching the proftp.conf file

$ lsb_release -rd
Description: Ubuntu lucid (development branch)
Release: 10.04

$ apt-cache policy gadmin-proftpd
gadmin-proftpd:
  Installed: 1:0.3.8-1
  Candidate: 1:0.3.8-1
  Version table:
 *** 1:0.3.8-1 0

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gadmin-proftpd 1:0.3.8-1
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
NonfreeKernelModules: fglrx
Architecture: i386
Date: Sun Apr 25 20:09:46 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100318)
ProcEnviron:
 LANG=en_DK.utf8
 SHELL=/bin/bash
SourcePackage: gadmin-proftpd

Revision history for this message
Søren Bredlund Caspersen (soeren-b-c) wrote :
summary: - GADMIN complaints about a missing Certificate
+ Fatal: TLSRSACertificateFile: '/etc/gadmin-proftpd/certs/cert.pem' does
+ not exist on line 58 of '/etc/proftpd/proftpd.conf' GADMIN complaints
+ about a missing Certificate -
Revision history for this message
Matthew Stefanski (mss272) wrote :

I'm seeing this after upgrading from 9.10 to 10.04. The upgrade wanted to add an include modules.conf but it left the existing proftpd.conf in place and created new proftpd.conf.proftpd-old and proftpd.conf.proftpd-new files.

diff proftpd.conf.proftpd-old proftpd.conf.proftpd-new
0a1,5
> #
> # Includes required DSO modules. This is mandatory in proftpd 1.3
> #
> Include /etc/proftpd/modules.conf

When trying to start proftpd with this new file I get the same gadmin-proftpd certs error as above.

Revision history for this message
vluhd (cplus-vluhd) wrote :

I'm seeing exactly the same thing.

Revision history for this message
Anarchid (anarchid) wrote :

Seconded. Reinstalling both packages doesn't help either.

Revision history for this message
Anarchid (anarchid) wrote :

Actually if you scroll down to the bottom of config settings, there's an "Apply" button that lets you generate the certificate, which gixes the problem.

However, that only makes it break on the next step with "System start/stop links for /etc/init.d/proftpd already exist." printed to the console, and no changes in interface.

Changed in gadmin-proftpd (Debian):
status: Unknown → New
Revision history for this message
wuxiaoliang (wxlg1117) wrote :

 - Fatal: TLSRSACertificateFile: '/etc/gadmin-proftpd/certs/cert.pem' does not exist on line 58 of '/etc/proftpd/proftpd.conf'

you can find three lines in /etc/proftpd/proftpd.conf:
TLSRSACertificateFile /etc/gadmin-proftpd/certs/cert.pem
TLSRSACertificateKeyFile /etc/gadmin-proftpd/certs/key.pem
TLSCACertificateFile /etc/gadmin-proftpd/certs/cacert.pem
then you plus the # in front of each sentence,and you can start gadmin-proftpd wiht no error

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gadmin-proftpd (Ubuntu):
status: New → Confirmed
Changed in gadmin-proftpd (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.