teamcaz
I hate code!
Profile
Posts: 513
Reg: Jun 12, 2011
carlsbad
5,130
11/24/13 04:45 PM (11 years ago)

Has anyone been able to upload their .pem file?

I still have yet to be able to upload my .pem file.... I'm so frustrated! It gives me the error: you are trying to upload a .pem file, please instead upload a .pem file... WTF! any help would be greatly appreciated :)
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
11/25/13 07:21 AM (11 years ago)
@teamcaz: Is it still not working with BT3.0? Jake
 
teamcaz
I hate code!
Profile
Posts: 513
Reg: Jun 12, 2011
carlsbad
5,130
like
11/25/13 07:39 AM (11 years ago)
yes, I just tried gain and no luck...
 
cm3000
I hate code!
Profile
Posts: 1
Reg: Mar 04, 2012
Locarno
610
like
11/25/13 12:01 PM (11 years ago)
Unfortunately, I have the same problem ...
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
01/06/14 09:04 AM (11 years ago)
FIXED: 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"){ If you want to see how the old code was broken; I inserted this line to get visible output in the control panel that showed what the variables were set to. It was then apparent where the mismatch was: $strMessage = "<br/>file_ext is: " . $file_ext . " filename is: " . $filename . " userfile_type is: " . $userfile_type; Hope this helps someone! Seizure Later, Tim
 
Jake Chasan
Veteran developer
Profile
Posts: 1685
Reg: May 13, 2011
location unknow...
29,650
like
01/09/14 03:31 PM (11 years ago)
@WolfTimJ: Have you put this in the bug report post? (this is a useful fix, thanks for finding it.) Jake
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
01/09/14 03:33 PM (11 years ago)
Yes Tim
 

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.