NetTalk Central

Author Topic: Hosting A Nettalk app / SSL  (Read 12519 times)

bruce2

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • Email
Re: Hosting A Nettalk app / SSL
« Reply #15 on: June 27, 2012, 03:54:27 AM »
you should have got the private key in;

>> I received an email with text of a "Web Server Certificate" and an "Intermediate CA".

what extension did the "web server certificate" have?

you may need to merge the Intermediate CA in with your certificate - ie add the text of the intermediate _after_ the text in your CRT file.

cheers
Bruce

ianburgess

  • Full Member
  • ***
  • Posts: 119
    • View Profile
    • Email
Re: Hosting A Nettalk app / SSL
« Reply #16 on: June 27, 2012, 04:23:34 AM »
Hallo Ian,
I use SSL certificate from GlobeSSL. I use the standard one and it works good. Depends on your needs but this one is very cheap.

https://www.globessl.com/Globe-Standard-SSL.html

Good luck!
Robert

Hi Robert
I started to look into GlobeSSL and they look very reasonable. To start with I found a free trial from another provider and signed up just to test things out, but cannot see how to generate the .crt and .key files from what these other people sent me!

From your experience with GlobeSSL, do you just paste the result of the “CreateCertificateSigningRequest” batch file into their website and they just sent you the .crt and .key files? If not, how do you create these two files?

Many thanks

Ian

Larry Sand

  • Full Member
  • ***
  • Posts: 101
    • View Profile
Re: Hosting A Nettalk app / SSL
« Reply #17 on: June 27, 2012, 07:02:53 AM »
The CreateCertificateSingingRequest batch file creates the private key because you need it to create the CSR.  The batch file does this: openssl genrsa -out .\YourCARoot\private\ForReal.key -rand .\YourCARoot\private\YourRandom.rnd -des3 2048

ianburgess

  • Full Member
  • ***
  • Posts: 119
    • View Profile
    • Email
Re: Hosting A Nettalk app / SSL
« Reply #18 on: June 27, 2012, 07:33:22 AM »
Many thanks to Bruce and others that have guided me through the process. I have learned a lot and thought I would document my experience......

Introduction:
As standard, Nettalk provide a “self certified” SSL certificate which is fine for testing purposes, but any user accessing the site will get warnings from their browser to the effect that the site is not trusted – this is obviously unacceptable for end users.

The certificate comprises two files:
xxxxx.crt
and xxxxx.key

By default xxxxx is “Settings”, so we have Settings.crt and Settings.key

The solution to avoid these warnings is to get an official SSL certificate from one of a number of suppliers. The cost of these varies enormously from about $8 per year to several hundred dollars per year. I have successfully purchased a 1 year certificate for a single domain (actually a sub domain) for $8.90 from www.globessl.com

The following steps were needed to create the certificate files:

1. Go to C:\Clarionx\3rdparty\bin\MakeCertificates folder
2. Run batch file CreateCertificateSigningRequest.bat which will ask for various information about the domain (or sub domain) and its owners etc. See "Create Certificate Signing Request" at http://www.capesoft.com/docs/nettalk/NetTalkWebSecure.htm#Getting_a_Paid-For_certificate
3. The process in 2. above will generate two files:
a) C:\Clarionx\3rdparty\bin\MakeCertificates\YourCARoot\certs\ForRealCSR.crt
This contains the text of the Cert. Signing Request which you will need to copy in its entirety into clipboard ready to paste into the SSL provider's website when asked.  NB. You can test the copied code by pasting into https://www.networking4all.com/en/support/tools/csr+check/
b) C:\Clarionx\3rdparty\bin\MakeCertificates\YourCARoot\private\ForReal.key
This is a private key file which you should copy to the \Web\Certificates folder of your webserver and rename as appropriate, eg. Settings.key
4. After you have registered and paid and clicked on verification email etc. from GlobeSSL, they will email you a .crt file which will be named as "your domain.crt". You need to copy this to the \Web\Certificates folder of your webserver and rename as appropriate, eg. Settings.crt
5. Ensure that your domain or subdomain is pointing to the correct folder that the nettalk webserver is installed in and that the webserver app is running and set to port 443 and SSL is enabled. It should then just work and the browser will not issue any warnings and will verify that there is a valid certificate!

It has been a bit of a learning experience for me, but if you follow the above steps, you should be able to do everything in a very little time.

Some things I have learned along the way.....
- SSL certificates can only generally be issued to domain names or sub-domains and not to an IP address
- Shop around for SSL providers as the costs vary enormously
- A SSL certificate can be set up and working in minutes
- The SSL provider can be completely independant of the domain name registrar and independant also of the host of the webserver
- You can easily "point" a domain or sub-domain at any IP address by simply editing the "A" record's IP address by logging into the domain name registrar's website. I have just pointed the "A" record at the IP address of my own office and set Port redirection of Port 443 on my router to point at the internal IP address of the PC running the webserver app. The effect of this repointing could take a number of hours to become live.

Cheers

Ian

Robert Iliuta

  • Sr. Member
  • ****
  • Posts: 472
    • View Profile
    • Email
Re: Hosting A Nettalk app / SSL
« Reply #19 on: June 27, 2012, 11:03:54 PM »
Hallo Ian,


I see you like the hard way!  ;)
Did you follow the instructions received by email from GlobeSSL ?
Also you can find this tools on their web site. With the crt received by email you can create the key. Then rename both and copy to your certificates folder. no more then 5min  :)


https://confirm.globessl.com/autocsr.html
https://confirm.globessl.com/csr-decoder.html
https://confirm.globessl.com/key-matcher.html


I received by email the CRT and Bundle. And with the tools above I generate the key. Then rename the crt and key ( www_MyDomain_com.crt AND www_MyDomain_com.key ) copy to nettalk folder and it’s done. 5 min :o)


Good luck!
Robert