awslabs / aws-api-gateway-developer-portal

A Serverless Developer Portal for easily publishing and cataloging APIs
Apache License 2.0
928 stars 402 forks source link

Export/Import Client Certificates to Developer Portal #515

Closed hasanr68 closed 2 years ago

hasanr68 commented 2 years ago

Hi all. I have setup an API on an EC2 Instance and the API Gateway with a client certificate + all the other requirements. When I test the API call with a client certificate in the API Gateway everything works fine. Then I exported and added the json file to the S3 bucket and the API is subscribable and visible to developers.

However, when I try it out I get: TypeError: Failed to fetch

It seems that the backend does not return a response as the Certificate is not present. This was seemed to be working fine when I had tested the API without client certificate authentication. How can I let developers test (do I need to add the certificate somewhere?, or there needs to be some other workaround?)

Sorry, my first post here - searched for the answer but didn't find any.

Thanks.

hasanr68 commented 2 years ago

This is not a certificate issue. Its got to do with APIs not being accepted by the developer portal.