-
Notifications
You must be signed in to change notification settings - Fork 820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Error outputting keys and certificates" when adding APNS notifications to Amplify #12969
Comments
Hey @JoakimMellonn, thank you for reaching. Could you let us know the openssl version currently installed by running Additionally, could you try directly running the openssl command in your terminal and let us know the output? Marking this as bug for error messaging improvements as I was able to reproduce a similar error message
|
This is the output from |
@JoakimMellonnThe terminal should prompt you for a pass if we remove the the output should be similar to as follows if the certificates are valid
|
Ah okay, I get the same error when doing it directly in the terminal.
|
Hey @JoakimMellonn, thank you for the information. I was able to reproduce the issue using Making a note here for further investigation. |
Thank you, I've now tried switching to LibreSSL and can confirm it is working. |
|
@JoakimMellonn reopening the issue for tracking this behaviour and provide better error messaging. |
Still getting this error, when using the cli
|
Above worked |
These are the steps to switch to libressl from openssl
The command to know where is your liberssl was is |
Note: true-glassy's answer resolves the issue for amplify add notifications (or amplify update notifications). |
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v18.13.0
Amplify CLI Version
12.1.1
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes made
Describe the bug
In my Flutter project I'm trying to add notifications with APNS. When I do this I get the following error message after giving the path to the .p12 certificate and writing the non-existent password (just pressing enter):
Expected behavior
Amplify notifications should be added to the project without any problems.
Reproduction steps
Project Identifier
369c3e3e1f86cb7691bd7b7aef05de77
Log output
Additional information
No response
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: