lemonions Posted October 23, 2018 Posted October 23, 2018 I have followed this guide https://wiki.helionet.org/Installing_a_Let's_Encrypt_SSL_Certificate with ZeroSSL (Lets Encrypt). But still not manage to access my domain when added at the front "https://bzysharing.com".Anything other configs need to be set beside the guide?
Byron Posted October 23, 2018 Posted October 23, 2018 It's working now (clear your cache) but you didn't need to set up SSL for your account, AutoSSL is already enabled on Tommy.
wolstech Posted October 23, 2018 Posted October 23, 2018 For others who read this, it can take 24 hours for the SSL to start working after you add or change a domain on a Tommy or Ricky account. In addition, the account must allow plain HTTP connections to the .well-known folder which appears in the docroot for the domain (if you use .htaccess or similar to force HTTPS, an exception must be added for this folder or the redirect must be removed). 1
lemonions Posted October 23, 2018 Author Posted October 23, 2018 Sorry, I am new to SSL. I am still having trouble to access my domain with "https". May I know how do I allow plain HTTP connections in .well-known folder?And, the docroot is it I have to go to my domain provider account to do that?
wolstech Posted October 23, 2018 Posted October 23, 2018 There's several issues here. First, your .htaccess file is invalid (probably one of those rewrite rules if I had to guess)... Second, you used ASP.NET with SSL. We only supply ASP.NET on HTTP by default. That support can be moved to SSL if you wish, but doing so will break plain HTTP support for your website, as ASP.NET support cannot be enabled on both protocols at the same time. To demonstrate, I renamed your .htaccess file to .htaccess.old so the forced SSL and URL rewriting were disabled, your site now loads: http://bzysharing.com/home.aspx (please use an incognito window or clear your cache beforehand).
lemonions Posted October 23, 2018 Author Posted October 23, 2018 Oh okay. Thanks so much for your help.
lemonions Posted October 24, 2018 Author Posted October 24, 2018 Sorry, one more question, if I were to moved to SSL, how can I do that with ASPNET? Like you mentioned in point 2 above.
wolstech Posted October 24, 2018 Posted October 24, 2018 Krydos has to do that for you. ASP.net for an account only can serve one of the protocols at a time. Do you want to do that?
lemonions Posted October 24, 2018 Author Posted October 24, 2018 Yes, I need that. and what configuration I need to set for my project? e.g. Web.config
wolstech Posted October 24, 2018 Posted October 24, 2018 Honestly, I'm not even sure if our server honors web.config (it's the IIS equivalent to an .htaccess file). The ASP.NET is not running true .NET under IIS/Windows Server, it's actually Mono+Apache on CentOS. Moving this so the ASP.NET can be moved to SSL for you.
Krydos Posted October 24, 2018 Posted October 24, 2018 There you go https://bzysharing.com/test.aspx Yes, mono supports web.config.
lemonions Posted October 25, 2018 Author Posted October 25, 2018 Great. this is what I need. thank you for all the support rendered
Recommended Posts