Discussion Forums  >  Self Hosted Control Panels

Replies: 2    Views: 65

RogueWave
Aspiring developer
Profile
Posts: 337
Reg: Jan 23, 2013
Park City
5,120
03/18/14 04:12 PM (10 years ago)

.pem doesn't upload in push set up

BT_core 3.0 Self Hosted Enabled app for push in IOS Certificates Cert Sign Rec for "production" .cer for push Dbl click, noted it was added to Keychain Right click .cer for push located in keychain access list Export .p12 saved on desk top named it wss Converted wss.p12 to wws.pem BT control panel, selected "production certificate" Clicked green +, found was.pem certificate, selected .pem file, clicked upload and it says: "Invalid file type .pem files only, you tried to upload a file named wss.pem" What the what??? I redid the whole process twice and still it upload the .pem??? server issue? Or... The App is live in the App Store...does this have something to do with it? I want to enable push in the cloud from the BT control panel.
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
03/18/14 04:42 PM (10 years ago)
In BT-server/bt_v15/bt_app change line 431 of file: bt_pushNotifications.php <<OLD>> //if(strtolower($userfile_type) != "application/octet-stream" || strtolower($file_ext) != "pem"){ <<NEW>> if(strtolower($userfile_type) != "application/x-x509-ca-cert" || strtolower($file_ext) != "pem"){ Tim
 
RogueWave
Aspiring developer
Profile
Posts: 337
Reg: Jan 23, 2013
Park City
5,120
like
03/18/14 04:44 PM (10 years ago)
Cool, Tim, thank you!
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.