Video Screencast Help
Protect Your POS Environment Against Retail Data Breaches. Learn More.

SSL Certificates for App Center OnPrem

Created: 24 Jul 2013 • Updated: 24 Jul 2013 | 4 comments
Dishwishy's picture
+4 4 Votes
Login to vote

Deploying the App Center solution inside of your IT environment will require you to use an SSL certificate to secure communication between the client and the server. When dealing with a test or Proof Of Concept (POC) environment, it may be too costly or time-consuming to go out and procure an SSL certificate from Symantec or other CA. This article contains a couple python scripts to help generate the SSL certificate, keys and a mobile provisioning profile (for the iOS device to trust the self-signed CA). 

It's a fairly straight-forward process to generate the certificate, it is suggested to run this before running the installer for App Center as it will use the same port (8000) as the configurator.

How to Run:

1) Unzip the contents to a  directory
2) Open a terminal on the Linux system (or OSX) and navigate to the
previously created directory
3) Run "python simpleCertServ.py" - it should announce that it started a
server on port 8000
4) Open a browser and navigate to http://localhost:8000
5) Fill out the fully qualified name for the AC server (ex.
pocappstore.customerdomain.com)
6) It should then navigate to a webpage with the download links for 4
items
Private key for the AC server (ac_priv.key)
Public key for the AC server (ac_pubkey.crt)
"Certificate Chain" for the mini CA (ca.crt)
New.mobileconfig file that you can install on an iOS device to trust the
SSL connection

 

There is also an option to get a trial certificate from Symantec, which would be the more recommended route if it will be a temporary test environment.

http://www.symantec.com/verisign/ssl-certificates

Comments 4 CommentsJump to latest comment

JeroenvD's picture

Dishwishy, I am trying to perform the steps you explained in this article, but I receive an error when I try to do this.

Error:

errorcertserver.png

Do I need to install the plistlib module and how do I need to do this?

-11
Login to vote
LukasM's picture

Nothing Here? I have the same problem...

0
Login to vote
Dishwishy's picture

Hey Everyone, 

 

Sorry for the delay on this, I wasn't seeing my update notifcations! You should be running the latest 2.x build of python, depending on your host OS, it might be Python 2.4 which doesn't have plistlib installed by default.

Use this artcile to install Python 2.7 side-by-side with 2.4 - better than trying to get plist support in an older version of Python.

http://www.nerdsmind.com/how-to-upgrade-python-in-...

That should hopefully resolve the issue - the first command listed in that article will let you know the version of python currently installed ("python -V"   the V is case sensistive).

If you don't hear from me soon, just DM me on Twitter (@Dishwishy).

0
Login to vote
Ilia Lezhenin's picture

Is it possible to use this self signed certificate in Android? 

0
Login to vote