Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • API and SDK Questions /
avatar image
Question by Kim Strasser · Jun 18, 2019 at 03:30 PM · Push Notifications

Could not find RSA key text in PEM file

I want to upload my PEM file to enable push notifications but I get this error message: Could not find RSA key text in PEM file.

I exported my certificate as .pem file in the macOS Keychain but it is not working in the PlayFab Game Manager.

I created this type of certificate in my Apple developer account:

iOS Apple Push Notification service SSL (Sandbox)

Establish connectivity between your notification server and the Apple Push Notification service sandbox environment to deliver remote notifications to your app. A separate certificate is required for each app you develop.

In addition, I don't know how to use the generator in this link:

https://api.playfab.com/docs/tutorials/landing-players/push-notification-basics/push-notifications-for-ios

What is "Application Name"? How can I copy the complete contents of my PEM file in the text box?

I don't know how to open a PEM file.

bildschirmfoto-2019-06-18-um-165902.png (463.4 kB)
bildschirmfoto-2019-06-18-um-171449.png (96.3 kB)
Comment

People who like this

0 Show 0
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Jay Zuo · Jun 19, 2019 at 07:50 AM

As the documentation said, "Application Name" is the name of the application sending the message. And to get the content of your PEM file, you can open the PEM file with a text editor (e.g. Visual Studio Code). The content would like:

Bag Attributes
    friendlyName: Apple Push Services: com.microsoft.xxx
    localKeyID: 91 B0 CF 3C 0A 83 xx 5C 0D 4A BD 4A 58 E4 xx xx xx xx xx xx 
subject=/UID=com.microsoft.xxx/CN=Apple Push Services: com.microsoft.xxx/OU=UBF8T346G9/O=Microsoft Corporation/C=US
issuer=/C=US/O=Apple Inc./OU=Apple Worldwide Developer Relations/CN=Apple Worldwide Developer Relations Certification Authority
-----BEGIN CERTIFICATE-----
MIIGaTCCBVGgAwIBAgIIP9OIky55U/AwDQYJKoZIhvcNAQELBQAwgZYxCzAJBgNV
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
RagAB6ORtIrxf3M29fvlKTUW52fmcBGHOL1lyXJJU7W6HaUHff76m6y0g4VOJfvG
P36dkazijYXZROa1Fw==
-----END CERTIFICATE-----
Bag Attributes
    friendlyName: playfab xxxxxx
    localKeyID: 91 B0 CF 3C 0A 83 xx 5C 0D 4A BD 4A 58 E4 xx xx xx xx xx xx 
Key Attributes: <No Attributes>
-----BEGIN PRIVATE KEY-----
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCuAa1cKMYkLfmC
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
PjHuR4NDd3mKfD5x6JOXtAye8suG81Fec3sBxUICq3retlQx/ElCwKwi+rTXdiI/
W9n56+1CWQtfsxZG03ldWXdM
-----END PRIVATE KEY-----


Comment

People who like this

0 Show 0 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    2 People are following this question.

    avatar image avatar image

    Related Questions

    How can I use Push Notifications 1 Answer

    Playfab android notification error,Playfab android notifications error 1 Answer

    How can I use AdvancedPlatformDelivery to send push notifications? 1 Answer

    How frequently can I call RegisterForIOSPushNotificationAsync/AndroidDevicePushNotificationRegistrationAsync? 1 Answer

    AndroidDevicePushNotificationRegistrationRequest 409 conflict error 1 Answer

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges