[Solved] import SSL certificates FTP

'User made' tutorials related to Porteus Kiosk edition.
Official kiosk documentation can be find here: http://porteus-kiosk.org/documentation.html
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
blyshchak
White ninja
White ninja
Posts: 16
Joined: 27 Jul 2017, 14:37
Distribution: linux

[Solved] import SSL certificates FTP

Post#1 by blyshchak » 23 Oct 2023, 09:52

Hello everyone, I'm trying to import SSL certificates via FTP, does anyone have an idea of the correct syntax?

import_certificates=ftp://domain/porteus/certfificate_name.pem or crt
import_certificates=192.168.1.100:21/porteus/certfificate_name.pem or crt

or other syntax? thank you
My FTP server does not have AUTH.


+++++++++++++++++++++++++++++++++++++++++
Function: Import SSL certificates
Parameter: import_certificates
Description:

Import additional SSL certificates from a file (certificate.crt, certificate.pem, certificate.der) or directly from the domain to certificate database during every system boot. Self-signed certificates are not supported.
If the parameter is not present then kiosk uses only SSL certificates which are available in the system by default.
Following parameter value format must be preserved: 'URL', 'domain:port' or 'ip:port'.
Multiple parameter values must be separated by space.

Examples:

import_certificates=http://domain.com/files/certificate1.crt http://domain.com/files/certificate2.pem
import_certificates=192.168.1.100:8888
import_certificates=kernel.org:443 localdomain:1010
import_certificates=server://certificate1.crt server://certificate2.der[/i][/i][/i][/i]
Last edited by blyshchak on 29 Oct 2023, 11:54, edited 1 time in total.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

import SSL certificates FTP

Post#2 by fanthom » 25 Oct 2023, 09:23

Your syntax is good:

Code: Select all

import_certificates=ftp://domain/porteus/certfificate_name.pem
I believe FTP authentication and non default port would also work:

Code: Select all

import_certificates=ftp://username:password@domain.com:port/porteus/certfificate_name.pem
Thanks
Please add [Solved] to your thread title if the solution was found.

blyshchak
White ninja
White ninja
Posts: 16
Joined: 27 Jul 2017, 14:37
Distribution: linux

import SSL certificates FTP

Post#3 by blyshchak » 29 Oct 2023, 11:40

Solved! thanks @fanthom! B)

Locked