Page 1 of 1

[Solved] import SSL certificates FTP

Posted: 23 Oct 2023, 09:52
by blyshchak
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]

import SSL certificates FTP

Posted: 25 Oct 2023, 09:23
by fanthom
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

import SSL certificates FTP

Posted: 29 Oct 2023, 11:40
by blyshchak
Solved! thanks @fanthom! B)