Notification

Icon
Error

PR_CONNECT_RESET_ERROR when trying to connect via HTTPS - Followed the instructions. Why is my result bad?

Posted: Wednesday, September 11, 2019 3:52:57 PM(UTC)
foryouarecrunchy

foryouarecrunchy

Member Original PosterPosts: 2
0
Like
This issue has been solved! Click here to view the solution
Followed instructions outlined here: https://www.lansweeper.c...gure-ssl-in-iis-express/

1. Didn't change default http and https ports. (Still 81 and 82 respectively)

2. Imported the wildcard certificate that I would like to use to both the "Local Machine" certificate store and "Current User" certificate store under (Personal > Certificates).

3. Grabbed the thumprint and put it in the correct fileds in "Program Files (x86)\Lansweeper\IISexpress\IISExpressSvc.exe.config"

4. Changed the UseCustomSSLCertificate value to 1 in the same file.

5. Started IISExpress. HTTP site works, HTTPS site gives me this error in FF:

foryouarecrunchy attached the following image(s):
errorff.PNG
foryouarecrunchy
#1foryouarecrunchy Member Original PosterPosts: 2  
posted: 9/11/2019 5:41:22 PM(UTC)
Figured it out. Was an issue with the encoding of the thumbprint string I copy/pasted from the dialog.

If you get the same issue, you'll have these entries in your log.

Time: 11/09/2019 09:22:50 - Result: === Start ===
Time: 11/09/2019 09:22:50 - Result: ADD Custom URL - Port: 82
Time: 11/09/2019 09:22:50 - Result: Error Performing Commands. System.FormatException: Could not find any recognizable digits. at System.ParseNumbers.StringToInt(String s, Int32 radix, Int32 flags, Int32* currPos) at System.Convert.ToByte(String value, Int32 fromBase) at SslCertBinding.Net.CertificateBindingConfiguration.GetHash(String thumbprint) at SslCertBinding.Net.CertificateBindingConfiguration.<>c__DisplayClass1_0.<Bind>b__0() at SslCertBinding.Net.HttpApi.CallHttpApi(Action body) at SslCertBinding.Net.CertificateBindingConfiguration.Bind(CertificateBinding binding) at IISExpressSvc.ServiceStart.PerformCommands(String thumbPrint, Boolean isCustom, Boolean debug)
FBBCIT
#2FBBCIT Member Posts: 2  
posted: 10/28/2019 9:29:01 PM(UTC)
Could you give detail as to the encoding or what to do to fix this error? I am running into the same issue.

Thanks!
FBBCIT
#3FBBCIT Member Posts: 2  
posted: 10/28/2019 9:48:19 PM(UTC)
I now have it working. After multiple attempts before posting, I tried the following after posting my question and this worked:

Instead of copying the thumbprint straight from the certificate into the config file:

1) Copy the thumbprint to a new notepad document.
2) Use Replace to remove all of the spaces.
3) Copy the newly edit line of text.
4) Open the IISExpressSvc.exe.config file using Programmer's Notepad and paste the copied text into the config file.
5) Restart the IIS Express service.
Esben.D
#4Esben.D Member Administration Posts: 1,980  
posted: 10/29/2019 9:19:42 AM(UTC)
Good to see you found it. Thanks for posting the solution.

Active Discussions

Lansweeper SQL Triggers
by  Kyle Zimmerman   Go to last post Go to first unread
Last post: 3/28/2020 9:43:26 PM(UTC)
Lansweeper Access LS Knowledge base from outside network
by  Hagobian  
Go to last post Go to first unread
Last post: 3/28/2020 12:46:44 AM(UTC)
Lansweeper Wake on Lan wol.exe issue
by  Socal_s197   Go to last post Go to first unread
Last post: 3/27/2020 10:05:42 PM(UTC)
Lansweeper Scanning Queue locked
by  KevinA-REJIS  
Go to last post Go to first unread
Last post: 3/27/2020 8:48:45 PM(UTC)
Lansweeper Asset Radar requirements
by  bbeavis   Go to last post Go to first unread
Last post: 3/27/2020 6:58:20 PM(UTC)
Lansweeper LSAgent Cloud Relay error
by  nlertn  
Go to last post Go to first unread
Last post: 3/27/2020 6:35:55 PM(UTC)
Lansweeper Scanning IP Range Subnet
by  WeatherDave   Go to last post Go to first unread
Last post: 3/27/2020 5:39:17 PM(UTC)