ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

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)

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". 

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.

Environment

All supported DevTest releases and platforms.

Resolution

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