APNs Certificate Creation & Renewal on Windows Computers
Description
TheApple followingMobile Device Management (MDM) requires an Apple Push Notification service (APNs) certificate; renewable yearly.
APNs Expiry
If APNs certificates are allowed to expire, all MDM communication will be lost, until renewed.
This guide providesexplains the stepshow to create andthe renewApple anPush APNsNotification Service (APNS) certificate for FileWave on Windows computers using Windows.OpenSSL. You will generate a Certificate Signing Request (CSR), have it signed by FileWave, upload it to Apple, and then convert it to a format FileWave can import.
APNs Topic
An APNs certificate has a unique topic, in the form of a hexadecimal string, and belongs to the Apple ID used to create the certificate. When renewing, the topic must match to ensure devices continue to communicate with the server. As such, not only must the same Apple ID be used when renewing an APNs certificate, but the current certificate must also be selected for renewal.
Step-By-Step Guide
APNsPrerequisites
- Access
DevicetoManagementthe(MDM) requires anApple PushNotificationCertificatesservicePortal (APNs)https://identity.apple.com/pushcert/) - A
renewablevalidyearly.AppleIfBusiness/SchoolAPNsManagercertificatesaccountareorallowedApple ID - Access to
expire,theallFileWaveMDMCentralcommunicationconsole - OpenSSL
beforlost,Windowsuntilinstalled:renewed.Information
https://slproweb.com/products/Win32OpenSSL.htmlRequirements- Download the full version (not the light version, as it needs configuration files)
AnAdministrator appropriateAccess
All copycmd.exe ofcommands OpenSSL,in whichthis guide must be downloaded and installed.
Note, that the light version does not include the necessary configuration files.
CMD CommandsThe cmd.exe application should be openedrun with 'Run as an Administrator' for all commands in this KB.
Step-By-Step Guide
1: - Generate
CreatingCSRthe(Certificate SigningRequest (CSR)Sign the CSRUpload the signed FileWave CSR to AppleCreate a ".p12" from the Signed CSRUploading the Certificate into FileWaveRelated articles
Creating the Certificate Signing Request (CSR)
Request)
- Open cmd.exe as an Administrator
- Create a
CSR.CSREnterby entering the followingcommand,command.whichThis willresult increate twonewfiles on the Desktop:request.csrandprivateKey.:key:key
"C:\Program Files\OpenSSL-Win64\bin\openssl.exe" req -out "%USERPROFILE%\Desktop\request.csr" -new -newkey rsa:2048 -nodes -keyout "%USERPROFILE%\Desktop\privateKey.key" -config "C:\Program Files\OpenSSL-Win64\bin\cnf\openssl.cnf"
- When prompted, enter values for the certificate fields. For Common Name, use a descriptive name like your Apple ID and server name (e.g.,
company@example.com - FileWave Server). This helps you identify the certificate later.
CertificateCommon Name and Private Key names are visible from openssl commands and the
The Common Name isyou usedenter towill setbe stored in the Private Key name. SupplyingUsing theyour Apple ID and Serverserver as the Common Name,name ensures theyou can identify which Apple ID usedcreated tothis generatecertificate in the certificatefuture—important willwhen be stored for future reference.renewing.

Step 2: Sign the CSR
with FileWave
Before the CSR requestscan be uploaded to Apple, it must be signed beforeby uploading to Apple. FileWave has a portal for this process, which requires an active FileWave account.FileWave.

Step 3: Upload the signed FileWave CSR to Apple
If you are renewing a certificate, skip to Renewing an existing certificate below.
Creating a Certificatenew certificate
NavigateGoto:to the Apple Push Certificates Portal: https://identity.apple.com/pushcert/- Sign in with an Apple
ID.
This Apple ID will(⚠️ own the certificate and is required for every renewal. Dodo not use a personal Apple ID,ID to– avoiduse complicationsa if that person were to leave thegeneric business or institution.
Renewing an existing certificate
ClickGo'Create'.'Accept' Apple's 'Terms of Use'.

Renewing a Certificate
To confirm the certificate, compare the Subject DN (Topic) and current certificate.
Clicking the 'i' button will show theview certificate details, including the Topic:

Ensure

Mismatch
If the
- Click
viewableRenew - Upload the
certificate "Private Key"
Click 'Choose File' and browse to the signed FileWave CSR from theStep previous2
section.

Click 'Download'.cer)
Step consider4: where this certificate is stored.

Create a ".p12"p12 file from the Signed CSR
Certificate

- Open cmd.exe as an Administrator
- Create a
".p12".p12Enteringfile by entering the followingcommandcommand.will createReplace the".p12"fileonpathstheifDesktop:necessary, and note thatMDM_FileWave.pemis an example – use your actual downloaded certificate filename:
"C:\Program Files\OpenSSL-Win64\bin\openssl.exe" pkcs12 -export -in "%USERPROFILE%\Downloads\MDM_ FileWave (Europe) Gmbh_Certificate.MDM_FileWave.pem" -inkey "%USERPROFILE%\Desktop\privateKey.key" -out "%USERPROFILE%\Desktop\push_cert.p12" -name fw-apns
- When prompted for the Export Password, leave it blank and press Enter
Path Issues
If the outputcommand errors inwhen creating the .p12 certificate file, replace the %USERPROFILE% locationvariable by pathing outwith the exactfull file locationpath instead.(e.g., C:\Users\YourUsername\).
LeaveVerify the'ExportcertificatePassword'wasblank
created correctly by running:

Certificate details may be checked:
Common Name and TopicThe name of the Private Key will show the value defined as the "Common Name" from the creation of the CSR. Where recommendation was followed, this should list the Apple ID and Server name. Additionally the name of the Certificate is the same as the Topic.
"C:\Program Files\OpenSSL-Win64\bin\openssl.exe" pkcs12 -info -in C:"%USERPROFILE%\Users\Administrator\Desktop\push_cert.p12p12"
This will display certificate details. Confirm that the Common Name matches the value you entered in Step 1, and that the Topic matches the value from Apple.
Note,Common below image has been edited to remove some detailsName and highlightTopic
The Private Key name will display the twoCommon keyName itemsyou ofentered interest.

Uploadingcreating the CertificateCSR. The certificate name is the same as the Topic. Both should match the certificate you created or renewed at Apple.
Step 5: Import the certificate into FileWave
- Launch
theFileWave Admin and log in to your FileWaveAdmin and login to the FileWave server.server - Open
the FileWave Admin Preferences.Preferences

- Select the
'Mobile'Mobiletab.tab - Click
'Browse'Browse and navigate to thesavedpush_cert.p12".p12"fileAPNsyoucertificate.created in Step 4 - Select the
exportedfile".p12"andcertficate.click Click 'Upload APN Certificate/KeyPair'.PairTheVerify that the Topic displayed matches the topicshouldfrommatchApple- Click OK to save and close the
previousPreferencestopic.dialog

That is it!FileWave may now manage Apple devices usingApple’Apple's Push Notification Service.Step 6: Verification
- Test whether new or existing MDM clients correctly connect to the APNS service
APNs certificates require yearly renewals. Through FileWave Admin > Dashboard > Alert Settings,Settings, you can configure automated emailsemail may configured.reminders. Consider addingenabling the 'APN for MDM'. Notealert. Note: this requires the Email preferences in Admin to be configured.
Contact Apple for help
If you forgot the email tied to your Apple Push NotiifcationNotification certificate, you may reach out to Apple for assistantassistance:
Contact Apple for help with APN