Skip to content

Conversation

@emincihangeri
Copy link

Closes SAP/ai-sdk-js-backlog#358.

Copy link
Member

@davidkna-sap davidkna-sap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In addition, tests should be updated (and all the other checks).

emincihangeri and others added 2 commits December 3, 2025 14:43
Comment on lines +140 to +142
if (!destination.keyStorePassword) {
throw Error('Keystore password is required for JKS format');
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAICT this is optional and removing it might help with the most recent update by the user.

Suggested change
if (!destination.keyStorePassword) {
throw Error('Keystore password is required for JKS format');
}

The node client supports only these store formats https://nodejs.org/api/tls.html#tlscreatesecurecontextoptions.
*/
const supportedCertificateFormats = ['p12', 'pfx', 'pem'];
const supportedCertificateFormats = ['p12', 'pfx', 'pem', 'jks'];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not completely sure, but I think this can be listed there too now:

Suggested change
const supportedCertificateFormats = ['p12', 'pfx', 'pem', 'jks'];
const supportedCertificateFormats = ['p12', 'pfx', 'pem', 'jks', 'keystore'];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants