Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

...

This guide explains in a few simple steps how to secure your communications with Transport Layer Security and an Apple Push certificate.

 Read More

Tip
titleRecommendations
  • It's recommended using a certificate that supports at least TLS 1.2
  • The certificate should be signed with SHA-256
  • The Certificate Authority used needs to be trusted by the manufacturer of the devices you wish to manage

 Request a TLS certificate

Expand

To secure your MDM communication you need a certificate issued to the domain where the MDM server resides.

In the case that there is no certificate associated with the domain where the MDM server a Certificate request to a trusted certificate authority provider should be initiated before proceeding.

As this can take some time, this should be done in due time before implementing MDM in your system.


Tip

CapaInstaller MDM supports wildcard certificates to lower implementation cost and time


New Apple Push Certificate Service

Expand


Info

In order to communicate with Apple devices, CapaInstaller relies on the Apple Push Notification service (APNs). The APNs requires that each service identifies itself by using a certificate issued by Apple, ensuring that only authorized services can contact Apple devices.

Before an APNs certificate can be issued using the Apple Push Certificate Portal, a certificate request must be generated and signed by an authorized MDM vendor, in this case, CapaSystems A/S. 

To upload the certificate request to Apple, an Apple ID is required. It is strongly recommended that a unique Apple ID is created for this purpose, DO NOT use your personal Apple ID for this.


StepAction
1

In the "System Administration"  menu "Actions", you will find the "Apple Push Certificate request.."

Image Added

2

Wizard starts, press the "Next" button to proceed

Image Added

3

If the "Verify OpenSSL" isn't status Passed go to Install OpenSSL

If the "Verify access to Capainstaller certificate request signing service" isn't status passed you must:

First, try to open a browser on the machine from which you run this wizard. Open the following URL: http://certservice.capainstaller.com:7000/status

Ensure that port 7000 is opened from the CapaInstaller server out to the internet. The certificate request signing service is placed on a Capainstaller server at port 7000.

Image Added

4

Select an output folder. Press the "Start" button, and click "Next" when the certificate request is finished

Image Added

5Now you have created the certificate request which has been signed by CapaSystems and stored in the previously selected output folder
6

Press the "Open Apple Push Certificates Portal"

Image Added

7

Login with your Apple Push Certificates Portal account

Image Added

8

Press the "Renew" tab

Image Added

9

If this disclaimer appears then just accept it


10

Press "Choose File" and select the file named: plist_encoded, it is stored in the output directory, and click "upload"

Image AddedImage Added

11

Now you should get the real certificate as shown in the picture.

First, you should open your calendar and insert an alert that will expire a month before the certificate's expiring date. This will help you recall when to get a new certificate.

Image Added

12738px

You should now press the "Create Certificate File" button in the CapaInstaller certificate Wizard in order to continue certificate issuing process.

Image Added

13

In the "Apple certificate File" select the certificate downloaded from the Apple push Cert page. (Named: MDM_something.pem)

When that is done, press the start tab and then click next

Image Added

14

Now you have the Apple Push Certificate in your output folder (File extension is pfx)

Image Added

15

Now you need to open MMC

Image Added

16In MMC, click on → file → Add/remove snap-in...
17

Click on Certificates, and click Add.

Image Added

18

Click on "Computer account" and click next.

Image Added

19

Now click "Local computer: (the computer this console is running on)" and click finish

Image Added

20

Click "OK"

Image Added

21

Now expand Certificates, Right-click "personal" and under "All Tasks" click "Import"

Image Added

22

Click next

Image Added

23

Browse your certificate now, and click next

Image Added

24

Click next

Image Added

25

Click Next

Image Added

26

Click finish

Image Added

27

Now under "certificates", you can see your renewed Apple Push Certificate

Image Added

28

Now go back to the CI Console → Click on System Administration → Right-click your MDM Service → Click on Service Settings

Image Added

29

Under Service settings, click the configuration tab, scroll down to "Apple Push Certificates", click on the "..."

Image Added

30

Click on the "..." 

Image Added

31

select the renewed certificate, and click ok

Image Added

32

now open the certificate store by opening run and typing "Certlm.msc" and then press Enter  

Image Added

33

Right-click the Apple push certificate and click on "open" then go to the "Details" tap and find the "Thumbprint" menu and copy the text in the menu  

Image Added

34

Paste the copied text under "thumbprint" in the Capa console and click "ok"

Image Added

35

Now click ok 

Image Added

36

Now restart your MDM Service, and you have renewed your Apple Push Certificate

Image Added

37You made it well done!


Note

For each certificate, there is an "Expiration Date", e.g. Apple requires the Apple Push Certificate to be renewed every 365 days. 

Best practice dictates to initiate the renewal request process in due time before they expire.

Without a valid certificate, the CapaInstaller MDM service will fail!


 Request and generate or update an Apple Push Certificate

...

Expand


Info

In order to communicate with Apple devices, CapaInstaller relies on the Apple Push Notification service (APNs). The APNs requires that each service identifies itself by using a certificate issued by Apple, ensuring that only authorized services can contact Apple devices.

Before an APNs certificate can be issued using the Apple Push Certificate Portal, a certificate request must be generated and signed by an authorized MDM vendor, in this case, CapaSystems A/S. 

To upload the certificate request to Apple, an Apple ID is required. It is strongly recommended that a unique Apple ID is created for this purpose, DO NOT use your personal Apple ID for this.


StepAction
1

In the "System Administration"  menu "Actions", you will find the "Apple Push Certificate request.."

2

Wizard starts, press the "Next" button to proceed

3

If the "Verify OpenSSL" isn't status Passed go to Install OpenSSL

If the "Verify access to Capainstaller certificate request signing service" isn't status passed you must:

First, try to open a browser on the machine from which you run this wizard. Open the following URL: http://certservice.capainstaller.com:7000/status

Ensure that port 7000 is opened from the CapaInstaller server out to the internet. The certificate request signing service is placed on a Capainstaller server at port 7000.

4

Select an output folder. Press the "Start" button, and click "Next" when the certificate request is finished

5Now you have created the certificate request which has been signed by CapaSystems and stored in the previously selected output folder
6

Press the "Open Apple Push Certificates Portal"

7

Login with your Apple Push Certificates Portal account

8

Press the "Renew" tab

9

If this disclaimer appears then just accept it


10

Press "Choose File" and select the file named: plist_encoded, it is stored in the output directory, and click "upload"

11

Now you should get the real certificate as shown in the picture.

First, you should open your calendar and insert an alert that will expire a month before the certificate's expiring date. This will help you recall when to get a new certificate.

12738px

You should now press the "Create Certificate File" button in the CapaInstaller certificate Wizard in order to continue certificate issuing process.

13

In the "Apple certificate File" select the certificate downloaded from the Apple push Cert page. (Named: MDM_something.pem)

When that is done, press the start tab and then click next

14

Now you have the Apple Push Certificate in your output folder (File extension is pfx)

15

Now you need to open MMC

16In MMC, click on → file → Add/remove snap-in...
17

Click on Certificates, and click Add.

18

Click on "Computer account" and click next.

19

Now click "Local computer: (the computer this console is running on)" and click finish

20

Click "OK"

21

Now expand Certificates, Right-click "personal" and under "All Tasks" click "Import"

22

Click next

23

Browse your certificate now, and click next

24

Click next

25

Click Next

26

Click finish

27

Now under "certificates", you can see your renewed Apple Push Certificate

28

Now go back to the CI Console → Click on System Administration → Right-click your MDM Service → Click on Service Settings

29

Under Service settings, click the configuration tab, scroll down to "Apple Push Certificates", click on the "..."

30

Click on the "..." 

31

select the renewed certificate, and click ok

32

now open the certificate store by opening run and typing "Certlm.msc" and then press Enter  

33

Right-click the Apple push certificate and click on "open" then go to the "Details" tap and find the "Thumbprint" menu and copy the text in the menu  

34

Paste the copied text under "thumbprint" in the Capa console and click "ok"

35

Now click ok 

36

Now restart your MDM Service, and you have renewed your Apple Push Certificate

37You made it well done!


Note

For each certificate, there is an "Expiration Date", e.g. Apple requires the Apple Push Certificate to be renewed every 365 days. 

Best practice dictates to initiate the renewal request process in due time before they expire.

Without a valid certificate, the CapaInstaller MDM service will fail!


...