Call API using self-signed certificate
# ask-stanley-ai
p
Call API using self-signed certificate
c
AI generated answer (using internal Slack threads):
Based on the conversations, it seems that you are trying to make an API call using a self-signed certificate. However, you are encountering issues due to the limitations of the https/clientCertificate Module in NetSuite SuiteScript, which only works for POST requests. One of the users suggested using middleware to send the request. Middleware is software that lies between an operating system and the applications running on it. It enables communication and data management for distributed applications. It can be used to overcome the limitations of the https/clientCertificate Module. However, please note that this approach requires additional setup and may not be suitable for all use cases. It's also important to ensure that the middleware you choose supports the necessary security protocols and certificate handling. If you are getting an error like SSS_INVALID_HOST_CERT, it could be due to the issuer of the certificate not being on the approved list. In such cases, you might need to get a certificate from a trusted Certificate Authority. If you are getting an error like "unexpected error. Verify the certificate ID and check that it has not expired", it could be due to an expired or invalid certificate ID. Make sure that the certificate ID is correct and the certificate is not expired. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.792301059
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.785951495
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.781681657
Please provide your feedback on this answer.