Comments (9)
This error means that your Ansible Controller host has too old bash
. The pki-authority
scriipt executed on Ansible Controller requires at least bash
4.3. You either should upgrade the bash
on your system, or create a VM that will be used as Ansible Controller with required bash
version. For example, using Debian Jessie should be sufficient.
from ansible-pki.
Thanks. It could be. I'm using bash 3.2.57 under MacOSX
➜ openzero-debops git:(master) bash --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin15)
Copyright (C) 2007 Free Software Foundation, Inc.
from ansible-pki.
@zhang-yujun Where you able to identify the problem?
from ansible-pki.
@ypid Not understanding your question. I'm using ansible-pki
in MacOSX. The default bash version is 3.2.57
from ansible-pki.
You opened this issue describing a problem you had/have? with this role. Some time has past now and I would like to know if it really was your old version of bash
causing the problems and if you could resolve this. In case it is your bash
version, a assertion in the role might be a good idea to catch such problems early and give better hints.
from ansible-pki.
@ypid I see. Thanks for getting back to me.
Sorry, but I don't have the environment for verify this issue for now. I'll let you know once I confirm it.
from ansible-pki.
I'm afraid that this issue will persist on MacOS X due to use of ancient bash
as the default on this platform. I suppose that this warrants the rewrite of at least pki-authority
script to Python, however my concerns with this is amount of shell-outs to the OpenSSL/GnuTLS utilities that would be needed. Or maybe the script could just use Python libraries for these operations? I don't use MacOS X, so I'm not sure about the different versions of the librariies that are available, and judging by bash
that might be important as well.
from ansible-pki.
@drybjed What do you think about an assert at the top of the role to check if bash is recent enough.
from ansible-pki.
Sounds good to me. debops.dhparam
role has something similar.
from ansible-pki.
Related Issues (20)
- Role breaks without warning (and continues on "normally") if SAN misconfigured HOT 9
- Fail: No module named debops HOT 12
- [Security] debops.pki does not validate CSRs allowing certificate mis-issuance by compromised remote host
- tiny-acme suddenly causes errors HOT 20
- First PKI run fails to create ACME certificates HOT 4
- Changing config parameters has not effect HOT 2
- Changing pki_acme_ca does not reload the nginx server
- Improve docs visibility of `name_constraints` variable
- Remove the pain points when managing ACME certificates HOT 12
- Replaced external certificates are not copied to host HOT 1
- Failure on task: Sign certificate requests for current hosts HOT 3
- ./lib/pki-authority: line 164: declare: -g: invalid option error HOT 3
- debops.pki fails when 1 of the hosts is unreachable HOT 1
- Errors during creation of new LetsEncrypt account via acme. HOT 6
- Error every second pki run HOT 9
- KeyError: 'newAccount' when attempting to generate ACME certificate HOT 5
- Role debops.pki/env fails to resolve after Ansible 2.4 HOT 10
- No wildcard/domain in the 'domain' realm certificates HOT 2
- pki role generates invalid certificate with "permitted subtree violation"
- ing
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 ansible-pki.