First time here? Check out the FAQ!

certificate error on neren

using classic rets with my account 1021mcn

i login on ' all is good

when i change to i get ssl.CertificateError: hostname '' doesn't match either of '*', ''

if there are different urls then the email sent today should let us know. just wasted time changing a bunch of scripts, to have to change them back again.

bscdata's avatar
asked 2022-07-11 15:06:11 -0500
edit flag offensive 0 remove flag close merge delete


add a comment see more comments

1 Answer


Use URL (notice the dash instead of dot in the domain):
bwolven's avatar
answered 2022-07-11 15:53:53 -0500
edit flag offensive 0 remove flag delete link


Were you able to get this working?

bwolven's avatar bwolven (2022-07-12 08:49:41 -0500) edit

no now i get 401 Unauthorized

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

You do not have permission to view this directory or page using the credentials that you supplied.


credentials are good because they work with http

bscdata's avatar bscdata (2022-07-12 09:36:00 -0500) edit

Are you using "Basic" authentication?

bwolven's avatar bwolven (2022-07-12 09:37:16 -0500) edit

user is mcn1021 not 1021mcn (this is sold database username) as above.

bscdata's avatar bscdata (2022-07-12 09:53:40 -0500) edit

I would suggest that you try the URL in a browser and see if you can login that way.
If it doesn't work there, you may be using an invalid password.

bwolven's avatar bwolven (2022-07-12 10:32:48 -0500) edit

i see if i use the link with neren-rets it automatedly changes to https and authenticates fine. will that continue or are you getting rid of the redirect? is seems the script i use will work fine if that stays the same. the script was written over 10years ago and the person who did it has retired and is not available. i would assume it is basic auth.. it uses authhandler = HTTPDigestAuthHandler( password_mgr)

bscdata's avatar bscdata (2022-07-12 10:40:05 -0500) edit

For our HTTPS connections, we require Basic authentication.
If you used Digest on HTTPS instead, you will get a 401 error.
For HTTP we required Digest.
You may be able to change to authhandler = HTTPBasicAuthHandler in your script?

bwolven's avatar bwolven (2022-07-12 10:44:18 -0500) edit

thanks that did it.

bscdata's avatar bscdata (2022-07-12 11:02:01 -0500) edit

Great! Glad to hear you are working now.

bwolven's avatar bwolven (2022-07-12 11:08:22 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer