NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Active IQ Unified Manager Discussions

perl post request fails on SSL handshake

jivam
4,779 Views
 
4 REPLIES 4

sinhaa
4,689 Views

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
4,630 Views

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

sinhaa
4,598 Views

'_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.

jivam
4,582 Views

The credentials are valid

Public