Comments (1)
This role makes 1 origin certificate per site on each web server. Generating origin certificate is fast and free, I don't think reusing them on multiple sites adds any benefits.
This example generates 1 origin certificate (on each web server) for all 4 domains.
wordpress_sites:
example.com:
site_hosts:
- canonical: example.com
redirects:
- ww1.example.com
- ww2.example.com
- ww3.example.com
cloudflare_origin_ca:
hostnames:
- example.com
- '*.example.com'
This example generates 2 origin certificates (on each web server), 1 for each site.
wordpress_sites:
example.com:
site_hosts:
- canonical: example.com
redirects:
- ww1.example.com
- ww2.example.com
- ww3.example.com
cloudflare_origin_ca:
hostnames:
- example.com
- '*.example.com'
xxx.example.com:
site_hosts:
- canonical: xxx.example.com
redirects:
- xx1.example.com
- xx2.example.com
- xx3.example.com
cloudflare_origin_ca:
hostnames:
- '*.example.com'
Is it not possible that we create one origin certificate defining example.com and *.example.com from the dashboard and this plugin picks that instead of creating a new one every time?
Not possible and not intended to.
If you must, use https://roots.io/trellis/docs/ssl/#manual
what exactly triggered the new certificates
During provision, if {{ nginx_ssl_path }}/cloudflare-origin-ca/{{ item.key }}.XXX
is absent, this role generates new certificates.
Does Cloudflare limit the number of origin certificates creation?
Ask Cloudflare support. I haven't bump into any limiation.
And if by any chance referencing an old manually created certificate is possible, and if that would help.
If you must, use https://roots.io/trellis/docs/ssl/#manual
Learn more on https://discourse.roots.io/t/site-on-trellis-provisioned-do-droplet-subdom-site-on-2nd-droplet-cloudflare-oc/14516/6
from trellis-cloudflare-origin-ca.
Related Issues (11)
- Allow customizing `cfca getcert`
- Add note about Cloudflare security issues
- Config location is cleaned on each provision HOT 1
- 400 No required SSL certificate was sent HOT 11
- Does this autorenew certificates? HOT 1
- Overwrite SSL certificates if settings are changed HOT 1
- Warn if RSA `key_size` is too low
- Fix bare variable deprecation warning HOT 1
- Manual + Cloudflare on one server HOT 1
- Failing on Add Cloudflare key - pubkey 404 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trellis-cloudflare-origin-ca.