| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		fhutt -
 
  Joined: 14 Jul 2019 Posts: 43
 
  | 
		
			
				 Posted: Fri Jul 26, 2019 7:22 am    Post subject: Local access with ssl. | 
				      | 
			 
			
				
  | 
			 
			
				I have configured Abyss X1 to redirect http://.. to https://.. and works fine for external access. I have a Let's Encrypt certificate  that works. I also have the Abyss username and password configured and also works.
 
 
When I try to access locally on the Abyss installed computer I get a 403 error from Abyss with the following entries:
 
1) 127.0.0.1 I
 
2: http://127.0.0.1
 
3) https://127.0.0.1
 
4) http://localhost
 
5) https://localhost
 
 
Could someone help me sign in locally? | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		pkSML -
 
  Joined: 29 May 2006 Posts: 959 Location: Michigan, USA
  | 
		 | 
	
	
		| Back to top | 
		
			           | 
		
	
	
		  | 
	
	
		fhutt -
 
  Joined: 14 Jul 2019 Posts: 43
 
  | 
		
			
				 Posted: Sat Jul 27, 2019 4:51 am    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				Both URL Rewriting and Anti-Leaching are empty. No settings are there.
 
I do have Enable Automatic Anti Hacking On. I did remove the selection but didn't do anything. So, now I have it enabled again.
 
 
EDIT: Under General/Host Names I have my host name (URL) entered.
 
Can it be that since the local entries do not comply with this setting, they are refused? | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		pkSML -
 
  Joined: 29 May 2006 Posts: 959 Location: Michigan, USA
  | 
		
			
				 Posted: Sun Jul 28, 2019 4:53 am    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				If you're using X1, that's very possible. You'd have to get that from Aprelium to be sure. I have X2 (the paid version) so I have a host called "Default Host" that picks up localhost requests.
 
 
Does the request that receives the 403 error get logged in your access log? _________________ Stephen
 
Need a LitlURL?
 
 
 
http://CodeBin.yi.org | 
			 
		  | 
	
	
		| Back to top | 
		
			           | 
		
	
	
		  | 
	
	
		fhutt -
 
  Joined: 14 Jul 2019 Posts: 43
 
  | 
		
			
				 Posted: Sun Jul 28, 2019 4:59 am    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				| No, there is no access.log entry for any of thos entries. | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		admin Site Admin
 
  Joined: 03 Mar 2002 Posts: 1348
 
  | 
		
			
				 Posted: Tue Jul 30, 2019 1:16 pm    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				 	  | fhutt wrote: | 	 		  | No, there is no access.log entry for any of thos entries. | 	  
 
 
You get error 403 because there is no host which host names table contains one of these names or because you have no default host (which acts as a catch-all names host.) _________________ Follow @abyssws on Twitter
 
Subscribe to our newsletter
 
_________________
 
Forum Administrator
 
Aprelium - https://aprelium.com | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		fhutt -
 
  Joined: 14 Jul 2019 Posts: 43
 
  | 
		
			
				 Posted: Tue Jul 30, 2019 1:22 pm    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				I have one host name (My.URL) in the General/Host names. This is the host name registered with Acme and Let's Encrypt.
 
 
If I change this by adding the list or removing it the server fails to function. | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		admin Site Admin
 
  Joined: 03 Mar 2002 Posts: 1348
 
  | 
		
			
				 Posted: Tue Jul 30, 2019 1:45 pm    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				 	  | fhutt wrote: | 	 		  I have one host name (My.URL) in the General/Host names. This is the host name registered with Acme and Let's Encrypt.
 
 
If I change this by adding the list or removing it the server fails to function. | 	  
 
 
You cannot have Let's Encrypt issue a certificate for localhost or an IP address.
 
 
So you should instead use the workaround in https://aprelium.com/abyssws/articles/access-test.html involving adding my.url to the hosts table to allow local access with the full host name. _________________ Follow @abyssws on Twitter
 
Subscribe to our newsletter
 
_________________
 
Forum Administrator
 
Aprelium - https://aprelium.com | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		fhutt -
 
  Joined: 14 Jul 2019 Posts: 43
 
  | 
		
			
				 Posted: Tue Jul 30, 2019 11:19 pm    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				I have seen that link before and now tried it and works.
 
However, since my router allows that looping I can see the server working using my URL as anyone from an external source would. This is probably a better test than hosts file redirection to localhost.
 
 
The fact that I now cannot obtain local access to the server, therefore is not really a problem. I wanted to make sure that it was not something I did to prevent it working but appears to be normal server behaviour.
 
 
I am OK with it now.
 
Thank you | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		 |