nickchacha
Cadet
- Joined
- Oct 8, 2016
- Messages
- 5
Hello Team,
Is there anyone with some procedure (step by step) on how to go about on the above or better yet, would somebody with the know how this is supposed to be done expound more on below (Found it in the forum but it's taking long to get a reply so i though it's only wise to open a new thread. Maybe then i will get some quick response because am stuck)
Thanks
Is there anyone with some procedure (step by step) on how to go about on the above or better yet, would somebody with the know how this is supposed to be done expound more on below (Found it in the forum but it's taking long to get a reply so i though it's only wise to open a new thread. Maybe then i will get some quick response because am stuck)
Thanks
You have to make sure you are using an SSL certificate that is signed by a CA (even self-signed CA). The one that is generated by Samba will not work, so the easiest option I found is to create the CA and a certificate signed signed by the new CA in FreeNAS. Once you've created the CA and certificate, export the CA (private key is not needed) and export the certificate and private key, then copy those to your Samba server. In your Samba server's config you will need to add config options shown above with tls enable, tls cafile, tls certfile, tls keyfile. You will need to restart the Samba services after you've updated your configuration. I found that just reloading the config will not work for some reason.
I know this is coming in a bit late but would you kindly confirm where exactly we are supposed to copy the keys in Samba4. Are we supposed to add them on cert.pem or where exactly are they supposed to go. Thanks