Page 1 of 1

Best method for SSL?

Posted: Wed Nov 20, 2013 2:40 am
by DR White
Please Help!

I have spent several nights to no avail, to produce a SSL for my app!

Someone please advise on best program and procedure to produce an SSL for my app.

Thanks,

David

Re: Best method for SSL?

Posted: Wed Nov 20, 2013 3:57 am
by Mark
Hi David,

Could you elaborate on the problem? What are you trying to do and where do you get stuck? Post some code, perhaps?

Kind regards,

Mark

Re: Best method for SSL?

Posted: Wed Nov 20, 2013 11:25 am
by DR White
Mark,

- I download “Win32OpenSSL-1_0_0k”
- I go to command prompt
- md MySSLCert
- cd MySLLCert
- I run OpenSSL
- - I type genrsa – des3 –out David.Key 2048
- After it starts to generate a file it comes back “unable to write ‘random state’
- I Google on the net
- I set system environment variable to find bin
- It seems to be a common problem,
but the recommended solutions have not fixed the problem

Thanks,

Re: Best method for SSL?

Posted: Wed Nov 20, 2013 12:32 pm
by Mark
Hi,

Perhaps you'd better ask on one of the OpenSSL mailing lists.

Kind regards,

Mark

Re: Best method for SSL?

Posted: Wed Nov 20, 2013 8:14 pm
by jacque
Are you just trying to use SSL with your LiveCode standalone? Most of that is automatic, you don't need to do anything. If the URL starts with "https" then LiveCode will try to find the built-in certificate on the Windows machine and use it. Most of the time that works.

Re: Best method for SSL?

Posted: Wed Nov 20, 2013 10:02 pm
by Mark
Hi,

I would think that David wants to create a certificate (to sign an app or something else).

Kind regards,

Mark

Re: Best method for SSL?

Posted: Thu Nov 21, 2013 12:47 am
by DR White
Jacque,

Mark is exactly right.

I want to put my android app into the Google play store.

This will be a first for me and it is my understanding that I need:

- private key
- certificate
- Apps Zipaligned

Any help will be appreciated,

David

Re: Best method for SSL?

Posted: Thu Nov 21, 2013 1:45 am
by Mark
David,

If you have installed the Android SDK, you should have Keytool.exe on you computer. This should be sufficient to create a certificate for your app. Reading the Androi docs, I don't think that you need to install OpenSSL separately.

Kind regards,

Mark

Re: Best method for SSL?

Posted: Thu Nov 21, 2013 3:06 am
by DR White
Mark,

I have Android SDK, but I don't have keytool.exe.

Where do I get it?

Thanks,

David

Re: Best method for SSL?

Posted: Thu Nov 21, 2013 9:22 am
by LCNeil
Hi David et al.

The following lesson should help you out with creating a key that will allow you to sign your Android app-

http://lessons.runrev.com/s/3527/m/4069 ... ndroid-app

Kind Regards,

Neil Roger

--
RunRev Support Team ~ http://www.runrev.com
-

Re: Best method for SSL?

Posted: Thu Nov 21, 2013 11:04 am
by Mark
Hi David,

I didn't post any more info because if you use your favourite search engine, you'll find it right-away http://qery.us/41g Google provides a lot more of information on their website than what is in RunRev's lesson, but the lesson might be easier to follow. Also, you can use Window's search feature to find keytool.exe.

Kind regards,

Mark

Re: Best method for SSL?

Posted: Fri Nov 22, 2013 1:44 pm
by DR White
I want to share other Newbies and Dummies like me.

During the installation of the LiveCode product and the necessary components, I had left one out concerning java. I knew that I needed Java, but I did not know that I need BOTH JRE and JDK. Last night I installed the JDK and “low and behold” there was the KeyTool file in the bin file of the JDK that I had been looking for several days. I will add this to the system environment path and I don’t think I will have any more problems.

I appreciate everyone’s help on the SSL – KeyTool issue I had.

David