 
					
				
		
02-03-2021 04:25 AM
These days, I have seen something very strange on my Alfresco : I can't import in the repository files bigger than 10 Ko.
I must say that I recently installed a SSL certificate (let's encrypt) so that users could access on Alfresco with HTTPS (Apache module mod_proxy_ajp being activated).
Does the certificate installation have potential impacts on that limitation ? Has anybody been faced to that kind of problem on an Alfresco/Apache/SSL configuration ?
Here is my virtual host configured for Alfresco below :
    ServerName xxx
    ErrorLog   ${APACHE_LOG_DIR}/alfresco_error.log
    CustomLog  ${APACHE_LOG_DIR}/alfresco_access.log combined
    RewriteEngine On
    RewriteCond   %{HTTPS} off
    RewriteRule   (.*) https://%{HTTP_HOST}%{REQUEST_URI}
RewriteCond %{SERVER_NAME} =xxx
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
<VirtualHost _default_:443>
    ServerName xxx
    ErrorLog   ${APACHE_LOG_DIR}/alfresco_error_ssl.log
    CustomLog  ${APACHE_LOG_DIR}/alfresco_access_ssl.log combined
# SSL Configuration
    SSLEngine on
    KeepAlive on
    RewriteEngine on
    RewriteRule "^/$""/share"[R=302]
    LimitRequestFieldSize 65536
    ProxyIOBufferSize   65536
    ProxyTimeout 300
    ProxyPass     /solr4 !
    ProxyPass / ajp://127.0.0.1:8010/
    ProxyPassReverse / ajp://127.0.0.1:8010/
    SSLCertificateFile /etc/letsencrypt/live/xxx/fullchain.pem
    SSLCertificateKeyFile /etc/letsencrypt/live/xxx/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>Any help would be very appreciated.
Thanks !
02-06-2021 08:03 AM
What kind of unit is "Ko"? Is that French for kilobyte or from some other language where it means something else?
Using Let's Encrypt via mod_proxy definitely does not impose any limitations in regular uise - I have been using that for years (albeit only with mod_proxy_http - I see absolutely no benefit / reason in using mod_proxy_ajp) without issues. Apart from the LimitRequestFieldSize / ProxyIOBufferSize settings which I never use, I don't see anything that would look unusual or suspicious to me - and even the two mentioned settings should not be relevant as they merely increase some default settings to the max allowed values.
02-06-2021 06:21 PM
 
					
				
				
			
		
Explore our Alfresco products with the links below. Use labels to filter content by product module.