Unable to record a HTTPS VS using Portal - Error: "DerInputStream.getLength(): lengthTag=109, too big.. Please choose a different port."
search cancel

Unable to record a HTTPS VS using Portal - Error: "DerInputStream.getLength(): lengthTag=109, too big.. Please choose a different port."

book

Article ID: 7520

calendar_today

Updated On:

Products

CA Application Test CA Continuous Application Insight (PathFinder) Service Virtualization

Issue/Introduction

When trying to record a virtual service for a target URL using SSL, I provide the keystore under "Select Certificate Presented to Server" and the Portal allows to proceed with the recording.

When I select "Start Recording", I get the following message "DerInputStream.getLength(): lengthTag=109, too big.. Please choose a different port". 

Environment

All supported DevTest releases and platforms.

Cause

In earlier versions of DevTest, the Portal recorder used to show all keystore entries once the keystore password has been entered.

The problem with showing all entries is that it allows a user to potentially pick an entry for a trust public certificate instead of an entry for a private key.

DevTest needs a private key entry to identify ourselves properly during SSL communication.

Resolution

Select the alias for the private key under the SSL Key Alias field in the Portal VSE Recorder.