Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

somwhere #3

Open
Jean-Baptiste-Lasselle opened this issue Jul 11, 2020 · 0 comments
Open

somwhere #3

Jean-Baptiste-Lasselle opened this issue Jul 11, 2020 · 0 comments

Comments

@Jean-Baptiste-Lasselle
Copy link
Owner

  • find somewhere to put that away (How to explain HTTP Basic Auth) :
jbl@poste-devops-jbl-16gbram:~$ echo -n 'YWRtaW46YWRtaW4=' | base64 -d -
admin:adminjibl@poste-devops-jbl-16gbram:~$ 
jbl@poste-devops-jbl-16gbram:~$ curl -X POST -u "admin:admin" -iv http://pegasusio.io:21001/
*   Trying 192.168.1.34...
* TCP_NODELAY set
* Connected to pegasusio.io (192.168.1.34) port 21001 (#0)
* Server auth using Basic with user 'admin'
> POST / HTTP/1.1
> Host: pegasusio.io:21001
> Authorization: Basic YWRtaW46YWRtaW4=
> User-Agent: curl/7.52.1
> Accept: */*
> 
< HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
< Content-Type: text/plain; charset=utf-8
Content-Type: text/plain; charset=utf-8
< X-Content-Type-Options: nosniff
X-Content-Type-Options: nosniff
< Date: Fri, 10 Jul 2020 20:54:11 GMT
Date: Fri, 10 Jul 2020 20:54:11 GMT
< Content-Length: 23
Content-Length: 23

< 
invalid host specified
* Curl_http_done: called premature == 0
* Connection #0 to host pegasusio.io left intact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant