Lets Encrypt with I...
 
Notifications
Clear all

Lets Encrypt with IIS 10/Server 2019

6 Posts
3 Users
0 Reactions
2,170 Views
Posts: 22
Topic starter
(@cyberhostpro)
Eminent Member
Joined: 6 years ago

HI

When I click install lets encrypt on a domain that works fine on http. Log viewer shows this error

System.InvalidOperationException: Sequence contains no matching element
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
at SolidCP.Providers.Web.Iis.SSLModuleService100.GetCurrentSiteCertificate(WebSite website)
at SolidCP.Providers.Web.Iis.SSLModuleService100.ImportCertificate(WebSite website)

5 Replies
Posts: 1457
Admin
(@trobinson)
Noble Member
Joined: 9 years ago

Hello,

Can you please check your Applications log on the website to see if anything has been logged by Le-Win-Simple?

We do pass our processing of Lets Encrypt certificates to this app so it should log the events separately.

Thanks,

Trevor

Reply
Posts: 60
 Jade
(@shabsta)
Member
Joined: 7 years ago

We've had two reports of the same issue over the last two days

System.InvalidOperationException: Sequence contains no matching element 
at System.Linq.Enumerable.First[TSource](IEnumerable1 source, Func2 predicate) 
at SolidCP.Providers.Web.Iis.SSLModuleService100.GetCurrentSiteCertificate(WebSite website) 
at SolidCP.Providers.Web.Iis.SSLModuleService100.ImportCertificate(WebSite website)

Windows server 2016

None of these issues existed prior to the latest version of SolidCP.

Any ideas where to start?

Reply
Posts: 22
Topic starter
(@cyberhostpro)
Eminent Member
Joined: 6 years ago

The issue was some of the domain aliases did not resolve (ie old temp urls)

I found deleting & re-creating the website fixed this for us.

Reply
Posts: 60
 Jade
(@shabsta)
Member
Joined: 7 years ago

In this particular instance none of the sites have alias's or additional bindings created within IIS other than standard A and www records, ie

absolutehosting.co.za & www.absolutehosting.co.za

Reply
Page 1 / 2
Share: