question

Daiki Yamamoto avatar image
Daiki Yamamoto asked

ignore ssl certificate validation

We are trying to access a third party API. However, since the API is protected by its own certificate, an SSL certificate verification error will be output. Is there a way to deal with this? Is it possible to upload my own certificate? Is it possible to avoid it by going through Azure Functions?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Sarah Zhang avatar image
Sarah Zhang answered

Could you please provide more details, where do you try to call the third-party API? Do you mean you call the external API on CloudScript?

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Daiki Yamamoto avatar image Daiki Yamamoto commented ·

It is necessary to call the external API provided by the console platform to get the information. I tried to do this with http.request but got an error because it was signed with my own certificate. This is also described below. https://developer.nintendo.com/group/development/g1kr9vj6/forums/english/-/gts_message_boards/thread/304891855

0 Likes 0 ·
Sarah Zhang avatar image Sarah Zhang Daiki Yamamoto commented ·

Apologies for the delayed reply. We can't access the Nintendo's developer forum. If you want to use your own certificate on our serverless function, it's truly better to use Azure Functions. CloudScript doesn't provide an option to upload the private certificate.

This documentation -- https://docs.microsoft.com/en-us/azure/app-service/configure-ssl-certificate provides a tutorial to add an SSL certificate in Azure App Service.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.