You are here
Hi,
I have a Tkl file server version 12.0.
I want to install the ssl certificate for the webmin console https://<ipaddress>
For this, I am following the below steps:
1) Create a Pem file from the key and cer file using the cat command:
Command used: cat abc.domain.com.key abc.domain.com.cer > cert.pem
2) Create a Pem file from the Root and the Intermediate certificates using the cat command:
Command used: cat abc.domain.com.key abc.domain.com.cer intermediatecer01.cer
intermediatecer02.cer rootcer.cer > chainedcert.pem
3) Copied the above certificates in the directory: /etc/ssl/certs
4) Go to directory /etc/lighttpd/conf-available and click the file 10-ssl.conf
root@tkl# /etc/init.d/lighttpd restart
Can somebody please reply on this?
Hi friends,
I am sure many of you experts out there would have installed the ssl certs successfully on the Tkl Fileservers. I would appreciate if you guys can please look at my problem description and help me out.
Thanks
JN
What are you trying to achieve?
TKL appliances come with auto generated self signed certificates - so you don't need to do anything if that is what you are after.
If you are trying to get rid of the SSL warning when you contact the site via HTTPS, then you'll need to purchase a cert that is signed by a Certificate Authority (CA). Security certs will always give a warning unless they are signed by a recognised third party (i.e. a CA).
Trying to install a cert signed by our own Internal CA
Hi Jeremy,
Thanks for the reply.
Requirement is to install an Ssl certificate which is signed by a CA.
The certs are being signed by our company's Internal CA.
Out of the steps mentioned in my previous post, do you think any steps are incorrect or missing?
Thanks,
JN
TBH I've never actually done it....
But Alon did do a blog post on it. It was quite a while ago, but I wouldn't think that it has changed that much...
One other thing though... Did I get you right in that you are trying to install a cert for Webmin? If so, keep in mind that Webmin uses it's own miniserver now (as of TKL v11.x IIRC). I have no idea how (or even if) that handles SSL certs. You may need to proxy it through LigHTTPd perhaps? I'd check the Webmin docs/support first (as perhaps you can configure the Webmin miniserver to take care of it itself...?)
That's the post which i actually referred initially
Yeah, that's the post which I referred initially however the post doesn't include all the steps.
In any case, I have done the configurations based on that post itself.
I am aware that Lighttpd needs to be configured for this to work which is what I have done as mentioned in my first comment in this post.
JN
How are you configuring LigHTTPd to proxy?
Have you installed the module and configured it...? I don't see any mention of it in any of your posts... Although TBH I have no idea how (or if) the cert will work if you are acting as a proxy... Or are you just trying to get HTTPS working with LigHTTPd first and worry about how to hook it up to Webmin later?
Assuming that it is the latter, have you double checked the cert that you are getting in your browser? Regardless of whether it is giving an SSL error or not, you will be able to see if it is the cert you have (or are trying to) installed or not. So it will at least give you an idea of whether or not your server config is right... If it is then you have an issue with your internal CA and/or browser config... Also double check that you clear the cache on the browser you are using (I have had issues with HTTPS sites using cached certs before).
Re:
I hope below enlisted FAQ can help you to reach on SSL certificate installation on your webmin server.
This happens because the default SSL certificate that is generated by webmin is not issued by a recognized certificate authority. From a security point of view, this makes the certificate less secure because an attacker could theoretically redirect traffic from your server to another machine without you knowing, which is normally impossible if using a proper SSL certificate. Network traffic is still encrypted though, so you are safe against attackers who are just listening in on your network connection.
If you want to be really sure that the Webmin server you are connecting to is really your own, the only solution is to order a certificate from an authority like Verisign that is associated with your server's hostname and will be recognized web browsers. This certificate should be placed in the file/etc/webmin/miniserv.pem and be in the same certifcate+key format as the existing miniserv.pem file.
To request a certificate, follow these steps :
Sr. SSL Security Specilist at RapidSSLOnline
I'm certainly no expert in the field...
But I was under the impression that you could set up your own internal CA (which is my understanding of what Jiger has done). If that is the case, then you could create your own certs, signed by your internal CA and as long as your OS and/or browser was configured to accept your internal CA as authorative then it should all just work...!?
Not sure about your Internal
Not sure about your Internal CA cert, but yes if you signed authorized Certificate Authorities which i have mentioned in my previous comment then i assure you will have success with https..!
Sr. SSL Security Specilist at RapidSSLOnline
Add new comment