Hi
@Benjamin,
Shared command won't work with the 443 port so I have added the -k option in the cmd.
Below is the o/p of the requested cmd.
Code: Select all
[e5613751@avgdlnxvp127 ~]$ curl -k -v -X POST https://10.173.8.69/ngetpaid/#/login
* About to connect() to 10.173.8.69 port 443 (#0)
* Trying 10.173.8.69...
* Connected to 10.173.8.69 (10.173.8.69) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* skipping SSL peer certificate verification
* SSL connection using TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
* Server certificate:
* subject: CN=*.avantgardportal.com,OU=Corporate Liquidity and Bank Treasury,O="Fidelity National Information Services, Inc.",STREET=601 Riverside Ave,L=Jacksonville,ST=Florida,postalCode=32204,C=US
* start date: May 12 00:00:00 2020 GMT
* expire date: May 12 23:59:59 2022 GMT
* common name: *.avantgardportal.com
* issuer: CN=Sectigo RSA Organization Validation Secure Server CA,O=Sectigo Limited,L=Salford,ST=Greater Manchester,C=GB
> POST /ngetpaid/ HTTP/1.1
> User-Agent: curl/7.29.0
> Host: 10.173.8.69
> Accept: */*
>
< HTTP/1.1 411 Length Required
< Content-Type: text/html; charset=us-ascii
< Server: Microsoft-HTTPAPI/2.0
< Date: Fri, 11 Dec 2020 09:50:09 GMT
< Connection: close
< Content-Length: 344
<
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Length Required</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Length Required</h2>
<hr><p>HTTP Error 411. The request must be chunked or have a content length.</p>
</BODY></HTML>
* Closing connection 0
Below o/p is for password prompt.
Code: Select all
[e5613751@avgdlnxvp127 ~]$ curl -k -v -X POST -u MonitorUser https://10.173.8.69/ngetpaid/#/login
Enter host password for user 'MonitorUser':
* About to connect() to 10.173.8.69 port 443 (#0)
* Trying 10.173.8.69...
* Connected to 10.173.8.69 (10.173.8.69) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* skipping SSL peer certificate verification
* SSL connection using TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
* Server certificate:
* subject: CN=*.avantgardportal.com,OU=Corporate Liquidity and Bank Treasury,O="Fidelity National Information Services, Inc.",STREET=601 Riverside Ave,L=Jacksonville,ST=Florida,postalCode=32204,C=US
* start date: May 12 00:00:00 2020 GMT
* expire date: May 12 23:59:59 2022 GMT
* common name: *.avantgardportal.com
* issuer: CN=Sectigo RSA Organization Validation Secure Server CA,O=Sectigo Limited,L=Salford,ST=Greater Manchester,C=GB
* Server auth using Basic with user 'MonitorUser'
> POST /ngetpaid/ HTTP/1.1
> Authorization: Basic TW9uaXRvclVzZXI6TmFnaW9zUGFzcyMyNDA2
> User-Agent: curl/7.29.0
> Host: 10.173.8.69
> Accept: */*
>
< HTTP/1.1 411 Length Required
< Content-Type: text/html; charset=us-ascii
< Server: Microsoft-HTTPAPI/2.0
< Date: Fri, 11 Dec 2020 09:51:31 GMT
< Connection: close
< Content-Length: 344
<
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Length Required</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Length Required</h2>
<hr><p>HTTP Error 411. The request must be chunked or have a content length.</p>
</BODY></HTML>
* Closing connection 0