Intermediate certificates

Web hosting, MySQL, PHP and all that good stuff.

Moderator: Lillian.W@AST

Post Reply
dandy010
Posts: 4
youtube meble na wymiar Warszawa
Joined: Wed Oct 16, 2013 1:37 am

Intermediate certificates

Post by dandy010 »

Please advice how to import intermediate certificate. Main certificate I have imported, but intermediate certificate can not be imported. Thank you.
User avatar
Kapitein Haak
Posts: 333
Joined: Tue Oct 15, 2013 2:40 pm
Location: Stranded on the Dutch coast.

Re: Intermediate certificates

Post 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.
"What would the world be like without Captain Hook?"
---
"Homo sapiens non urinat in ventum" (A wise man doesn't piss into the wind), only in Amsterdam:
https://www.google.nl/maps/@52.36289,4. ... 312!8i6656
dandy010
Posts: 4
Joined: Wed Oct 16, 2013 1:37 am

Re: Intermediate certificates

Post by dandy010 »

Thank you for your help, but unfortunately, this solution did not work.
I hope that official support Asustor advice.
Johnny77
Posts: 1
Joined: Sat Feb 14, 2015 2:51 pm

Re: Intermediate certificates

Post by Johnny77 »

This is extremely decent and tolerable post.....You shook posting it.....Thanks a considerable measure for posting it.....!! :geek: :roll: :ugeek:
Get free demos for Pass4sure - ccna security study guide exam and mcts exam with msu.edu guaranteed success. Our pmc.edu best quality prepares you well before appearing in the final exams.
TheDave1022
Posts: 104
Joined: Tue Dec 04, 2012 9:47 am

Re: Intermediate certificates

Post by TheDave1022 »

I submitted a Feature Request for better certificate management and for intermediate, but no responses.
http://forum.asustor.com/viewtopic.php?f=23&t=5221
crazynas
Posts: 222
Joined: Mon Feb 16, 2015 10:34 pm

Re: Intermediate certificates

Post by crazynas »

Hi
I agree...+1 ;)
Post Reply

Return to “Web Hosting”