We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8a58cc commit 8befd90Copy full SHA for 8befd90
packages/connectivity/src/http-agent/http-agent.ts
@@ -145,12 +145,7 @@ function getKeyStoreOptions(destination: Destination):
145
if (aliases.length === 0) {
146
throw Error('No entries found in JKS keystore');
147
}
148
- if (aliases.length > 1) {
149
- throw Error(
150
- 'Multiple entries found in JKS keystore; only a single entry is supported'
151
- );
152
- }
153
- const alias = aliases[0]; // Use first alias
+ const alias = aliases[0];
154
const entry = pemKeystore[alias];
155
if (!entry.cert || !entry.key) {
156
throw Error('Invalid JKS entry: missing cert or key');
0 commit comments