{"_id":"55781fe45129590d003ff518","category":{"_id":"55781fe35129590d003ff4fb","version":"55781fe25129590d003ff4f7","__v":11,"pages":["55781fe45129590d003ff517","55781fe45129590d003ff518","55781fe45129590d003ff519","55781fe45129590d003ff51a","55781fe45129590d003ff51b","55781fe45129590d003ff51c","55781fe45129590d003ff51d","55781fe45129590d003ff51e","55781fe45129590d003ff51f","55781fe45129590d003ff520","55781fe45129590d003ff521","55781fe45129590d003ff522","5579ab5fc7fb3f2100096fad","55f7de1660cc850d008a7a22","55f7e1fbe32e9b0d00a2d4d0","561f72bacec1a50d00979598","561f764f61c0521700acc428","563337539c607719001b85dd","564318f1f49bfa0d002f5566","564f03454f000617007bd670","565ee80a23fd5f0d00a129f9","56793cd73473bc0d008e141b"],"project":"54aa7f773b56130b0056c86e","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-01-05T12:43:51.897Z","from_sync":false,"order":3,"slug":"ios-sdk","title":"iOS SDK"},"githubsync":"","user":"54aa7f3f9bb00c0b00cb899b","parentDoc":null,"project":"54aa7f773b56130b0056c86e","__v":5,"version":{"_id":"55781fe25129590d003ff4f7","project":"54aa7f773b56130b0056c86e","forked_from":"54aa7f773b56130b0056c871","__v":6,"createdAt":"2015-06-10T11:30:42.700Z","releaseDate":"2015-06-10T11:30:42.700Z","categories":["55781fe35129590d003ff4f8","55781fe35129590d003ff4f9","55781fe35129590d003ff4fa","55781fe35129590d003ff4fb","55781fe35129590d003ff4fc","55781fe35129590d003ff4fd","55781fe35129590d003ff4fe","564bbc7e8841060d00abb2ee","565b66c446118c0d00dcb0bb","56898269f8dc340d00308c13","582318b23b961a0f009516a1","594a848c9f4771001a43c959"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"Developers","version_clean":"2.0.0","version":"2.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-01-05T12:53:10.452Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":3,"body":"[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"Development Push Testing\",\n  \"body\": \"In order to test APNS on development builds you need to have your Pulsate app set to *Development*, not *Production*. *Production* Pulsate apps use production APNS endpoint and *Development* Pulsate apps use sandbox APNS endpoint. It's recommended to have two Pulsate apps: one for development and one for production. You can find more information in the [Configuring Pulsate](https://pulsate.readme.io/docs/configuring-pulsate) section.\"\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Step 1: Select iOS Certificate Type\"\n}\n[/block]\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/p8Q3aCX4QCuSoBF0DTX0_1.png\",\n        \"1.png\",\n        \"1138\",\n        \"535\",\n        \"#26536e\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n1. Go to your Apple Developer account at [https://developer.apple.com/](https://developer.apple.com/) and select **'member center'**, from here you will be brought to a login page.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/LUPl2rZnSAK1iintXEdq_2.png\",\n        \"2.png\",\n        \"1309\",\n        \"487\",\n        \"#208fd9\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n2. To login enter your Apple developer email and password.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/W9f2HVQhTAGJZX32BGQo_3.png\",\n        \"3.png\",\n        \"1100\",\n        \"618\",\n        \"\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n3. Select Certificates, identifiers, and profiles from the technical resources and tools categories.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/wLs5wvSny6aINhQea1Mg_4.png\",\n        \"4.png\",\n        \"1100\",\n        \"709\",\n        \"\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n4. Under iOS Apps select **'Certificates'**.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/3HsryggXQ7eRLbca5M4D_5.png\",\n        \"5.png\",\n        \"1100\",\n        \"820\",\n        \"#f2f3f5\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n5. Next select the '+' button which will bring you to the iOS certificate wizard.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/PyCTJgaSxCICPsQIA58Q_6.png\",\n        \"6.png\",\n        \"1100\",\n        \"719\",\n        \"#45567c\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n6. From the drop-down menu select the App ID that corresponds to app which contains the Pulsate SDK.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/LY0ktZslRuxun0Y126Xm_6.png\",\n        \"6.png\",\n        \"1100\",\n        \"719\",\n        \"#45567c\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n7. If your are connecting this to a test app then select Apple Push Notification Service (SSL) Sandbox under development mode.\n\n\nOR\n\n\nIf you are connecting this to a live app then select Apple Push Notification service (SSL) Sandbox under production mode.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Step 2: Create a Certificate Signing Request (CSR)\"\n}\n[/block]\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/U9SIQyzQR5Gvo8OiQRKm_1.png\",\n        \"1.png\",\n        \"1051\",\n        \"771\",\n        \"#9c7464\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n1. Next click 'continue' to create a Certificate Signing Request (CSR) file using Keychain Access on your MAC.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/ylzU1wI9RQSXjRmMo8hZ_2.png\",\n        \"2.png\",\n        \"1108\",\n        \"629\",\n        \"\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n2. Next open 'keychain Access' by going into Finder > Applications > KeychainAccess\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/5eWqPE0SLCVcJHMYdYnw_3.png\",\n        \"3.png\",\n        \"1022\",\n        \"400\",\n        \"\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n3. Request a certificate by going to Keychain access > Certificate Assistant > request a Certificate From a Certificate Authority\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/3nTmTd5PRX6dWm34Qdb8_4.png\",\n        \"4.png\",\n        \"1028\",\n        \"622\",\n        \"#183751\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n4. In the pop up window enter your email and name and make sure that Saved to disk is selected, then select continue.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/XzaL8j7TQQuiAMHrHHID_5.png\",\n        \"5.png\",\n        \"1024\",\n        \"594\",\n        \"\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n5. Another pop up will appear and you will be asked to save the CertificateSigningRequest.cert file to your desktop. Click save.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/cf3DGgbdQThyBe38Rjgg_6.png\",\n        \"6.png\",\n        \"1111\",\n        \"805\",\n        \"#896964\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n6. Go back to the iOS certificate wizard and select 'Choose File' and search for the CertificateSigningRequest.cert that you saved to your desktop.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/GVdnXshQLOkj8bRlqrPa_7.png\",\n        \"7.png\",\n        \"1111\",\n        \"805\",\n        \"\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n7. Upload the CertificateSigningRequest.cert file here\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/pYlpHn73TQG5DSG6zqeB_8.png\",\n        \"8.png\",\n        \"1111\",\n        \"805\",\n        \"#c6a553\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n8. Next Click 'Generate' to create your certificate.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/CCmls69jQI2b7nTYj4eB_9.png\",\n        \"9.png\",\n        \"1091\",\n        \"911\",\n        \"\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n9. Finally Download the aps_development.cer file to your desktop\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Step 3: Grant Keychain Access\"\n}\n[/block]\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/WO41K8mNSO6VpVOjB9zg_1.png\",\n        \"1.png\",\n        \"1108\",\n        \"629\",\n        \"#193448\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n1. In 'Finder' select 'Applications' and search for the 'Keychain Access' application and open it.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/cLH4GsdSTWyo5oiz4nsl_2.png\",\n        \"2.png\",\n        \"1554\",\n        \"722\",\n        \"\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n\n2. When you have the keychain Access application open, find the file that you downloaded (apps_development.cer) and double click on it. This will automatically open it then in the Keychain Access application.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/icNvq76LR2qLgnyTyaEb_3.png\",\n        \"3.png\",\n        \"1554\",\n        \"722\",\n        \"\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n3. Next select the drop down arrow to collapse the Keychain Access file. Select both options and then go to Keychain Access > file > export items\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/cdiZC0zBTNylxkV0O0M3_4.png\",\n        \"4.png\",\n        \"1554\",\n        \"722\",\n        \"\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n4. Name your application (remember this for step 5 - point 5) with the file format of 'Personal Information Exchange' (p12) and click Save.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/XRyoasiQ1irqlzVqWBt9_5.png\",\n        \"5.png\",\n        1554,\n        722,\n        \"\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n5. You will be then prompted with another pop-up window with the option to password protect your cert.\n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Remember:\",\n  \"body\": \"If you password protect your certificate you will need this later on when uploading the certificate on the Pulsate platform\"\n}\n[/block]\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/NzXvB77HS2WWjwYodPuL_6.png\",\n        \"6.png\",\n        1554,\n        722,\n        \"\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n6. After you click 'Allow' a p12 file will be generated and placed on your desktop (or wherever you have selected to save it).\n[block:html]\n{\n  \"html\": \"<div><a name =\\\"step4\\\"></a></div>\"\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Step 4: Convert .p12 file to .pem\"\n}\n[/block]\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/buVZBtFHTXKGjaCTjaXg_1.png\",\n        \"1.png\",\n        \"1365\",\n        \"914\",\n        \"\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n**1.** Go to 'Finder' and choose terminal from the applications folder.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/cF8ox3jhQoy75yjUBEEw_2.png\",\n        \"2.png\",\n        \"720\",\n        \"538\",\n        \"#1d405b\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n**2. **When prompted input 'ls' (without quotes) to make sure you are in your home directory.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/PcdwgAmQTC6p9AyjKPdk_3.png\",\n        \"3.png\",\n        \"720\",\n        \"538\",\n        \"#1d405b\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n**3. **You should see a number of folders, Desktop, Documents, Downloads etc. We're looking to change into the 'Desktop' directory so type: 'cd desktop'\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/FyhmaYsURs7ELQv65Hsg_4.png\",\n        \"4.png\",\n        \"720\",\n        \"538\",\n        \"#1d405b\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n**4. **You should then be inside the desktop directory, just to be sure your in the right place, type 'ls' again and hit enter. You should see the contents of your desktop listed along with the .p12 file you just created.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/B7GnGtm3QK6NhBu9GFat_5.png\",\n        \"5.png\",\n        \"720\",\n        \"538\",\n        \"#1d405b\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n**5. **Next input the following line into terminal:\n\nopenssl pkcs12 -in appname.p12 -out appname.pem -nodes \n[block:callout]\n{\n  \"type\": \"info\",\n  \"title\": \"Example\",\n  \"body\": \"(Where I have appname replace this with the name that you used when naming your .p12 file  - see Step 3: Grant Keychain Access point 4 )\"\n}\n[/block]\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/1dbOEplERBC87EAfPJ5j_6.png\",\n        \"6.png\",\n        \"720\",\n        \"538\",\n        \"#1d405b\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n**6. **You will be prompted now to enter the password that you created for the .p12 file\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/YtnInlA5Rwtv4hlJlcpe_7.png\",\n        \"7.png\",\n        \"720\",\n        \"538\",\n        \"#1d3f5b\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n**7.** If successful you will receive a verification message\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/8y9Hz9j4Tca2qzGF1A7A_8.png\",\n        \"8.png\",\n        \"720\",\n        \"538\",\n        \"#1c3f5b\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Step 5: Upload .pem Certificate to Pulsate\"\n}\n[/block]\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/k4Om6DbUSkyGsT9a9a9x_Screen%20Shot%202016-04-01%20at%2013.25.51.png\",\n        \"Screen Shot 2016-04-01 at 13.25.51.png\",\n        \"1898\",\n        \"230\",\n        \"#4a8ab8\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n**1. **Go to Settings > App Settings and select choose file\n\n**2.** Choose the .pem file from your desktop\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/TafCrctXRFyu8KV5yJ4Y_2.png\",\n        \"2.png\",\n        \"1338\",\n        \"494\",\n        \"#4fa8cc\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n**3.** Input your password that you created during step 3 (#5) and click save.\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/pgfRaAYYT0iCaLnMQDaH_Screen%20Shot%202016-04-01%20at%2013.26.16.png\",\n        \"Screen Shot 2016-04-01 at 13.26.16.png\",\n        \"1911\",\n        \"808\",\n        \"#5488af\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\nCongratulations, your iOS app is now ready to use with the Pulsate platform!","excerpt":"In order to send out push notifications using Pulsate you are required to obtain an iOS certificate. Follow the steps below to both generate and upload your iOS certificate.","slug":"how-to-setup-an-ios-push-cert","type":"basic","title":"How to setup an iOS Push Cert"}

How to setup an iOS Push Cert

In order to send out push notifications using Pulsate you are required to obtain an iOS certificate. Follow the steps below to both generate and upload your iOS certificate.

[block:callout] { "type": "warning", "title": "Development Push Testing", "body": "In order to test APNS on development builds you need to have your Pulsate app set to *Development*, not *Production*. *Production* Pulsate apps use production APNS endpoint and *Development* Pulsate apps use sandbox APNS endpoint. It's recommended to have two Pulsate apps: one for development and one for production. You can find more information in the [Configuring Pulsate](https://pulsate.readme.io/docs/configuring-pulsate) section." } [/block] [block:api-header] { "type": "basic", "title": "Step 1: Select iOS Certificate Type" } [/block] [block:image] { "images": [ { "image": [ "https://files.readme.io/p8Q3aCX4QCuSoBF0DTX0_1.png", "1.png", "1138", "535", "#26536e", "" ] } ] } [/block] 1. Go to your Apple Developer account at [https://developer.apple.com/](https://developer.apple.com/) and select **'member center'**, from here you will be brought to a login page. [block:image] { "images": [ { "image": [ "https://files.readme.io/LUPl2rZnSAK1iintXEdq_2.png", "2.png", "1309", "487", "#208fd9", "" ] } ] } [/block] 2. To login enter your Apple developer email and password. [block:image] { "images": [ { "image": [ "https://files.readme.io/W9f2HVQhTAGJZX32BGQo_3.png", "3.png", "1100", "618", "", "" ] } ] } [/block] 3. Select Certificates, identifiers, and profiles from the technical resources and tools categories. [block:image] { "images": [ { "image": [ "https://files.readme.io/wLs5wvSny6aINhQea1Mg_4.png", "4.png", "1100", "709", "", "" ] } ] } [/block] 4. Under iOS Apps select **'Certificates'**. [block:image] { "images": [ { "image": [ "https://files.readme.io/3HsryggXQ7eRLbca5M4D_5.png", "5.png", "1100", "820", "#f2f3f5", "" ] } ] } [/block] 5. Next select the '+' button which will bring you to the iOS certificate wizard. [block:image] { "images": [ { "image": [ "https://files.readme.io/PyCTJgaSxCICPsQIA58Q_6.png", "6.png", "1100", "719", "#45567c", "" ] } ] } [/block] 6. From the drop-down menu select the App ID that corresponds to app which contains the Pulsate SDK. [block:image] { "images": [ { "image": [ "https://files.readme.io/LY0ktZslRuxun0Y126Xm_6.png", "6.png", "1100", "719", "#45567c", "" ] } ] } [/block] 7. If your are connecting this to a test app then select Apple Push Notification Service (SSL) Sandbox under development mode. OR If you are connecting this to a live app then select Apple Push Notification service (SSL) Sandbox under production mode. [block:api-header] { "type": "basic", "title": "Step 2: Create a Certificate Signing Request (CSR)" } [/block] [block:image] { "images": [ { "image": [ "https://files.readme.io/U9SIQyzQR5Gvo8OiQRKm_1.png", "1.png", "1051", "771", "#9c7464", "" ] } ] } [/block] 1. Next click 'continue' to create a Certificate Signing Request (CSR) file using Keychain Access on your MAC. [block:image] { "images": [ { "image": [ "https://files.readme.io/ylzU1wI9RQSXjRmMo8hZ_2.png", "2.png", "1108", "629", "", "" ] } ] } [/block] 2. Next open 'keychain Access' by going into Finder > Applications > KeychainAccess [block:image] { "images": [ { "image": [ "https://files.readme.io/5eWqPE0SLCVcJHMYdYnw_3.png", "3.png", "1022", "400", "", "" ] } ] } [/block] 3. Request a certificate by going to Keychain access > Certificate Assistant > request a Certificate From a Certificate Authority [block:image] { "images": [ { "image": [ "https://files.readme.io/3nTmTd5PRX6dWm34Qdb8_4.png", "4.png", "1028", "622", "#183751", "" ] } ] } [/block] 4. In the pop up window enter your email and name and make sure that Saved to disk is selected, then select continue. [block:image] { "images": [ { "image": [ "https://files.readme.io/XzaL8j7TQQuiAMHrHHID_5.png", "5.png", "1024", "594", "", "" ] } ] } [/block] 5. Another pop up will appear and you will be asked to save the CertificateSigningRequest.cert file to your desktop. Click save. [block:image] { "images": [ { "image": [ "https://files.readme.io/cf3DGgbdQThyBe38Rjgg_6.png", "6.png", "1111", "805", "#896964", "" ] } ] } [/block] 6. Go back to the iOS certificate wizard and select 'Choose File' and search for the CertificateSigningRequest.cert that you saved to your desktop. [block:image] { "images": [ { "image": [ "https://files.readme.io/GVdnXshQLOkj8bRlqrPa_7.png", "7.png", "1111", "805", "", "" ] } ] } [/block] 7. Upload the CertificateSigningRequest.cert file here [block:image] { "images": [ { "image": [ "https://files.readme.io/pYlpHn73TQG5DSG6zqeB_8.png", "8.png", "1111", "805", "#c6a553", "" ] } ] } [/block] 8. Next Click 'Generate' to create your certificate. [block:image] { "images": [ { "image": [ "https://files.readme.io/CCmls69jQI2b7nTYj4eB_9.png", "9.png", "1091", "911", "", "" ] } ] } [/block] 9. Finally Download the aps_development.cer file to your desktop [block:api-header] { "type": "basic", "title": "Step 3: Grant Keychain Access" } [/block] [block:image] { "images": [ { "image": [ "https://files.readme.io/WO41K8mNSO6VpVOjB9zg_1.png", "1.png", "1108", "629", "#193448", "" ] } ] } [/block] 1. In 'Finder' select 'Applications' and search for the 'Keychain Access' application and open it. [block:image] { "images": [ { "image": [ "https://files.readme.io/cLH4GsdSTWyo5oiz4nsl_2.png", "2.png", "1554", "722", "", "" ] } ] } [/block] 2. When you have the keychain Access application open, find the file that you downloaded (apps_development.cer) and double click on it. This will automatically open it then in the Keychain Access application. [block:image] { "images": [ { "image": [ "https://files.readme.io/icNvq76LR2qLgnyTyaEb_3.png", "3.png", "1554", "722", "", "" ] } ] } [/block] 3. Next select the drop down arrow to collapse the Keychain Access file. Select both options and then go to Keychain Access > file > export items [block:image] { "images": [ { "image": [ "https://files.readme.io/cdiZC0zBTNylxkV0O0M3_4.png", "4.png", "1554", "722", "", "" ] } ] } [/block] 4. Name your application (remember this for step 5 - point 5) with the file format of 'Personal Information Exchange' (p12) and click Save. [block:image] { "images": [ { "image": [ "https://files.readme.io/XRyoasiQ1irqlzVqWBt9_5.png", "5.png", 1554, 722, "", "" ] } ] } [/block] 5. You will be then prompted with another pop-up window with the option to password protect your cert. [block:callout] { "type": "info", "title": "Remember:", "body": "If you password protect your certificate you will need this later on when uploading the certificate on the Pulsate platform" } [/block] [block:image] { "images": [ { "image": [ "https://files.readme.io/NzXvB77HS2WWjwYodPuL_6.png", "6.png", 1554, 722, "", "" ] } ] } [/block] 6. After you click 'Allow' a p12 file will be generated and placed on your desktop (or wherever you have selected to save it). [block:html] { "html": "<div><a name =\"step4\"></a></div>" } [/block] [block:api-header] { "type": "basic", "title": "Step 4: Convert .p12 file to .pem" } [/block] [block:image] { "images": [ { "image": [ "https://files.readme.io/buVZBtFHTXKGjaCTjaXg_1.png", "1.png", "1365", "914", "", "" ] } ] } [/block] **1.** Go to 'Finder' and choose terminal from the applications folder. [block:image] { "images": [ { "image": [ "https://files.readme.io/cF8ox3jhQoy75yjUBEEw_2.png", "2.png", "720", "538", "#1d405b", "" ] } ] } [/block] **2. **When prompted input 'ls' (without quotes) to make sure you are in your home directory. [block:image] { "images": [ { "image": [ "https://files.readme.io/PcdwgAmQTC6p9AyjKPdk_3.png", "3.png", "720", "538", "#1d405b", "" ] } ] } [/block] **3. **You should see a number of folders, Desktop, Documents, Downloads etc. We're looking to change into the 'Desktop' directory so type: 'cd desktop' [block:image] { "images": [ { "image": [ "https://files.readme.io/FyhmaYsURs7ELQv65Hsg_4.png", "4.png", "720", "538", "#1d405b", "" ] } ] } [/block] **4. **You should then be inside the desktop directory, just to be sure your in the right place, type 'ls' again and hit enter. You should see the contents of your desktop listed along with the .p12 file you just created. [block:image] { "images": [ { "image": [ "https://files.readme.io/B7GnGtm3QK6NhBu9GFat_5.png", "5.png", "720", "538", "#1d405b", "" ] } ] } [/block] **5. **Next input the following line into terminal: openssl pkcs12 -in appname.p12 -out appname.pem -nodes [block:callout] { "type": "info", "title": "Example", "body": "(Where I have appname replace this with the name that you used when naming your .p12 file - see Step 3: Grant Keychain Access point 4 )" } [/block] [block:image] { "images": [ { "image": [ "https://files.readme.io/1dbOEplERBC87EAfPJ5j_6.png", "6.png", "720", "538", "#1d405b", "" ] } ] } [/block] **6. **You will be prompted now to enter the password that you created for the .p12 file [block:image] { "images": [ { "image": [ "https://files.readme.io/YtnInlA5Rwtv4hlJlcpe_7.png", "7.png", "720", "538", "#1d3f5b", "" ] } ] } [/block] **7.** If successful you will receive a verification message [block:image] { "images": [ { "image": [ "https://files.readme.io/8y9Hz9j4Tca2qzGF1A7A_8.png", "8.png", "720", "538", "#1c3f5b", "" ] } ] } [/block] [block:api-header] { "type": "basic", "title": "Step 5: Upload .pem Certificate to Pulsate" } [/block] [block:image] { "images": [ { "image": [ "https://files.readme.io/k4Om6DbUSkyGsT9a9a9x_Screen%20Shot%202016-04-01%20at%2013.25.51.png", "Screen Shot 2016-04-01 at 13.25.51.png", "1898", "230", "#4a8ab8", "" ] } ] } [/block] **1. **Go to Settings > App Settings and select choose file **2.** Choose the .pem file from your desktop [block:image] { "images": [ { "image": [ "https://files.readme.io/TafCrctXRFyu8KV5yJ4Y_2.png", "2.png", "1338", "494", "#4fa8cc", "" ] } ] } [/block] **3.** Input your password that you created during step 3 (#5) and click save. [block:image] { "images": [ { "image": [ "https://files.readme.io/pgfRaAYYT0iCaLnMQDaH_Screen%20Shot%202016-04-01%20at%2013.26.16.png", "Screen Shot 2016-04-01 at 13.26.16.png", "1911", "808", "#5488af", "" ] } ] } [/block] Congratulations, your iOS app is now ready to use with the Pulsate platform!