Page 1 of 1

Intermediate certificates

PostPosted: Fri Jan 02, 2015 4:41 pm
by dandy010
Please advice how to import intermediate certificate. Main certificate I have imported, but intermediate certificate can not be imported. Thank you.

Re: Intermediate certificates

PostPosted: Fri Jan 02, 2015 5:43 pm
by Kapitein Haak
Hello dandy010,

Until you get an official answer from Asustor (create a new ticket at support.asustor.com) you could try the following:

(Backup and then) modify /volume0/usr/etc/lighttpd/setting.conf:
Code: Select all
var.http_port = 8000

$SERVER["socket"] == ":" + var.http_port {
}

$SERVER["socket"] == "[::]:" + var.http_port {
}

var.https_port = 8001

$SERVER["socket"] == ":" + var.https_port {
   server.name = "<yourdomain.ext>"
   ssl.engine   = "enable"
   ssl.ca-file = "/volume1/<filelocation>/ca-certs.crt"
   ssl.pemfile = "/volume1/<filelocation>/ssl.crt"
}

$SERVER["socket"] == "[::]:" + var.https_port {
   ssl.engine   = "enable"
   ssl.pemfile = "/usr/etc/lighttpd/lighttpd.pem"
}

server.port = var.http_port
Replace the domainname and the filelocations/filenames to your liking. The ca-certs.crt should contain root and intermediate certificates. If I recall correctly, this should survive a reboot of the NAS.

Best regards,
Kapitein Haak.

Re: Intermediate certificates

PostPosted: Sat Jan 03, 2015 2:36 pm
by dandy010
Thank you for your help, but unfortunately, this solution did not work.
I hope that official support Asustor advice.

Re: Intermediate certificates

PostPosted: Sat Feb 14, 2015 2:52 pm
by Johnny77
This is extremely decent and tolerable post.....You shook posting it.....Thanks a considerable measure for posting it.....!! :geek: :roll: :ugeek:

Re: Intermediate certificates

PostPosted: Mon Mar 23, 2015 9:40 pm
by TheDave1022
I submitted a Feature Request for better certificate management and for intermediate, but no responses.
viewtopic.php?f=23&t=5221

Re: Intermediate certificates

PostPosted: Mon Mar 23, 2015 10:49 pm
by crazynas
Hi
I agree...+1 ;)