Best method for SSL?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Best method for SSL?

Post by DR White » Wed Nov 20, 2013 2:40 am

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

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Best method for SSL?

Post by Mark » Wed Nov 20, 2013 3:57 am

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
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Re: Best method for SSL?

Post by DR White » Wed Nov 20, 2013 11:25 am

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,

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Best method for SSL?

Post by Mark » Wed Nov 20, 2013 12:32 pm

Hi,

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

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7393
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Best method for SSL?

Post by jacque » Wed Nov 20, 2013 8:14 pm

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Best method for SSL?

Post by Mark » Wed Nov 20, 2013 10:02 pm

Hi,

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

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Re: Best method for SSL?

Post by DR White » Thu Nov 21, 2013 12:47 am

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

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Best method for SSL?

Post by Mark » Thu Nov 21, 2013 1:45 am

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
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Re: Best method for SSL?

Post by DR White » Thu Nov 21, 2013 3:06 am

Mark,

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

Where do I get it?

Thanks,

David

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: Best method for SSL?

Post by LCNeil » Thu Nov 21, 2013 9:22 am

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
-

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Best method for SSL?

Post by Mark » Thu Nov 21, 2013 11:04 am

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
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Re: Best method for SSL?

Post by DR White » Fri Nov 22, 2013 1:44 pm

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

Post Reply