NetTalk Central

Author Topic: SSL CertMaker  (Read 4183 times)

BColladay

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • Email
SSL CertMaker
« on: October 19, 2011, 06:47:22 AM »
Has anybody attempted to create a web form for the process of creating the CSR?  Basically just a form that asks all of the questions the openssl.exe asks when creating the CRS and then allows the person to download the CSR and key after the form data is submitted.

Or - Is there any problem with supplying our clients with the CertMaker folder and allowing them to run the "CreateCertificateSigningRequest.bat" file themselves?

Thanks

Johan de Klerk

  • Full Member
  • ***
  • Posts: 217
  • Johan de Klerk
    • View Profile
    • Designer Software
Re: SSL CertMaker
« Reply #1 on: October 19, 2011, 07:52:26 AM »
Hi,

I am sure this is possible if you combine NetTalk and OddJob (http://www.capesoft.com/accessories/OddJobsp.htm).
Let OddJob run the process.
OddJob is very-very powefull.

Regards

Johan de Klerk
Clarion 10, NT 11.57

Flint G

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
    • Email
Re: SSL CertMaker
« Reply #2 on: October 19, 2011, 10:55:51 AM »
There is nothing against sending the CertMaker folder along with your application and having your clients do the work.  The only trouble would be the user security options at the client's system blocking execution of batch files.  But some users seize when they see a DOS window...

A web form done right, from the perspective of the user, is much simpler and easier to use.  You could also create an executable that does the same thing as the batch file, but then you're reinventing the wheel.  It wouldn't be tough since you can provide all the required values to the openssl.exe as command line options, instead of running openssl.exe in the interactive mode you're probably used to.

While you're at it, you could create a web form to accept the CSR and return a signed certificate using your own CA so your users can test their settings before flushing their money on a real certificate.  The danger is some users may try to get by on the certificate you signed, which they will ultimately be unhappy with, instead of a real one.

At the risk of proving my naivety, I suspect you can accomplish the task of a web form approach entirely within NetTalk (with openssl, of course) without the need for OddJob (which I haven't actually tried to use, yet).

If you go the web form route, I would very much like to see what you come up with, as I have contemplated the same approach.

Regards,
Flint
« Last Edit: October 19, 2011, 10:57:25 AM by Flint G »
NetTalk: 12.26
Clarion: 9.1.11529
Brave: 1.31.88
Chrome: 95.0.4638.69
Edge: 95.0.1020.44
ExtJS: 7.0.0.156

BColladay

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • Email
Re: SSL CertMaker
« Reply #3 on: October 19, 2011, 11:12:05 AM »
Thanks, I am going to check out the command line structure

BColladay

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • Email
Re: SSL CertMaker
« Reply #4 on: October 21, 2011, 06:28:53 AM »
As Clarion is not my IDE for web development where this page would reside, I ended up going a little different route.

On my c# Web form I am dynamically creating a .bat file and the executing it.  Then I offer the key and csr as links as well as the CSR text in a text box.  Pretty simple by the time I figured it out.  About 20 lines of code.

if you are interested here is an example of some clarion code to do something similar:

http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=258.0