how to how to setup new OAuth 2.0 Client Credentia...
# ask-stanley-ai
m
how to how to setup new OAuth 2.0 Client Credentials Setup with ES256
c
AI generated answer (using internal Slack threads):
Based on the conversations, here is a step-by-step guide on how to set up a new OAuth 2.0 Client Credentials Setup with ES256: 1. Go to Setup > Integration > Manage Authentication > OAuth 2.0 Client Credentials (M2M) Setup in NetSuite. 2. Generate a SSL certificate using OpenSSL. You can use the following command as mentioned in the conversation:
Copy code
openssl req -x509 -newkey rsa:4096 -sha256 -keyout auth-key.pem -out auth-cert.pem -nodes -days 730
This command will generate two files:
auth-key.pem
(private key) and
auth-cert.pem
(public key). 3. Upload the public key (
auth-cert.pem
) to NetSuite. Please note that NetSuite does not allow you to upload the private key. 4. After uploading, you might encounter an issue where the certificate does not appear immediately in the table. This seems to be a known issue and might require multiple refreshes or trying a different browser. However, as long as you get a confirmation that the certificate was submitted correctly, you should be able to proceed. 5. Once the certificate is uploaded and visible, you can use the certificate ID for your OAuth 2.0 Client Credentials Setup. Please note that NetSuite uses the assertion framework extension, so it's more complicated than normal client credentials. Also, it's important to keep your private key (
auth-key.pem
) secure and not share it with anyone. ****** 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.811910152
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.790641963
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.787630141
Please provide your feedback on this answer.