How do I generate a TLS Certificate so I can use FTPS

Need help with FileZilla Server? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Message
Author
mikeshick
500 Command not understood
Posts: 3
Joined: 2020-11-02 13:36
First name: Mike
Last name: Shick

How do I generate a TLS Certificate so I can use FTPS

#1 Post by mikeshick » 2021-10-29 00:23

I'm not sure what I put for
Distinguished Name

or

Hostname

User avatar
botg
Site Admin
Posts: 35508
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: How do I generate a TLS Certificate so I can use FTPS

#2 Post by botg » 2021-10-29 07:55

Enter all the hostnames the server will be reachable under from the Internet.

The distinguished name (DN) provides details about the certificate subject, such as name and company details. It's a comma-separated list of relative distinguished names (RDN). You can leave if empty.

xincun
500 Command not understood
Posts: 4
Joined: 2018-10-10 14:39

Re: How do I generate a TLS Certificate so I can use FTPS

#3 Post by xincun » 2021-11-12 15:41

Creating a certificate in the old version is step-by-step and includes various options. Is there a complete example or step-by-step guide for the new version?

User avatar
botg
Site Admin
Posts: 35508
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: How do I generate a TLS Certificate so I can use FTPS

#4 Post by botg » 2021-11-15 09:12

Not yet.

alho
500 Command not understood
Posts: 1
Joined: 2021-11-17 15:04

Re: How do I generate a TLS Certificate so I can use FTPS

#5 Post by alho » 2021-11-17 15:06

Getting "Path must be absolute" on try to "Regenarate" button

User avatar
boco
Contributor
Posts: 26913
Joined: 2006-05-01 03:28
Location: Germany

Re: How do I generate a TLS Certificate so I can use FTPS

#6 Post by boco » 2021-11-22 07:27

No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

xincun
500 Command not understood
Posts: 4
Joined: 2018-10-10 14:39

Re: How do I generate a TLS Certificate so I can use FTPS

#7 Post by xincun » 2022-02-11 07:20

boco wrote:
2021-11-22 07:27
Try the latest Nightly.

https://filezilla-project.org/nightly.php?type=server
1.2/1.3 still no example steps and options to create a self-signed certificate. Don't know the details of the certificate in use.

User avatar
boco
Contributor
Posts: 26913
Joined: 2006-05-01 03:28
Location: Germany

Re: How do I generate a TLS Certificate so I can use FTPS

#8 Post by boco » 2022-02-11 14:56

My post was in response to the previous one. Regarding your enhancement requests, @botg's answer is still valid.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

MidnightInAurora
500 Command not understood
Posts: 2
Joined: 2022-03-03 04:25

Re: How do I generate a TLS Certificate so I can use FTPS

#9 Post by MidnightInAurora » 2022-03-03 04:34

Just installed 1.3 and it seems to be working well. Nice upgrade from 0.9.

I have a TLS cert question. I can create a self-signed cert, but only with a 2nd level domain name; i.e., thisdomain.com.

Our development server doesn't have a domain name, just a Windows Server 2019 computer name; i.e., DEVELOPMENT-2019.

Is there a way to put the computer name in the Certificate Data Hostnames field?

Thanks.

Jim

User avatar
oibaf
Contributor
Posts: 398
Joined: 2021-07-16 21:02
First name: Fabio
Last name: Alemagna

Re: How do I generate a TLS Certificate so I can use FTPS

#10 Post by oibaf » 2022-03-03 09:30

Next release will remove the need for a 2nd level domain name in self-signed certificates.

For now, as a workaround don't use a domain name at all for the self-signed certificate, and if you still want the certificate to contain the computer name, you can put that into the distinguished name field, with a line like the following:

Code: Select all

CN=<computer name>

MidnightInAurora
500 Command not understood
Posts: 2
Joined: 2022-03-03 04:25

Re: How do I generate a TLS Certificate so I can use FTPS

#11 Post by MidnightInAurora » 2022-03-03 12:22

oibaf wrote:
2022-03-03 09:30

Code: Select all

CN=<computer name>
"CN=" worked. Thank you for taking the time to answer my question.

Jim

rbehnfeldt
500 Command not understood
Posts: 2
Joined: 2021-10-29 19:04
First name: Reed
Last name: Behnfeldt

Re: How do I generate a TLS Certificate so I can use FTPS

#12 Post by rbehnfeldt » 2022-03-03 19:53

Convenient this thread is active. I was trying to generate a self-signed cert, but putting in the name that the server is reachable from on the internet (e.g. google.com), with the sub domain included (ftp.google.com), or even just the public IP address (X.X.X.X) results in failing to generate the ticket. Filezilla server version 1.2

After I wrote this I found that the solution was to leave the distinguished name blank for anyone who comes around looking for an answer. Good Luck!

User avatar
oibaf
Contributor
Posts: 398
Joined: 2021-07-16 21:02
First name: Fabio
Last name: Alemagna

Re: How do I generate a TLS Certificate so I can use FTPS

#13 Post by oibaf » 2022-03-03 21:19

rbehnfeldt wrote:
2022-03-03 19:53
Convenient this thread is active. I was trying to generate a self-signed cert, but putting in the name that the server is reachable from on the internet (e.g. google.com), with the sub domain included (ftp.google.com), or even just the public IP address (X.X.X.X) results in failing to generate the ticket. Filezilla server version 1.2

After I wrote this I found that the solution was to leave the distinguished name blank for anyone who comes around looking for an answer. Good Luck!
What were you inserting in the Distinguished Name? You don't need to leave it blank, but it must contain correct data.

User avatar
botg
Site Admin
Posts: 35508
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: How do I generate a TLS Certificate so I can use FTPS

#14 Post by botg » 2022-03-03 22:41

oibaf wrote:
2022-03-03 21:19
it must contain correct data
Syntactically correct at least. You can claim to be the reptile space pope and the server will gladly accept it :mrgreen:

xincun
500 Command not understood
Posts: 4
Joined: 2018-10-10 14:39

Re: How do I generate a TLS Certificate so I can use FTPS

#15 Post by xincun » 2022-05-07 15:48

Where is the certificate?

Unable to view certificate details, such as encryption protocol.

No example.

x509 Certificate Fields: Email Address (E) error.

Post Reply