Effective December 3, NetApp adopts Microsoft’s Business-to-Customer (B2C) identity management to simplify and provide secure access to NetApp resources.
For accounts that did not pre-register (prior to Dec 3), access to your NetApp data may take up to 1 hour as your legacy NSS ID is synchronized to the new B2C identity.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Active IQ Unified Manager Discussions

perl post request fails on SSL handshake

jivam
 
4 REPLIES 4

sinhaa

This is the laziest post I've seen Man Happy 

 

Care to provide some details?

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

jivam

Trying to use a post request against WFA server.

No certificate is being used

GET request agains the same server works fine

below is the output after execution

 

'client-ssl-socket-class' => 'Net::SSL'
'client-ssl-warning' => 'Peer certificate not verified'
'connection' => 'keep-alive'
'content-length' => 71
'content-type' => 'text/html;charset=UTF-8'
'date' => 'Fri, 06 Apr 2018 16:02:19 GMT'
'expires' => 0
'pragma' => 'no-cache'
'server' => 'WildFly/8'
'title' => 'Error'
'www-authenticate' => 'Basic realm="wfa-ws-login"'
'x-powered-by' => 'Undertow/1'
'_msg' => 'Unauthorized'
'_protocol' => 'HTTP/1.1'
'_rc' => 401
'_request' => HTTP::Request=HASH(0x22daaf0)
'_content' => ''
'_headers' => HTTP::Headers=HASH(0x22daad8)
'content-length' => 0
'content-type' => 'application/x-www-form-urlencoded'
'user-agent' => 'libwww-perl/6.15'
'_method' => 'POST'
'_uri' => URI::https=SCALAR(0x18dea68)
-> 'https://30.5.203.157/rest/workflows/8c1a4f35-63b0-46f8-845f-1e81ec199858/preview'
'_uri_canonical' => URI::https=SCALAR(0x18dea68)
-> REUSED_ADDRESS

jivam

The credentials are valid

sinhaa

'_msg' => 'Unauthorized'
'_protocol' => 'HTTP/1.1'
'_rc' => 401

 

----

HTTP Error 401 - Unauthorized: Access is denied due to invalid credentials. 

 

sinhaa

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public