Questions tagged [https]

1

votes
1

answer
11

Views

In urllib3, HTTP request hangs … but doesn't in curl

(Thanks for taking a look at this!) I'm trying to use python3 and simple urllib3 http.request to read HTML from https://login.morganstanleyclientserv.com. It seems like the server is resetting the connection, and eventually urllib3's retries give up. Is there a TLS negotiation issue here? If so, ho...
bdemchak
0

votes
1

answer
50

Views

Redirecting from https to http?

Strange problem here. I use FullCalendar to initiate an ajax request to an endpoint on my server. Endpoint is: https://my_website/events/?start=2019-03-31&end=2019-05-12&_=1555698739056 Note that it is explicitly https. However, when I initiate a request (that is, when Fullcalendar initiates a requ...
WillardSolutions
0

votes
0

answer
6

Views

Volley long HTTPS Request never responsed

I create volley request to receive HTTPS backend. RequestQueue queue = Volley.newRequestQueue(uiCallback.getContext(), new SSLVerification().getHurlStack(uiCallback.getContext())); JsonObjectRequest req = new JsonObjectRequest(Request.Method.GET, requestUrl, null, new Response.Listener() { ... } req...
anatoli
0

votes
0

answer
7

Views

Omnifaces CDN resource handler ignoring HTTPS

I am experiencing this weird behavior when trying to load a script stored on another server but the one where the system is running. Other server is secured, and certificates are valid. I can normally call the URL specified in my web descriptor. This is my web descriptor entry: org.omnifaces.CDN_RES...
Vanja Lee
0

votes
0

answer
9

Views

Why is TLS relevant in non-secure http?

I am using WebClient to get data from a web resource thus: var wc = new System.Net.WebClient(); var stream = wc.OpenRead('http://...'); // etc.. It used to work until recently, when the server would forcibly close the connection. Based on this StackOverflow answer, I added the ServicePointManager se...
Zenilogix
1

votes
2

answer
311

Views

golang on GCP => listen tcp :443: bind: permission denied

I have an issue trying to setup an https on Google Cloud Platform using golang + let's encrypt I already have a domain targeting the IP of the instance Also I got a let's encrypt certificate and chain saved on /etc/letsencrypt/live/mydomain.com/ I already setup myapp to use the cert and configured t...
Roberto
1

votes
0

answer
669

Views

curl https://google.com/ not working

I am trying to fetch the details of google.com using curl. But I am getting the below error. I checked a lot of posts /blogs on internet but could not make it work. I want it to be secure, so I cant use '-k' option. Os Details [email protected]:/etc/ssl/certs# uname -a Linux ubuntu-amd64 3.13.0-135-...
Sujeet Padhi
1

votes
0

answer
77

Views

About internet. Why Skip 420 in HTTP 4xx Client errors?

He guys, I am learning HTTPS and HTTP requests and come across a list of HTTP_status_codes on Wiki. 4xx Client errors start at 400 and increment 1 at a time all the way up to 418 (I'm a teapot- april fools joke in 1998) then it skipped 419 and 420? then the error codes become continuous again for a...
OLIVER.KOO
1

votes
2

answer
102

Views

Force site to HTTPS except for some pages and Facebook crawler

There are a few similar questions to this, but none really covered everything I need to do and I'm a bit over my head! I have an existing wordpress site. I want to force the home page and any new subpages to HTTPS but force existing subpages (about 20 of them) to HTTP. Reason being these subpages ha...
AustIm
1

votes
0

answer
73

Views

HTTP redirects to a page without HSTS

I am using https://hstspreload.org to test the status of HTTP to HTTPS redirect and HSTS. I receive the following error message: HTTP redirects to a page without HSTS http://example.com redirects to https://example.com/, which does not serve a HSTS header that satisfies preload conditions. Here are...
alljamin
1

votes
0

answer
107

Views

How do I send a secure cookie over HTTPS on Android Retrofit 2/OkHTTP3?

I'm using Retrofit 2. For some reason, my Android app can never succeed calling backend Django API due to CSRF token failure because CSRF_COOKIE_SECURE is set to True. So how do I send the cookies over OkHttp3 and Retrofit 2 as secure (over HTTPS)?
waynejohn1110
1

votes
0

answer
25

Views

Redirect to https and sub dir on apache2

I have a bolt application installed and want to do 2 things with my .htacces: 1st) Redirect to the /public/ folder, since bolt displays an error otherwise. 2nd) Change all incoming requests to https:// Seperatly I get them to work, individually I get either: 404, installation error or missing files...
Peter
1

votes
1

answer
894

Views

Spring Boot Login Redirect 302 Losing HTTPS

Upon login attempt in a SpringBoot app using custom login page, the webapp automatically switches from HTTPS to HTTP. I want to allow both, but it shouldn't switch out of HTTPS automatically if it was already there. See Chrome log here: -- General Request URL:https://example.com/login Request Meth...
abeauchamp
1

votes
0

answer
127

Views

Google fetch failed after enabling cloudflare SSL

I get a certificate from Cloudflare and enable https from Cloudflare API. then add SSL certificate to my Nginx config. then add some page rule to redirect non-www and non-https to www and https version of my website after that my website works fine but when I add https version of my website to g...
Hossein Sadeghi
1

votes
0

answer
30

Views

Dynamic htaccess for www or non-www and http or https

I hope that I'll explain myself in my needs. I'm trying to write a dynamic htaccess but I don't achive to understand the conditions and the rewriting rules. Here is my thing, I built a small CMS where the user will write their base url like 'stackoverflow.com' and he'll choose with some radio input...
1

votes
0

answer
722

Views

What does Error: TCP connection reset by peer - PHP/CURL/HTTPS issues

I am stuck here: I get this Error: TCP connection reset by peer. This is my CURL Script $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url_webpay); //curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); //curl_setopt($ch, CURLOPT_TIMEOUT, 60); //curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); //curl_seto...
Aderogba Otunla
1

votes
0

answer
69

Views

Http, Https and Null reference exception C#

From my wix website i am trying to redirect to an external link website by clicking on a button. Let's say it's something like this When i click the button, myurl.com gives a NullReferenceException and on the other side, if i get rid of that s at http, i am able to access myurl.com. Which means it...
E. Hysenaj
1

votes
1

answer
34

Views

How are POST requests constructed?

How does a web browser construct a valid HTTP POST request from HTML source code? For example, the login form on https://stackexchange.com/users/login looks like: Email [email protected] Password Password If I intercept the request my browser sends, I can see the full POST request to be: POST /affili...
Michal Nerek
1

votes
0

answer
281

Views

Jenkins Jira Plugin SSL Authentication issue

Good day. I'm trying to realize integration Jenkis/Bitbucket Server/Jira Server. All servers are working under SSL (Private PKI) with Peer authentication enabled. So first step is to connect to BitBucket and it was successfull. Everything i've done is added JVM_ARGS to jenkins -Djavax.net.ssl.keySt...
Dmitry Lukasevich
1

votes
1

answer
154

Views

DownloadString works for HTTP but not for HTTPS

I have webclient call in my SSIS package which call an API to get JSON response. using (var mySSISWebClient = new System.Net.WebClient()) { mySSISWebClient.Headers[HttpRequestHeader.Accept] = 'application/json'; var result = mySSISWebClient.DownloadString(jsonURLwithDate); } When I change the URL to...
Sam
1

votes
0

answer
25

Views

Cannot edit orders after change to https - OpenCart 2X

After changing into https and adding the following code to the .htaccess file: RewriteCond %{HTTP_HOST} domainname\.com [NC] RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.domainname.com/$1 [R,L] I get a 'SytaxError:Unexpected end of JASON input error' when I want to edit an order. Whe...
Aziz S. Kural
1

votes
1

answer
86

Views

Meteor --production not running on https://localhost:3443 but defaults to localhost:3000

I am running meteor from the console (not using mup) Development: ROOT_URL=https://localhost:3443 meteor --settings=settings.json Production: ROOT_URL=https://localhost:3443 meteor --settings=settings.json --production I want production to run in https://localhost:3443 but it only shows up on loca...
Darren Tu
1

votes
1

answer
213

Views

Security - pass password /secrets to Webapi

What is the best practice to pass sensitive information like password/secret from angular to Webapi? Should we need to hash/encrypt them at the client before sending to webapi? Having https:// protocol would be enough to pass the sensitive information over the wire without encrypting? Let me know yo...
Balaji
1

votes
0

answer
418

Views

How to force HTTPS on Wildfly 11?

I have an application that communicates with a Wildfly 11 server. Right now everything works with HTTP but I want to use only HTTPS. I would like to know how to disable http completely and only use https how to redirect http to https Is there a preferred approach between the 2? What files do I need...
Mark
1

votes
0

answer
273

Views

Web API w/ SSL allows non-secure GET requests

The scenario: I have a .NET Core 2.0 Web API app configure to use only secure connections. I'm using Postman to test the requests. If I try to POST, PUT or DELETE using non-secure URL (HTTP), it returns status 403 (as it should be). However, it accepts GET requests via HTTP. I'm really an amateur re...
thiagoprzy
1

votes
1

answer
77

Views

Nodejs instagram api post requesting authcode and it gives err 400

I am trying to send a post request to instagram to get an access token but when I send it I get err 400 which means bad syntax. Am I using bad syntax? const request = require('request'); var formData = { client_id: 'theclientid', client_secret: 'thelcientsecret', grant_type: 'authorization_code', r...
CarlosIsLazy
1

votes
0

answer
33

Views

Login to a website?

I am trying to make an app that would login the website. I am completely new to this kind of stuff, but so far the research on that topic has brought me to this code. But I am not sure where to go from here. Like the main task I need to do is: Get the username/password that a person has entered in t...
Rey
1

votes
0

answer
33

Views

Password protect https apache server

I'm having trouble adding apache password protection to the HTTPS version of a site. This server is running Ubuntu 14.04 and I've installed apache2. There is only one site on the whole server. I have succeeded in password-protecting the HTTP version of the site by entering the following code in /apa...
MBWD
1

votes
1

answer
64

Views

How to get remote TLS/SSL certificate when not trusted using jax-ws/SSLSocket

We are using a JAX-WS client over HTTPS to send messages (backed by CXF, which I think uses SSLSocket). We wish to log the remote certificate details, together with the message details, if the remote certificate is not trusted/invalid. Initially I hoped we would get a usefull exception, but the inte...
cranphin
1

votes
0

answer
33

Views

Not Able to upload : Resumable Upload using Google Apis in c#

I can send mail using Resumable upload Google Mail APIs. I don't want to send mail I want to just insert mail in particular folder(label). I tried : I obtained Mail Service using OAUTH2. & get token to create HTTPRequest. First I created POST request as string postUrl = 'https://www.googleapis.com...
Renuka
1

votes
0

answer
708

Views

Android posting to https using retrofit

I found similar post on How to post HTTPS request using Retrofit? but it does't help me that much so i was wondering if some of you could help. This is my first post on SO and if you need any more information please let me know. This is my code public static OkHttpClient getUnsafeOkHttpClient() { tr...
Mihovil Maricic
1

votes
0

answer
68

Views

Cloudflare Heroku Express.js SSL

I am using Cloudflare, Heroku Hobby Dynos to host my website. I am quite confused on how https and SSL management is being handled using their provided SSL certificates. Should I purchase my own self signed certificate instead? Also on the backend, I have it currently configured with http, but since...
hopelessmuffins
1

votes
0

answer
63

Views

Set cookies to a different https vendor site through CName

I'm having difficulty setting cookies to a https vendor site through CName alias. We have taken a similar approach with another vendor to get our OAuth authorization flow working but both our websites were served on http and all I had do to was set cookies on the .xyz.website.com domain for the vend...
Ungark
1

votes
0

answer
254

Views

Exposing HTTP only WCF service behind a HTTPS reverse proxy

We are currently building a company reverse proxy based on ASP.NET Core, with the intent to expose non-public client services to the internet. It should work like this: Browser\App ==HTTPS==> ReverseProxy ==HTTP in VPN Tunnel==> WCF Service Our current issue is that clients are exposing WCF services...
mordack550
1

votes
0

answer
426

Views

Intent-filters (https) on Android 8 (Oreo)

I'm having problems with intent-filters on Android 8.0 (oreo). I define my intent filter like that: But if I click on a link with https scheme the app isn't launched, if I click on a link with http scheme it does. If I try both links on a Android < 8.0 both links works. What I'm doing wrong?? Thanks...
Marc Martinez
1

votes
1

answer
269

Views

CNAME already exists cannot point www. in my Cloud Front Distribution

I am currently trying to create a distribution for the domain I own with Route 53, runway.supply I created a distribution and created A and AAA records for runway.supply which currently routes to my static site (I am getting other server related issues when trying to fetch my data) and now want to...
kareem
1

votes
1

answer
89

Views

Creating a Service against a generated web client with a https WSDL

So I have to create a service against a WSDL hosted at a HTTPS url and am having trouble creating the service. For practical reasons I am not allowed to add the cert to my trust store so when I do the following steps with a custom SSLSocketFactory(So we can dynamically change the keystore): QName n...
user898465
1

votes
0

answer
31

Views

authorization header in https request

Firstly, sorry for my grammar mistakes, I'm a Chinese who cannot find an answer in the Chinese community, so I search for help here. Please help me, thanks! 1 Problem Simply put, I use HTTPAnalyzer to trace an https request, and this request contains a header named authentication (I have put this he...
Qian yi Zhou
1

votes
1

answer
251

Views

SSL Error in nodejs request package

I'm trying to call freecodecamp api @url https://forum.freecodecamp.org/c/getting-a-developer-job.json? I am doing some analysis on the data, but when I call this service using 'request' npm package I am getting ssl error as follows: error { Error: write EPROTO 140735782093632:error:14094410:SSL rou...
Ninad Ingole
1

votes
3

answer
172

Views

http to https in EC2 apache2 in AWS

I'm trying to have https for a website which is hosted in AWS EC2. I have followed the steps mention in the following link. https://www.digitalocean.com/community/tutorials/how-to-create-a-ssl-certificate-on-apache-for-ubuntu-14-04 But still its showing the privacy thing to all user who are visiting...
Shihas

View additional questions