Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges


Page creation on AEM 6.5.5 author is giving 405 method not allowed issue


Level 2

Page creation on AEM 6.5.5 author is giving 405 method not supported issue


There is small pop-up message as below
Could not create page

And over browser/developer/network tab we could see below error. Method POST not supported

Cannot serve request to /aem-perf/bin/wcmcommand in


<head><title>405 Method POST not supported</title></head>
<h1>Method POST not supported</h1>
<p>Cannot serve request to /aem-perf/bin/wcmcommand in</p>

<h3>Request Progress:</h3>


and also aem logs are writing: 

29.01.2021 02:59:57.101 *INFO* [] org.apache.commons.httpclient.HttpMethodDirector Retrying request
29.01.2021 03:00:00.031 *WARN* [https-jsse-nio2-] com.adobe.granite.auth.cert.impl.ClientCertAuthHandler Unable to create token credentials, setting cert for uid null
com.adobe.granite.keystore.KeyStoreNotInitialisedException: Uninitialised system trust store.
at com.adobe.granite.keystore.internal.KeyStoreServiceImpl.internalGetTrustStore(
at com.adobe.granite.keystore.internal.KeyStoreServiceImpl.getTrustStore(
at com.adobe.granite.auth.cert.impl.ClientCertAuthHandler.findMappedUsers(
at com.adobe.granite.auth.cert.impl.ClientCertAuthHandler.extractCredentials(


Is there any help i could get to resolve this issue.

1 Accepted Solution


Correct answer by
Community Advisor
5 Replies


Correct answer by
Community Advisor


Level 2
I see Allow Empty is already checked under Apache sling referrer filter but still this issue is occuring


Level 2

Hi All,

We have allowed POST method for all the servlets in our tomcat server's web.xml file:  /apps_01/webapps/tomcat/conf/<tomcat_server_name>/conf/web.xml as below.                                                                                        <servlet-mapping>                                                                                                                                                                                              <http-method>POST</http-method>
</servlet-mapping>                                                                                                                                                                                               Now 405 POST method issue is resolved and we are able to create pages over siteadmin and users/groups over useradmin on AEM. But we cannot continue with this setting on tomcat's web.xml which will get overwritten with Chef converge. Let us know if we can add the same configuration over aem war file's web.xml file. 


Level 2

Root Cause: We have compared the tomcat configuration files between Stage and Pre-Production environment .

The only difference we found is below request dumper filter which is enabled on STAGE but not on Pre-PROD over /apps_01/webapps/tomcat/conf/<instance_name>/conf/web.xml.




<filter-class> org.apache.catalina.filters.RequestDumperFilter                                                                                 







This configuration gets enabled when we set debug to true over environment.json file as below under SAML section. This is basically sets tomcat’s server.log in debug mode to capture SAML related requests. "SAML": { "enable": true, "debug": true,     

Fix: I have set "debug": true, to "debug": false over environment json file and request dumper filter got removed from tomcat’s web.xml post subsequent chef converge. Now POST calls are working perfectly fine over AEM Author instance.


Community Advisor

@gspatil11 Few questions-

1. Is it a fresh instance

2. If not have you made any changes to trustore or keystore try to recreate the truststore and keystore.