Hi Guys, So I have ISPconfig setup on a Nginx server with lets encrypt. I have Wordpress on a site with woocomerse a stripe as the payment gateway. I am trying to enable Apple Pay with stripe but all I get is 500 error when stripe tries to verify the domain. i created the .well-known folder and added the apple certificate but its just 500 error. any ideas would be greatly appreciated. Thanks
I don't use nginx and have no direct experience with stripe, but check your nginx config for catching the letsencrypt /.well-known/acme-challenge/ requests and make sure that doesn't interfere.
Thanks for the reply. how would I go about doing that? ISP config handles all the lets encrypt stuff and it seems to be working fine.
so I feel like lets encrypt maybe isn't working correctly then with ISPConfig or vice versa because I can't locate the folder anywhere in my server. and I have that script written into my Nginx config script. I pasted the following into the directives on the options tab. location /\.well-known/acme-challenge { root /usr/local/ispconfig/interface/acme/.well-known/acme-challenge; index index.html index.htm; try_files $uri =404; }
You could check the Let's Encrypt part following this: https://www.howtoforge.com/community/threads/lets-encrypt-error-faq.74179/
Thanks. The thing is letsencrpt does work it generates the certification and adds https to the sites. so that part seems to be working.
Yes I have the latest version. I think lets encrypt isn't working correctly as all my websites can be accessed though either http or https except for one of them that can only be accessed from https
In #7 you said that LE works, now you say it does not work. So does the SSL cert has been created by LE or not?
you don't need this in the option-tab. I wrote in #4, that you can create a similar location. i.e. Code: location /\.well-known/whatever { use a diffent root like Code: /usr/local/ispconfig/interface/acme/.well-known/whatever; and create the dir.
ok so this is what I have in my site directives right now for my permalink stuff. location / { try_files $uri $uri/ /index.php?$args; } # Add trailing slash to */wp-admin requests. rewrite /wp-admin$ $scheme://$host$uri/ permanent; location ~* \.(jpg|jpeg|png|gif|css|js|ico)$ { expires max; log_not_found off; } I moved the site to another one of our servers and I now get a 403 error when I do example.com/.well-known/ where is the .well-known folder supposed to live? and how do I allow my site to access it? this is really confusing.
so I ended up getting working. I went though the vhost config file for the site line by line until I ended up changing this line from "deny all" to "allow all" Code: location ~ /\. { allow all; } Thank you all so much for the help!!! it still does the 403 but stripe was able to read the file correctly and we now have apple pay active on our site.