diff --git a/tag/2.18.0/.buildinfo b/tag/2.18.0/.buildinfo new file mode 100644 index 000000000..558f69aee --- /dev/null +++ b/tag/2.18.0/.buildinfo @@ -0,0 +1,4 @@ +# Sphinx build info version 1 +# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. +config: b3f506caae8b0f49609d716dadd43786 +tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/tag/2.18.0/_static/_sphinx_javascript_frameworks_compat.js b/tag/2.18.0/_static/_sphinx_javascript_frameworks_compat.js new file mode 100644 index 000000000..81415803e --- /dev/null +++ b/tag/2.18.0/_static/_sphinx_javascript_frameworks_compat.js @@ -0,0 +1,123 @@ +/* Compatability shim for jQuery and underscores.js. + * + * Copyright Sphinx contributors + * Released under the two clause BSD licence + */ + +/** + * small helper function to urldecode strings + * + * See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/decodeURIComponent#Decoding_query_parameters_from_a_URL + */ +jQuery.urldecode = function(x) { + if (!x) { + return x + } + return decodeURIComponent(x.replace(/\+/g, ' ')); +}; + +/** + * small helper function to urlencode strings + */ +jQuery.urlencode = encodeURIComponent; + +/** + * This function returns the parsed url parameters of the + * current request. Multiple values per key are supported, + * it will always return arrays of strings for the value parts. + */ +jQuery.getQueryParameters = function(s) { + if (typeof s === 'undefined') + s = document.location.search; + var parts = s.substr(s.indexOf('?') + 1).split('&'); + var result = {}; + for (var i = 0; i < parts.length; i++) { + var tmp = parts[i].split('=', 2); + var key = jQuery.urldecode(tmp[0]); + var value = jQuery.urldecode(tmp[1]); + if (key in result) + result[key].push(value); + else + result[key] = [value]; + } + return result; +}; + +/** + * highlight a given string on a jquery object by wrapping it in + * span elements with the given class name. + */ +jQuery.fn.highlightText = function(text, className) { + function highlight(node, addItems) { + if (node.nodeType === 3) { + var val = node.nodeValue; + var pos = val.toLowerCase().indexOf(text); + if (pos >= 0 && + !jQuery(node.parentNode).hasClass(className) && + !jQuery(node.parentNode).hasClass("nohighlight")) { + var span; + var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg"); + if (isInSVG) { + span = document.createElementNS("http://www.w3.org/2000/svg", "tspan"); + } else { + span = document.createElement("span"); + span.className = className; + } + span.appendChild(document.createTextNode(val.substr(pos, text.length))); + node.parentNode.insertBefore(span, node.parentNode.insertBefore( + document.createTextNode(val.substr(pos + text.length)), + node.nextSibling)); + node.nodeValue = val.substr(0, pos); + if (isInSVG) { + var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect"); + var bbox = node.parentElement.getBBox(); + rect.x.baseVal.value = bbox.x; + rect.y.baseVal.value = bbox.y; + rect.width.baseVal.value = bbox.width; + rect.height.baseVal.value = bbox.height; + rect.setAttribute('class', className); + addItems.push({ + "parent": node.parentNode, + "target": rect}); + } + } + } + else if (!jQuery(node).is("button, select, textarea")) { + jQuery.each(node.childNodes, function() { + highlight(this, addItems); + }); + } + } + var addItems = []; + var result = this.each(function() { + highlight(this, addItems); + }); + for (var i = 0; i < addItems.length; ++i) { + jQuery(addItems[i].parent).before(addItems[i].target); + } + return result; +}; + +/* + * backward compatibility for jQuery.browser + * This will be supported until firefox bug is fixed. + */ +if (!jQuery.browser) { + jQuery.uaMatch = function(ua) { + ua = ua.toLowerCase(); + + var match = /(chrome)[ \/]([\w.]+)/.exec(ua) || + /(webkit)[ \/]([\w.]+)/.exec(ua) || + /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) || + /(msie) ([\w.]+)/.exec(ua) || + ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) || + []; + + return { + browser: match[ 1 ] || "", + version: match[ 2 ] || "0" + }; + }; + jQuery.browser = {}; + jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true; +} diff --git a/tag/2.18.0/_static/antsibull-minimal.css b/tag/2.18.0/_static/antsibull-minimal.css new file mode 100644 index 000000000..3b17984c1 --- /dev/null +++ b/tag/2.18.0/_static/antsibull-minimal.css @@ -0,0 +1,3 @@ +@charset "UTF-8"; +/* Copyright (c) Ansible and contributors */ +/* GNU General Public License v3.0+ (see https://www.gnu.org/licenses/gpl-3.0.txt) */.ansible-links{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.ansible-links>*{margin:2px 4px!important}.ansible-links>li{list-style:none!important}.ansible-links>li>p{display:inline}.ansible-links a{display:block;padding:4px 12px;cursor:pointer;border-radius:3px;background-color:#5bbdbf;color:#fff}.ansible-links a:active,.ansible-links a:focus,.ansible-links a:hover{background-color:#91d9db}.ansible-links a:focus{outline:3px solid #204748}table.documentation-table{border-bottom:1px solid #000;border-right:1px solid #000}table.documentation-table th{background-color:#6ab0de}table.documentation-table td,table.documentation-table th{padding:4px;border-left:1px solid #000;border-top:1px solid #000}table.documentation-table td.elbow-placeholder{border-top:0;width:30px;min-width:30px}table.documentation-table td{vertical-align:top}table.documentation-table td:first-child{white-space:nowrap}table.documentation-table tr .ansibleOptionLink{display:inline-block}table.documentation-table tr .ansibleOptionLink:after{content:"🔗";opacity:0}table.documentation-table tr:hover .ansibleOptionLink:after{opacity:1}table.documentation-table tr:nth-child(odd){background-color:#fff}table.documentation-table tr:nth-child(2n){background-color:#e7f2fa}table.ansible-option-table{display:table;border-color:#000!important;height:1px}table.ansible-option-table tr{height:100%}table.ansible-option-table td,table.ansible-option-table th{border-color:#000!important;border-bottom:none!important;vertical-align:top!important}table.ansible-option-table th>p{font-size:medium!important}table.ansible-option-table thead tr{background-color:#6ab0de}table.ansible-option-table tbody .row-odd td{background-color:#fff!important}table.ansible-option-table tbody .row-even td{background-color:#e7f2fa!important}table.ansible-option-table ul>li>p{margin:0!important}table.ansible-option-table ul>li>div[class^=highlight]{margin-bottom:4px!important}table.ansible-option-table p.ansible-option-title{display:inline}table.ansible-option-table .ansible-option-type-line{font-size:small;margin-bottom:0}table.ansible-option-table .ansible-option-elements,table.ansible-option-table .ansible-option-type{color:purple}table.ansible-option-table .ansible-option-required{color:red}table.ansible-option-table .ansible-option-versionadded{font-size:small;color:#006400}table.ansible-option-table .ansible-option-aliases{color:#006400;white-space:normal}table.ansible-option-table .ansible-option-line{margin-top:8px}table.ansible-option-table .ansible-option-choices-default-mark,table.ansible-option-table .ansible-option-default,table.ansible-option-table .ansible-option-default-bold{color:#00f}table.ansible-option-table .ansible-option-sample{color:#00f;word-wrap:break-word;word-break:break-all}table.ansible-option-table .ansible-option-sample-bold{color:#000}table.ansible-option-table .ansible-attribute-support-none{color:red}table.ansible-option-table .ansible-attribute-support-partial{color:#a5a500}table.ansible-option-table .ansible-attribute-support-full{color:green}table.ansible-option-table .ansibleOptionLink{display:inline-block}table.ansible-option-table .ansibleOptionLink:after{content:"🔗";opacity:0}table.ansible-option-table p{margin:0 0 8px}table.ansible-option-table tr:hover .ansibleOptionLink:after{opacity:1}table.ansible-option-table td{padding:0!important;white-space:normal}table.ansible-option-table td>div.ansible-option-cell{padding:8px 16px;border-top:1px solid #000}table.ansible-option-table td:first-child{height:inherit;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}table.ansible-option-table td:first-child>div.ansible-option-cell{height:inherit;-webkit-box-flex:1;-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto;white-space:nowrap;max-width:100%}table.ansible-option-table .ansible-option-indent{margin-left:2em;border-right:1px solid #000}table.ansible-option-table .ansible-attribute-support-label{display:none}@media (max-width:1200px){table.ansible-option-table{display:block;height:unset;border:none!important}table.ansible-option-table thead{display:none}table.ansible-option-table tbody,table.ansible-option-table td,table.ansible-option-table tr{display:block;border:none!important}table.ansible-option-table tbody .row-even td,table.ansible-option-table tbody .row-odd td{background-color:unset!important}table.ansible-option-table td>div.ansible-option-cell{border-top:none}table.ansible-option-table td:first-child>div.ansible-option-cell{background-color:#e7f2fa!important}table.ansible-option-table td:not(:first-child){display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}table.ansible-option-table td:not(:first-child)>div.ansible-option-cell{margin-left:1em}table.ansible-option-table .ansible-option-indent,table.ansible-option-table .ansible-option-indent-desc{margin-left:1em;border:none;border-right:3px solid #e7f2fa}table.ansible-option-table .ansible-attribute-support-label{display:unset}}.ansible-version-added{font-style:italic}.ansible-option-value a.reference.external,.ansible-option-value a.reference.external:hover,.ansible-option-value a.reference.internal,.ansible-option-value a.reference.internal:hover,.ansible-option a.reference.external,.ansible-option a.reference.external:hover,.ansible-option a.reference.internal,.ansible-option a.reference.internal:hover,.ansible-return-value a.reference.external,.ansible-return-value a.reference.external:hover,.ansible-return-value a.reference.internal,.ansible-return-value a.reference.internal:hover{color:unset} \ No newline at end of file diff --git a/tag/2.18.0/_static/basic.css b/tag/2.18.0/_static/basic.css new file mode 100644 index 000000000..30fee9d0f --- /dev/null +++ b/tag/2.18.0/_static/basic.css @@ -0,0 +1,925 @@ +/* + * basic.css + * ~~~~~~~~~ + * + * Sphinx stylesheet -- basic theme. + * + * :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/* -- main layout ----------------------------------------------------------- */ + +div.clearer { + clear: both; +} + +div.section::after { + display: block; + content: ''; + clear: left; +} + +/* -- relbar ---------------------------------------------------------------- */ + +div.related { + width: 100%; + font-size: 90%; +} + +div.related h3 { + display: none; +} + +div.related ul { + margin: 0; + padding: 0 0 0 10px; + list-style: none; +} + +div.related li { + display: inline; +} + +div.related li.right { + float: right; + margin-right: 5px; +} + +/* -- sidebar --------------------------------------------------------------- */ + +div.sphinxsidebarwrapper { + padding: 10px 5px 0 10px; +} + +div.sphinxsidebar { + float: left; + width: 230px; + margin-left: -100%; + font-size: 90%; + word-wrap: break-word; + overflow-wrap : break-word; +} + +div.sphinxsidebar ul { + list-style: none; +} + +div.sphinxsidebar ul ul, +div.sphinxsidebar ul.want-points { + margin-left: 20px; + list-style: square; +} + +div.sphinxsidebar ul ul { + margin-top: 0; + margin-bottom: 0; +} + +div.sphinxsidebar form { + margin-top: 10px; +} + +div.sphinxsidebar input { + border: 1px solid #98dbcc; + font-family: sans-serif; + font-size: 1em; +} + +div.sphinxsidebar #searchbox form.search { + overflow: hidden; +} + +div.sphinxsidebar #searchbox input[type="text"] { + float: left; + width: 80%; + padding: 0.25em; + box-sizing: border-box; +} + +div.sphinxsidebar #searchbox input[type="submit"] { + float: left; + width: 20%; + border-left: none; + padding: 0.25em; + box-sizing: border-box; +} + + +img { + border: 0; + max-width: 100%; +} + +/* -- search page ----------------------------------------------------------- */ + +ul.search { + margin: 10px 0 0 20px; + padding: 0; +} + +ul.search li { + padding: 5px 0 5px 20px; + background-image: url(file.png); + background-repeat: no-repeat; + background-position: 0 7px; +} + +ul.search li a { + font-weight: bold; +} + +ul.search li p.context { + color: #888; + margin: 2px 0 0 30px; + text-align: left; +} + +ul.keywordmatches li.goodmatch a { + font-weight: bold; +} + +/* -- index page ------------------------------------------------------------ */ + +table.contentstable { + width: 90%; + margin-left: auto; + margin-right: auto; +} + +table.contentstable p.biglink { + line-height: 150%; +} + +a.biglink { + font-size: 1.3em; +} + +span.linkdescr { + font-style: italic; + padding-top: 5px; + font-size: 90%; +} + +/* -- general index --------------------------------------------------------- */ + +table.indextable { + width: 100%; +} + +table.indextable td { + text-align: left; + vertical-align: top; +} + +table.indextable ul { + margin-top: 0; + margin-bottom: 0; + list-style-type: none; +} + +table.indextable > tbody > tr > td > ul { + padding-left: 0em; +} + +table.indextable tr.pcap { + height: 10px; +} + +table.indextable tr.cap { + margin-top: 10px; + background-color: #f2f2f2; +} + +img.toggler { + margin-right: 3px; + margin-top: 3px; + cursor: pointer; +} + +div.modindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +div.genindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +/* -- domain module index --------------------------------------------------- */ + +table.modindextable td { + padding: 2px; + border-collapse: collapse; +} + +/* -- general body styles --------------------------------------------------- */ + +div.body { + min-width: 360px; + max-width: 800px; +} + +div.body p, div.body dd, div.body li, div.body blockquote { + -moz-hyphens: auto; + -ms-hyphens: auto; + -webkit-hyphens: auto; + hyphens: auto; +} + +a.headerlink { + visibility: hidden; +} + +a:visited { + color: #551A8B; +} + +h1:hover > a.headerlink, +h2:hover > a.headerlink, +h3:hover > a.headerlink, +h4:hover > a.headerlink, +h5:hover > a.headerlink, +h6:hover > a.headerlink, +dt:hover > a.headerlink, +caption:hover > a.headerlink, +p.caption:hover > a.headerlink, +div.code-block-caption:hover > a.headerlink { + visibility: visible; +} + +div.body p.caption { + text-align: inherit; +} + +div.body td { + text-align: left; +} + +.first { + margin-top: 0 !important; +} + +p.rubric { + margin-top: 30px; + font-weight: bold; +} + +img.align-left, figure.align-left, .figure.align-left, object.align-left { + clear: left; + float: left; + margin-right: 1em; +} + +img.align-right, figure.align-right, .figure.align-right, object.align-right { + clear: right; + float: right; + margin-left: 1em; +} + +img.align-center, figure.align-center, .figure.align-center, object.align-center { + display: block; + margin-left: auto; + margin-right: auto; +} + +img.align-default, figure.align-default, .figure.align-default { + display: block; + margin-left: auto; + margin-right: auto; +} + +.align-left { + text-align: left; +} + +.align-center { + text-align: center; +} + +.align-default { + text-align: center; +} + +.align-right { + text-align: right; +} + +/* -- sidebars -------------------------------------------------------------- */ + +div.sidebar, +aside.sidebar { + margin: 0 0 0.5em 1em; + border: 1px solid #ddb; + padding: 7px; + background-color: #ffe; + width: 40%; + float: right; + clear: right; + overflow-x: auto; +} + +p.sidebar-title { + font-weight: bold; +} + +nav.contents, +aside.topic, +div.admonition, div.topic, blockquote { + clear: left; +} + +/* -- topics ---------------------------------------------------------------- */ + +nav.contents, +aside.topic, +div.topic { + border: 1px solid #ccc; + padding: 7px; + margin: 10px 0 10px 0; +} + +p.topic-title { + font-size: 1.1em; + font-weight: bold; + margin-top: 10px; +} + +/* -- admonitions ----------------------------------------------------------- */ + +div.admonition { + margin-top: 10px; + margin-bottom: 10px; + padding: 7px; +} + +div.admonition dt { + font-weight: bold; +} + +p.admonition-title { + margin: 0px 10px 5px 0px; + font-weight: bold; +} + +div.body p.centered { + text-align: center; + margin-top: 25px; +} + +/* -- content of sidebars/topics/admonitions -------------------------------- */ + +div.sidebar > :last-child, +aside.sidebar > :last-child, +nav.contents > :last-child, +aside.topic > :last-child, +div.topic > :last-child, +div.admonition > :last-child { + margin-bottom: 0; +} + +div.sidebar::after, +aside.sidebar::after, +nav.contents::after, +aside.topic::after, +div.topic::after, +div.admonition::after, +blockquote::after { + display: block; + content: ''; + clear: both; +} + +/* -- tables ---------------------------------------------------------------- */ + +table.docutils { + margin-top: 10px; + margin-bottom: 10px; + border: 0; + border-collapse: collapse; +} + +table.align-center { + margin-left: auto; + margin-right: auto; +} + +table.align-default { + margin-left: auto; + margin-right: auto; +} + +table caption span.caption-number { + font-style: italic; +} + +table caption span.caption-text { +} + +table.docutils td, table.docutils th { + padding: 1px 8px 1px 5px; + border-top: 0; + border-left: 0; + border-right: 0; + border-bottom: 1px solid #aaa; +} + +th { + text-align: left; + padding-right: 5px; +} + +table.citation { + border-left: solid 1px gray; + margin-left: 1px; +} + +table.citation td { + border-bottom: none; +} + +th > :first-child, +td > :first-child { + margin-top: 0px; +} + +th > :last-child, +td > :last-child { + margin-bottom: 0px; +} + +/* -- figures --------------------------------------------------------------- */ + +div.figure, figure { + margin: 0.5em; + padding: 0.5em; +} + +div.figure p.caption, figcaption { + padding: 0.3em; +} + +div.figure p.caption span.caption-number, +figcaption span.caption-number { + font-style: italic; +} + +div.figure p.caption span.caption-text, +figcaption span.caption-text { +} + +/* -- field list styles ----------------------------------------------------- */ + +table.field-list td, table.field-list th { + border: 0 !important; +} + +.field-list ul { + margin: 0; + padding-left: 1em; +} + +.field-list p { + margin: 0; +} + +.field-name { + -moz-hyphens: manual; + -ms-hyphens: manual; + -webkit-hyphens: manual; + hyphens: manual; +} + +/* -- hlist styles ---------------------------------------------------------- */ + +table.hlist { + margin: 1em 0; +} + +table.hlist td { + vertical-align: top; +} + +/* -- object description styles --------------------------------------------- */ + +.sig { + font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; +} + +.sig-name, code.descname { + background-color: transparent; + font-weight: bold; +} + +.sig-name { + font-size: 1.1em; +} + +code.descname { + font-size: 1.2em; +} + +.sig-prename, code.descclassname { + background-color: transparent; +} + +.optional { + font-size: 1.3em; +} + +.sig-paren { + font-size: larger; +} + +.sig-param.n { + font-style: italic; +} + +/* C++ specific styling */ + +.sig-inline.c-texpr, +.sig-inline.cpp-texpr { + font-family: unset; +} + +.sig.c .k, .sig.c .kt, +.sig.cpp .k, .sig.cpp .kt { + color: #0033B3; +} + +.sig.c .m, +.sig.cpp .m { + color: #1750EB; +} + +.sig.c .s, .sig.c .sc, +.sig.cpp .s, .sig.cpp .sc { + color: #067D17; +} + + +/* -- other body styles ----------------------------------------------------- */ + +ol.arabic { + list-style: decimal; +} + +ol.loweralpha { + list-style: lower-alpha; +} + +ol.upperalpha { + list-style: upper-alpha; +} + +ol.lowerroman { + list-style: lower-roman; +} + +ol.upperroman { + list-style: upper-roman; +} + +:not(li) > ol > li:first-child > :first-child, +:not(li) > ul > li:first-child > :first-child { + margin-top: 0px; +} + +:not(li) > ol > li:last-child > :last-child, +:not(li) > ul > li:last-child > :last-child { + margin-bottom: 0px; +} + +ol.simple ol p, +ol.simple ul p, +ul.simple ol p, +ul.simple ul p { + margin-top: 0; +} + +ol.simple > li:not(:first-child) > p, +ul.simple > li:not(:first-child) > p { + margin-top: 0; +} + +ol.simple p, +ul.simple p { + margin-bottom: 0; +} + +aside.footnote > span, +div.citation > span { + float: left; +} +aside.footnote > span:last-of-type, +div.citation > span:last-of-type { + padding-right: 0.5em; +} +aside.footnote > p { + margin-left: 2em; +} +div.citation > p { + margin-left: 4em; +} +aside.footnote > p:last-of-type, +div.citation > p:last-of-type { + margin-bottom: 0em; +} +aside.footnote > p:last-of-type:after, +div.citation > p:last-of-type:after { + content: ""; + clear: both; +} + +dl.field-list { + display: grid; + grid-template-columns: fit-content(30%) auto; +} + +dl.field-list > dt { + font-weight: bold; + word-break: break-word; + padding-left: 0.5em; + padding-right: 5px; +} + +dl.field-list > dd { + padding-left: 0.5em; + margin-top: 0em; + margin-left: 0em; + margin-bottom: 0em; +} + +dl { + margin-bottom: 15px; +} + +dd > :first-child { + margin-top: 0px; +} + +dd ul, dd table { + margin-bottom: 10px; +} + +dd { + margin-top: 3px; + margin-bottom: 10px; + margin-left: 30px; +} + +.sig dd { + margin-top: 0px; + margin-bottom: 0px; +} + +.sig dl { + margin-top: 0px; + margin-bottom: 0px; +} + +dl > dd:last-child, +dl > dd:last-child > :last-child { + margin-bottom: 0; +} + +dt:target, span.highlighted { + background-color: #fbe54e; +} + +rect.highlighted { + fill: #fbe54e; +} + +dl.glossary dt { + font-weight: bold; + font-size: 1.1em; +} + +.versionmodified { + font-style: italic; +} + +.system-message { + background-color: #fda; + padding: 5px; + border: 3px solid red; +} + +.footnote:target { + background-color: #ffa; +} + +.line-block { + display: block; + margin-top: 1em; + margin-bottom: 1em; +} + +.line-block .line-block { + margin-top: 0; + margin-bottom: 0; + margin-left: 1.5em; +} + +.guilabel, .menuselection { + font-family: sans-serif; +} + +.accelerator { + text-decoration: underline; +} + +.classifier { + font-style: oblique; +} + +.classifier:before { + font-style: normal; + margin: 0 0.5em; + content: ":"; + display: inline-block; +} + +abbr, acronym { + border-bottom: dotted 1px; + cursor: help; +} + +.translated { + background-color: rgba(207, 255, 207, 0.2) +} + +.untranslated { + background-color: rgba(255, 207, 207, 0.2) +} + +/* -- code displays --------------------------------------------------------- */ + +pre { + overflow: auto; + overflow-y: hidden; /* fixes display issues on Chrome browsers */ +} + +pre, div[class*="highlight-"] { + clear: both; +} + +span.pre { + -moz-hyphens: none; + -ms-hyphens: none; + -webkit-hyphens: none; + hyphens: none; + white-space: nowrap; +} + +div[class*="highlight-"] { + margin: 1em 0; +} + +td.linenos pre { + border: 0; + background-color: transparent; + color: #aaa; +} + +table.highlighttable { + display: block; +} + +table.highlighttable tbody { + display: block; +} + +table.highlighttable tr { + display: flex; +} + +table.highlighttable td { + margin: 0; + padding: 0; +} + +table.highlighttable td.linenos { + padding-right: 0.5em; +} + +table.highlighttable td.code { + flex: 1; + overflow: hidden; +} + +.highlight .hll { + display: block; +} + +div.highlight pre, +table.highlighttable pre { + margin: 0; +} + +div.code-block-caption + div { + margin-top: 0; +} + +div.code-block-caption { + margin-top: 1em; + padding: 2px 5px; + font-size: small; +} + +div.code-block-caption code { + background-color: transparent; +} + +table.highlighttable td.linenos, +span.linenos, +div.highlight span.gp { /* gp: Generic.Prompt */ + user-select: none; + -webkit-user-select: text; /* Safari fallback only */ + -webkit-user-select: none; /* Chrome/Safari */ + -moz-user-select: none; /* Firefox */ + -ms-user-select: none; /* IE10+ */ +} + +div.code-block-caption span.caption-number { + padding: 0.1em 0.3em; + font-style: italic; +} + +div.code-block-caption span.caption-text { +} + +div.literal-block-wrapper { + margin: 1em 0; +} + +code.xref, a code { + background-color: transparent; + font-weight: bold; +} + +h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { + background-color: transparent; +} + +.viewcode-link { + float: right; +} + +.viewcode-back { + float: right; + font-family: sans-serif; +} + +div.viewcode-block:target { + margin: -1px -10px; + padding: 0 10px; +} + +/* -- math display ---------------------------------------------------------- */ + +img.math { + vertical-align: middle; +} + +div.body div.math p { + text-align: center; +} + +span.eqno { + float: right; +} + +span.eqno a.headerlink { + position: absolute; + z-index: 1; +} + +div.math:hover a.headerlink { + visibility: visible; +} + +/* -- printout stylesheet --------------------------------------------------- */ + +@media print { + div.document, + div.documentwrapper, + div.bodywrapper { + margin: 0 !important; + width: 100%; + } + + div.sphinxsidebar, + div.related, + div.footer, + #top-link { + display: none; + } +} \ No newline at end of file diff --git a/tag/2.18.0/_static/css/ansible.css b/tag/2.18.0/_static/css/ansible.css new file mode 100644 index 000000000..8ecc337c1 --- /dev/null +++ b/tag/2.18.0/_static/css/ansible.css @@ -0,0 +1,491 @@ +@import 'theme.css'; +/*! minified with http://css-minify.online-domain-tools.com/ - all comments + * must have ! to preserve during minifying with that tool */ +/*! Fix for read the docs theme: + * https://rackerlabs.github.io/docs-rackspace/tools/rtd-tables.html + */ +/*! override table width restrictions */ +@media screen and (min-width: 767px) { + /*! If we ever publish to read the docs, we need to use !important for + * these two styles as read the docs itself loads their theme in a way that + * we can't otherwise override it. + */ + .wy-table-responsive table td { + white-space: normal; + } + .wy-table-responsive { + overflow: visible; + } +} +/*! + * We use the class documentation-table for attribute tables where the first + * column is the name of an attribute and the second column is the description. + */ +/*! These tables look like this: + * + * Attribute Name Description + * -------------- ----------- + * **NAME** This is a multi-line description + * str/required that can span multiple lines + * added in x.y + * With multiple paragraphs + * -------------- ----------- + * + * **NAME** is given the class .value-name + * str is given the class .value-type + * / is given the class .value-separator + * required is given the class .value-required + * added in x.y is given the class .value-added-in + */ +/*! The extra .rst-content is so this will override rtd theme */ +.rst-content table.documentation-table td { + vertical-align: top; +} +table.documentation-table td:first-child { + white-space: nowrap; + vertical-align: top; +} +table.documentation-table td:first-child p:first-child { + font-weight: 700; + display: inline; +} +/*! This is now redundant with above position-based styling */ +/*! +table.documentation-table .value-name { + font-weight: bold; + display: inline; +} +*/ +table.documentation-table .value-type { + font-size: x-small; + color: purple; + display: inline; +} +table.documentation-table .value-separator { + font-size: x-small; + display: inline; +} +table.documentation-table .value-required { + font-size: x-small; + color: red; + display: inline; +} +.value-added-in { + font-size: x-small; + font-style: italic; + color: green; + display: inline; +} +/*! Ansible-specific CSS pulled out of rtd theme for 2.9 */ +.DocSiteProduct-header { + flex: 1; + -webkit-flex: 1; + padding: 10px 20px 20px; + display: flex; + display: -webkit-flex; + flex-direction: column; + -webkit-flex-direction: column; + align-items: center; + -webkit-align-items: center; + justify-content: flex-start; + -webkit-justify-content: flex-start; + margin-left: 20px; + margin-right: 20px; + text-decoration: none; + font-weight: 400; + font-family: "Open Sans", sans-serif; +} +.DocSiteProduct-header:active, +.DocSiteProduct-header:focus, +.DocSiteProduct-header:visited { + color: #fff; +} +.DocSiteProduct-header--core { + font-size: 25px; + background-color: #5bbdbf; + border: 2px solid #5bbdbf; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + color: #fff; + padding-left: 2px; + margin-left: 2px; +} +.DocSiteProduct-headerAlign { + width: 100%; +} +.DocSiteProduct-logo { + width: 60px; + height: 60px; + margin-bottom: -9px; +} +.DocSiteProduct-logoText { + margin-top: 6px; + font-size: 25px; + text-align: left; +} +.DocSiteProduct-CheckVersionPara { + margin-left: 2px; + padding-bottom: 4px; + margin-right: 2px; + margin-bottom: 10px; +} +/*! Ansible color scheme */ +.wy-nav-top, +.wy-side-nav-search { + background-color: #5bbdbf; +} +.wy-menu-vertical header, +.wy-menu-vertical p.caption { + color: #5bbdbf; +} +.wy-menu-vertical a { + padding: 0; +} +.wy-menu-vertical a.reference.internal { + padding: 0.4045em 1.618em; +} +/*! Override sphinx rtd theme max-with of 800px */ +.wy-nav-content { + max-width: 100%; +} +/*! + * Override sphinx_rtd_theme - keeps left-nav from overwriting + * Documentation title + **/ +.wy-nav-side { + top: 45px; +} +/*! + * Ansible - changed absolute to relative to remove extraneous side scroll bar + **/ +.wy-grid-for-nav { + position: relative; +} +/*! Ansible narrow the search box */ +.wy-side-nav-search input[type="text"] { + width: 90%; + padding-left: 24px; +} +/*! Ansible - remove so highlight indenting is correct */ +.rst-content .highlighted { + padding: 0; +} +.DocSiteBanner { + display: flex; + display: -webkit-flex; + justify-content: center; + -webkit-justify-content: center; + flex-wrap: wrap; + -webkit-flex-wrap: wrap; + margin-bottom: 25px; +} +.DocSiteBanner-imgWrapper { + max-width: 100%; +} +td, +th { + min-width: 100px; +} +table { + overflow-x: auto; + max-width: 100%; +} +.documentation-table td, +.documentation-table th { + padding: 4px; + border-left: 1px solid #000; + border-top: 1px solid #000; +} +.documentation-table { + border-right: 1px solid #000; + border-bottom: 1px solid #000; +} +@media print { + * { + background: 0 0 !important; + color: #000 !important; + text-shadow: none !important; + filter: none !important; + -ms-filter: none !important; + } + #nav, + a, + a:visited { + text-decoration: underline; + } + a[href]:after { + content: " (" attr(href) ")"; + } + abbr[title]:after { + content: " (" attr(title) ")"; + } + .ir a:after, + a[href^="javascript:"]:after, + a[href^="#"]:after { + content: ""; + } + /*! Don't show links for images, or javascript/internal links */ + pre, + blockquote { + border: 0 solid #999; + page-break-inside: avoid; + } + thead { + display: table-header-group; + } + /*! h5bp.com/t */ + tr, + img { + page-break-inside: avoid; + } + img { + max-width: 100% !important; + } + @page { + margin: 0.5cm; + } + h2, + h3, + p { + orphans: 3; + widows: 3; + } + h2, + h3 { + page-break-after: avoid; + } + #google_image_div, + .DocSiteBanner { + display: none !important; + } +} +#sideBanner, +.DocSite-globalNav { + display: none; +} +.DocSite-sideNav { + display: block; + margin-bottom: 40px; +} +.DocSite-nav { + display: none; +} +.ansibleNav { + background: #000; + padding: 0 20px; + width: auto; + border-bottom: 1px solid #444; + font-size: 14px; + z-index: 1; +} +.ansibleNav ul { + list-style: none; + padding-left: 0; + margin-top: 0; +} +.ansibleNav ul li { + padding: 7px 0; + border-bottom: 1px solid #444; +} +.ansibleNav ul li:last-child { + border: none; +} +.ansibleNav ul li a { + color: #fff; + text-decoration: none; + text-transform: uppercase; + padding: 6px 0; +} +.ansibleNav ul li a:hover { + color: #5bbdbf; + background: 0 0; +} +h4 { + font-size: 105%; +} +h5 { + font-size: 90%; +} +h6 { + font-size: 80%; +} +@media screen and (min-width: 768px) { + .DocSite-globalNav { + display: block; + position: fixed; + } + #sideBanner { + display: block; + } + .DocSite-sideNav { + display: none; + } + .DocSite-nav { + flex: initial; + -webkit-flex: initial; + display: flex; + display: -webkit-flex; + flex-direction: row; + -webkit-flex-direction: row; + justify-content: flex-start; + -webkit-justify-content: flex-start; + padding: 15px; + background-color: #000; + text-decoration: none; + font-family: "Open Sans", sans-serif; + } + .DocSiteNav-logo { + width: 28px; + height: 28px; + margin-right: 8px; + margin-top: -6px; + position: fixed; + z-index: 1; + } + .DocSiteNav-title { + color: #fff; + font-size: 20px; + position: fixed; + margin-left: 40px; + margin-top: -4px; + z-index: 1; + } + .ansibleNav { + height: 45px; + width: 100%; + font-size: 13px; + padding: 0 60px 0 0; + } + .ansibleNav ul { + float: right; + display: flex; + flex-wrap: nowrap; + margin-top: 13px; + } + .ansibleNav ul li { + padding: 0; + border-bottom: none; + } + .ansibleNav ul li a { + color: #fff; + text-decoration: none; + text-transform: uppercase; + padding: 8px 13px; + } + h4 { + font-size: 105%; + } + h5 { + font-size: 90%; + } + h6 { + font-size: 80%; + } +} +@media screen and (min-width: 768px) { + #sideBanner, + .DocSite-globalNav { + display: block; + } + .DocSite-sideNav { + display: none; + } + .DocSite-nav { + flex: initial; + -webkit-flex: initial; + display: flex; + display: -webkit-flex; + flex-direction: row; + -webkit-flex-direction: row; + justify-content: flex-start; + -webkit-justify-content: flex-start; + padding: 15px; + background-color: #000; + text-decoration: none; + font-family: "Open Sans", sans-serif; + } + .DocSiteNav-logo { + width: 28px; + height: 28px; + margin-right: 8px; + margin-top: -6px; + position: fixed; + } + .DocSiteNav-title { + color: #fff; + font-size: 20px; + position: fixed; + margin-left: 40px; + margin-top: -4px; + } + .ansibleNav { + height: 45px; + font-size: 13px; + padding: 0 60px 0 0; + } + .ansibleNav ul { + float: right; + display: flex; + flex-wrap: nowrap; + margin-top: 13px; + } + .ansibleNav ul li { + padding: 0; + border-bottom: none; + } + .ansibleNav ul li a { + color: #fff; + text-decoration: none; + text-transform: uppercase; + padding: 8px 13px; + } + h4 { + font-size: 105%; + } + h5 { + font-size: 90%; + } + h6 { + font-size: 80%; + } +} +/* ansibleOptionLink is adapted from h1 .headerlink in sphinx_rtd_theme */ +/* This definition lives in the antsibull Sphinx extension; we update it here to use the icon from FontAwesome */ +/* https://github.com/ansible-community/antsibull-docs/blob/main/src/sphinx_antsibull_ext/css/antsibull-minimal.scss */ +tr .ansibleOptionLink::after { + content: "" !important; + font-family: FontAwesome; +} +tr .ansibleOptionLink { + font: normal normal normal 14px/1 FontAwesome; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +@media screen and (min-width: 767px) { + /* Move anchors a bit up so that they aren't hidden by the header bar */ + section [id] { + padding-top: 45px; + margin-top: -45px; + } + /* + * Without this, + * for example most links in the page's TOC aren't usable anymore, and tables + * sometimes overlap the text above + * */ + section a[id], section table[id] { + padding-top: 0; + margin-top: 0; + } +} + +/* Assure reading examples does not require horizontal scrolling */ +.rst-content div[class^="highlight"] pre { + white-space: pre-wrap; +} + +.rst-content dl dt { margin-bottom: 0; } + +/*! Make sure that environment variable links are blue */ +.rst-content code.xref.std-envvar { color: #2980b9; } diff --git a/tag/2.18.0/_static/css/badge_only.css b/tag/2.18.0/_static/css/badge_only.css new file mode 100644 index 000000000..c718cee44 --- /dev/null +++ b/tag/2.18.0/_static/css/badge_only.css @@ -0,0 +1 @@ +.clearfix{*zoom:1}.clearfix:after,.clearfix:before{display:table;content:""}.clearfix:after{clear:both}@font-face{font-family:FontAwesome;font-style:normal;font-weight:400;src:url(fonts/fontawesome-webfont.eot?674f50d287a8c48dc19ba404d20fe713?#iefix) format("embedded-opentype"),url(fonts/fontawesome-webfont.woff2?af7ae505a9eed503f8b8e6982036873e) format("woff2"),url(fonts/fontawesome-webfont.woff?fee66e712a8a08eef5805a46892932ad) format("woff"),url(fonts/fontawesome-webfont.ttf?b06871f281fee6b241d60582ae9369b9) format("truetype"),url(fonts/fontawesome-webfont.svg?912ec66d7572ff821749319396470bde#FontAwesome) format("svg")}.fa:before{font-family:FontAwesome;font-style:normal;font-weight:400;line-height:1}.fa:before,a .fa{text-decoration:inherit}.fa:before,a .fa,li .fa{display:inline-block}li .fa-large:before{width:1.875em}ul.fas{list-style-type:none;margin-left:2em;text-indent:-.8em}ul.fas li .fa{width:.8em}ul.fas li .fa-large:before{vertical-align:baseline}.fa-book:before,.icon-book:before{content:"\f02d"}.fa-caret-down:before,.icon-caret-down:before{content:"\f0d7"}.fa-caret-up:before,.icon-caret-up:before{content:"\f0d8"}.fa-caret-left:before,.icon-caret-left:before{content:"\f0d9"}.fa-caret-right:before,.icon-caret-right:before{content:"\f0da"}.rst-versions{position:fixed;bottom:0;left:0;width:300px;color:#fcfcfc;background:#1f1d1d;font-family:Lato,proxima-nova,Helvetica Neue,Arial,sans-serif;z-index:400}.rst-versions a{color:#2980b9;text-decoration:none}.rst-versions .rst-badge-small{display:none}.rst-versions .rst-current-version{padding:12px;background-color:#272525;display:block;text-align:right;font-size:90%;cursor:pointer;color:#27ae60}.rst-versions .rst-current-version:after{clear:both;content:"";display:block}.rst-versions .rst-current-version .fa{color:#fcfcfc}.rst-versions .rst-current-version .fa-book,.rst-versions .rst-current-version .icon-book{float:left}.rst-versions .rst-current-version.rst-out-of-date{background-color:#e74c3c;color:#fff}.rst-versions .rst-current-version.rst-active-old-version{background-color:#f1c40f;color:#000}.rst-versions.shift-up{height:auto;max-height:100%;overflow-y:scroll}.rst-versions.shift-up .rst-other-versions{display:block}.rst-versions .rst-other-versions{font-size:90%;padding:12px;color:grey;display:none}.rst-versions .rst-other-versions hr{display:block;height:1px;border:0;margin:20px 0;padding:0;border-top:1px solid #413d3d}.rst-versions .rst-other-versions dd{display:inline-block;margin:0}.rst-versions .rst-other-versions dd a{display:inline-block;padding:6px;color:#fcfcfc}.rst-versions.rst-badge{width:auto;bottom:20px;right:20px;left:auto;border:none;max-width:300px;max-height:90%}.rst-versions.rst-badge .fa-book,.rst-versions.rst-badge .icon-book{float:none;line-height:30px}.rst-versions.rst-badge.shift-up .rst-current-version{text-align:right}.rst-versions.rst-badge.shift-up .rst-current-version .fa-book,.rst-versions.rst-badge.shift-up .rst-current-version .icon-book{float:left}.rst-versions.rst-badge>.rst-current-version{width:auto;height:30px;line-height:30px;padding:0 6px;display:block;text-align:center}@media screen and (max-width:768px){.rst-versions{width:85%;display:none}.rst-versions.shift{display:block}} \ No newline at end of file diff --git a/tag/2.18.0/_static/css/fonts/Roboto-Slab-Bold.woff b/tag/2.18.0/_static/css/fonts/Roboto-Slab-Bold.woff new file mode 100644 index 000000000..6cb600001 Binary files /dev/null and b/tag/2.18.0/_static/css/fonts/Roboto-Slab-Bold.woff differ diff --git a/tag/2.18.0/_static/css/fonts/Roboto-Slab-Bold.woff2 b/tag/2.18.0/_static/css/fonts/Roboto-Slab-Bold.woff2 new file mode 100644 index 000000000..7059e2314 Binary files /dev/null and b/tag/2.18.0/_static/css/fonts/Roboto-Slab-Bold.woff2 differ diff --git a/tag/2.18.0/_static/css/fonts/Roboto-Slab-Regular.woff b/tag/2.18.0/_static/css/fonts/Roboto-Slab-Regular.woff new file mode 100644 index 000000000..f815f63f9 Binary files /dev/null and b/tag/2.18.0/_static/css/fonts/Roboto-Slab-Regular.woff differ diff --git a/tag/2.18.0/_static/css/fonts/Roboto-Slab-Regular.woff2 b/tag/2.18.0/_static/css/fonts/Roboto-Slab-Regular.woff2 new file mode 100644 index 000000000..f2c76e5bd Binary files /dev/null and b/tag/2.18.0/_static/css/fonts/Roboto-Slab-Regular.woff2 differ diff --git a/tag/2.18.0/_static/css/fonts/fontawesome-webfont.eot b/tag/2.18.0/_static/css/fonts/fontawesome-webfont.eot new file mode 100644 index 000000000..e9f60ca95 Binary files /dev/null and b/tag/2.18.0/_static/css/fonts/fontawesome-webfont.eot differ diff --git a/tag/2.18.0/_static/css/fonts/fontawesome-webfont.svg b/tag/2.18.0/_static/css/fonts/fontawesome-webfont.svg new file mode 100644 index 000000000..855c845e5 --- /dev/null +++ b/tag/2.18.0/_static/css/fonts/fontawesome-webfont.svg @@ -0,0 +1,2671 @@ + + + + +Created by FontForge 20120731 at Mon Oct 24 17:37:40 2016 + By ,,, +Copyright Dave Gandy 2016. All rights reserved. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tag/2.18.0/_static/css/fonts/fontawesome-webfont.ttf b/tag/2.18.0/_static/css/fonts/fontawesome-webfont.ttf new file mode 100644 index 000000000..35acda2fa Binary files /dev/null and b/tag/2.18.0/_static/css/fonts/fontawesome-webfont.ttf differ diff --git a/tag/2.18.0/_static/css/fonts/fontawesome-webfont.woff b/tag/2.18.0/_static/css/fonts/fontawesome-webfont.woff new file mode 100644 index 000000000..400014a4b Binary files /dev/null and b/tag/2.18.0/_static/css/fonts/fontawesome-webfont.woff differ diff --git a/tag/2.18.0/_static/css/fonts/fontawesome-webfont.woff2 b/tag/2.18.0/_static/css/fonts/fontawesome-webfont.woff2 new file mode 100644 index 000000000..4d13fc604 Binary files /dev/null and b/tag/2.18.0/_static/css/fonts/fontawesome-webfont.woff2 differ diff --git a/tag/2.18.0/_static/css/fonts/lato-bold-italic.woff b/tag/2.18.0/_static/css/fonts/lato-bold-italic.woff new file mode 100644 index 000000000..88ad05b9f Binary files /dev/null and b/tag/2.18.0/_static/css/fonts/lato-bold-italic.woff differ diff --git a/tag/2.18.0/_static/css/fonts/lato-bold-italic.woff2 b/tag/2.18.0/_static/css/fonts/lato-bold-italic.woff2 new file mode 100644 index 000000000..c4e3d804b Binary files /dev/null and b/tag/2.18.0/_static/css/fonts/lato-bold-italic.woff2 differ diff --git a/tag/2.18.0/_static/css/fonts/lato-bold.woff b/tag/2.18.0/_static/css/fonts/lato-bold.woff new file mode 100644 index 000000000..c6dff51f0 Binary files /dev/null and b/tag/2.18.0/_static/css/fonts/lato-bold.woff differ diff --git a/tag/2.18.0/_static/css/fonts/lato-bold.woff2 b/tag/2.18.0/_static/css/fonts/lato-bold.woff2 new file mode 100644 index 000000000..bb195043c Binary files /dev/null and b/tag/2.18.0/_static/css/fonts/lato-bold.woff2 differ diff --git a/tag/2.18.0/_static/css/fonts/lato-normal-italic.woff b/tag/2.18.0/_static/css/fonts/lato-normal-italic.woff new file mode 100644 index 000000000..76114bc03 Binary files /dev/null and b/tag/2.18.0/_static/css/fonts/lato-normal-italic.woff differ diff --git a/tag/2.18.0/_static/css/fonts/lato-normal-italic.woff2 b/tag/2.18.0/_static/css/fonts/lato-normal-italic.woff2 new file mode 100644 index 000000000..3404f37e2 Binary files /dev/null and b/tag/2.18.0/_static/css/fonts/lato-normal-italic.woff2 differ diff --git a/tag/2.18.0/_static/css/fonts/lato-normal.woff b/tag/2.18.0/_static/css/fonts/lato-normal.woff new file mode 100644 index 000000000..ae1307ff5 Binary files /dev/null and b/tag/2.18.0/_static/css/fonts/lato-normal.woff differ diff --git a/tag/2.18.0/_static/css/fonts/lato-normal.woff2 b/tag/2.18.0/_static/css/fonts/lato-normal.woff2 new file mode 100644 index 000000000..3bf984332 Binary files /dev/null and b/tag/2.18.0/_static/css/fonts/lato-normal.woff2 differ diff --git a/tag/2.18.0/_static/css/rtd-ethical-ads.css b/tag/2.18.0/_static/css/rtd-ethical-ads.css new file mode 100644 index 000000000..a146003e6 --- /dev/null +++ b/tag/2.18.0/_static/css/rtd-ethical-ads.css @@ -0,0 +1,4 @@ +.ethical-sidebar, +.ethical-footer { + border-radius: 0 !important; +} diff --git a/tag/2.18.0/_static/css/theme.css b/tag/2.18.0/_static/css/theme.css new file mode 100644 index 000000000..19a446a0e --- /dev/null +++ b/tag/2.18.0/_static/css/theme.css @@ -0,0 +1,4 @@ +html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}[hidden],audio:not([controls]){display:none}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}blockquote{margin:0}dfn{font-style:italic}ins{background:#ff9;text-decoration:none}ins,mark{color:#000}mark{background:#ff0;font-style:italic;font-weight:700}.rst-content code,.rst-content tt,code,kbd,pre,samp{font-family:monospace,serif;_font-family:courier new,monospace;font-size:1em}pre{white-space:pre}q{quotes:none}q:after,q:before{content:"";content:none}small{font-size:85%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}dl,ol,ul{margin:0;padding:0;list-style:none;list-style-image:none}li{list-style:none}dd{margin:0}img{border:0;-ms-interpolation-mode:bicubic;vertical-align:middle;max-width:100%}svg:not(:root){overflow:hidden}figure,form{margin:0}label{cursor:pointer}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,input{line-height:normal}button,input[type=button],input[type=reset],input[type=submit]{cursor:pointer;-webkit-appearance:button;*overflow:visible}button[disabled],input[disabled]{cursor:default}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}textarea{resize:vertical}table{border-collapse:collapse;border-spacing:0}td{vertical-align:top}.chromeframe{margin:.2em 0;background:#ccc;color:#000;padding:.2em 0}.ir{display:block;border:0;text-indent:-999em;overflow:hidden;background-color:transparent;background-repeat:no-repeat;text-align:left;direction:ltr;*line-height:0}.ir br{display:none}.hidden{display:none!important;visibility:hidden}.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.invisible{visibility:hidden}.relative{position:relative}big,small{font-size:100%}@media print{body,html,section{background:none!important}*{box-shadow:none!important;text-shadow:none!important;filter:none!important;-ms-filter:none!important}a,a:visited{text-decoration:underline}.ir a:after,a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}@page{margin:.5cm}.rst-content .toctree-wrapper>p.caption,h2,h3,p{orphans:3;widows:3}.rst-content .toctree-wrapper>p.caption,h2,h3{page-break-after:avoid}}.btn,.fa:before,.icon:before,.rst-content .admonition,.rst-content .admonition-title:before,.rst-content .admonition-todo,.rst-content .attention,.rst-content .caution,.rst-content .code-block-caption .headerlink:before,.rst-content .danger,.rst-content .eqno .headerlink:before,.rst-content .error,.rst-content .hint,.rst-content .important,.rst-content .note,.rst-content .seealso,.rst-content .tip,.rst-content .warning,.rst-content code.download span:first-child:before,.rst-content dl dt .headerlink:before,.rst-content h1 .headerlink:before,.rst-content h2 .headerlink:before,.rst-content h3 .headerlink:before,.rst-content h4 .headerlink:before,.rst-content h5 .headerlink:before,.rst-content h6 .headerlink:before,.rst-content p.caption .headerlink:before,.rst-content p .headerlink:before,.rst-content table>caption .headerlink:before,.rst-content tt.download span:first-child:before,.wy-alert,.wy-dropdown .caret:before,.wy-inline-validate.wy-inline-validate-danger .wy-input-context:before,.wy-inline-validate.wy-inline-validate-info .wy-input-context:before,.wy-inline-validate.wy-inline-validate-success .wy-input-context:before,.wy-inline-validate.wy-inline-validate-warning .wy-input-context:before,.wy-menu-vertical li.current>a button.toctree-expand:before,.wy-menu-vertical li.on a button.toctree-expand:before,.wy-menu-vertical li button.toctree-expand:before,input[type=color],input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week],select,textarea{-webkit-font-smoothing:antialiased}.clearfix{*zoom:1}.clearfix:after,.clearfix:before{display:table;content:""}.clearfix:after{clear:both}/*! + * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome + * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) + */@font-face{font-family:FontAwesome;src:url(fonts/fontawesome-webfont.eot?674f50d287a8c48dc19ba404d20fe713);src:url(fonts/fontawesome-webfont.eot?674f50d287a8c48dc19ba404d20fe713?#iefix&v=4.7.0) format("embedded-opentype"),url(fonts/fontawesome-webfont.woff2?af7ae505a9eed503f8b8e6982036873e) format("woff2"),url(fonts/fontawesome-webfont.woff?fee66e712a8a08eef5805a46892932ad) format("woff"),url(fonts/fontawesome-webfont.ttf?b06871f281fee6b241d60582ae9369b9) format("truetype"),url(fonts/fontawesome-webfont.svg?912ec66d7572ff821749319396470bde#fontawesomeregular) format("svg");font-weight:400;font-style:normal}.fa,.icon,.rst-content .admonition-title,.rst-content .code-block-caption .headerlink,.rst-content .eqno .headerlink,.rst-content code.download span:first-child,.rst-content dl dt .headerlink,.rst-content h1 .headerlink,.rst-content h2 .headerlink,.rst-content h3 .headerlink,.rst-content h4 .headerlink,.rst-content h5 .headerlink,.rst-content h6 .headerlink,.rst-content p.caption .headerlink,.rst-content p .headerlink,.rst-content table>caption .headerlink,.rst-content tt.download span:first-child,.wy-menu-vertical li.current>a button.toctree-expand,.wy-menu-vertical li.on a button.toctree-expand,.wy-menu-vertical li button.toctree-expand{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14286em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14286em;width:2.14286em;top:.14286em;text-align:center}.fa-li.fa-lg{left:-1.85714em}.fa-border{padding:.2em .25em .15em;border:.08em solid #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa-pull-left.icon,.fa.fa-pull-left,.rst-content .code-block-caption .fa-pull-left.headerlink,.rst-content .eqno .fa-pull-left.headerlink,.rst-content .fa-pull-left.admonition-title,.rst-content code.download span.fa-pull-left:first-child,.rst-content dl dt .fa-pull-left.headerlink,.rst-content h1 .fa-pull-left.headerlink,.rst-content h2 .fa-pull-left.headerlink,.rst-content h3 .fa-pull-left.headerlink,.rst-content h4 .fa-pull-left.headerlink,.rst-content h5 .fa-pull-left.headerlink,.rst-content h6 .fa-pull-left.headerlink,.rst-content p .fa-pull-left.headerlink,.rst-content table>caption .fa-pull-left.headerlink,.rst-content tt.download span.fa-pull-left:first-child,.wy-menu-vertical li.current>a button.fa-pull-left.toctree-expand,.wy-menu-vertical li.on a button.fa-pull-left.toctree-expand,.wy-menu-vertical li button.fa-pull-left.toctree-expand{margin-right:.3em}.fa-pull-right.icon,.fa.fa-pull-right,.rst-content .code-block-caption .fa-pull-right.headerlink,.rst-content .eqno .fa-pull-right.headerlink,.rst-content .fa-pull-right.admonition-title,.rst-content code.download span.fa-pull-right:first-child,.rst-content dl dt .fa-pull-right.headerlink,.rst-content h1 .fa-pull-right.headerlink,.rst-content h2 .fa-pull-right.headerlink,.rst-content h3 .fa-pull-right.headerlink,.rst-content h4 .fa-pull-right.headerlink,.rst-content h5 .fa-pull-right.headerlink,.rst-content h6 .fa-pull-right.headerlink,.rst-content p .fa-pull-right.headerlink,.rst-content table>caption .fa-pull-right.headerlink,.rst-content tt.download span.fa-pull-right:first-child,.wy-menu-vertical li.current>a button.fa-pull-right.toctree-expand,.wy-menu-vertical li.on a button.fa-pull-right.toctree-expand,.wy-menu-vertical li button.fa-pull-right.toctree-expand{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left,.pull-left.icon,.rst-content .code-block-caption .pull-left.headerlink,.rst-content .eqno .pull-left.headerlink,.rst-content .pull-left.admonition-title,.rst-content code.download span.pull-left:first-child,.rst-content dl dt .pull-left.headerlink,.rst-content h1 .pull-left.headerlink,.rst-content h2 .pull-left.headerlink,.rst-content h3 .pull-left.headerlink,.rst-content h4 .pull-left.headerlink,.rst-content h5 .pull-left.headerlink,.rst-content h6 .pull-left.headerlink,.rst-content p .pull-left.headerlink,.rst-content table>caption .pull-left.headerlink,.rst-content tt.download span.pull-left:first-child,.wy-menu-vertical li.current>a button.pull-left.toctree-expand,.wy-menu-vertical li.on a button.pull-left.toctree-expand,.wy-menu-vertical li button.pull-left.toctree-expand{margin-right:.3em}.fa.pull-right,.pull-right.icon,.rst-content .code-block-caption .pull-right.headerlink,.rst-content .eqno .pull-right.headerlink,.rst-content .pull-right.admonition-title,.rst-content code.download span.pull-right:first-child,.rst-content dl dt .pull-right.headerlink,.rst-content h1 .pull-right.headerlink,.rst-content h2 .pull-right.headerlink,.rst-content h3 .pull-right.headerlink,.rst-content h4 .pull-right.headerlink,.rst-content h5 .pull-right.headerlink,.rst-content h6 .pull-right.headerlink,.rst-content p .pull-right.headerlink,.rst-content table>caption .pull-right.headerlink,.rst-content tt.download span.pull-right:first-child,.wy-menu-vertical li.current>a button.pull-right.toctree-expand,.wy-menu-vertical li.on a button.pull-right.toctree-expand,.wy-menu-vertical li button.pull-right.toctree-expand{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scaleX(-1);-ms-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scaleY(-1);-ms-transform:scaleY(-1);transform:scaleY(-1)}:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:""}.fa-music:before{content:""}.fa-search:before,.icon-search:before{content:""}.fa-envelope-o:before{content:""}.fa-heart:before{content:""}.fa-star:before{content:""}.fa-star-o:before{content:""}.fa-user:before{content:""}.fa-film:before{content:""}.fa-th-large:before{content:""}.fa-th:before{content:""}.fa-th-list:before{content:""}.fa-check:before{content:""}.fa-close:before,.fa-remove:before,.fa-times:before{content:""}.fa-search-plus:before{content:""}.fa-search-minus:before{content:""}.fa-power-off:before{content:""}.fa-signal:before{content:""}.fa-cog:before,.fa-gear:before{content:""}.fa-trash-o:before{content:""}.fa-home:before,.icon-home:before{content:""}.fa-file-o:before{content:""}.fa-clock-o:before{content:""}.fa-road:before{content:""}.fa-download:before,.rst-content code.download span:first-child:before,.rst-content tt.download span:first-child:before{content:""}.fa-arrow-circle-o-down:before{content:""}.fa-arrow-circle-o-up:before{content:""}.fa-inbox:before{content:""}.fa-play-circle-o:before{content:""}.fa-repeat:before,.fa-rotate-right:before{content:""}.fa-refresh:before{content:""}.fa-list-alt:before{content:""}.fa-lock:before{content:""}.fa-flag:before{content:""}.fa-headphones:before{content:""}.fa-volume-off:before{content:""}.fa-volume-down:before{content:""}.fa-volume-up:before{content:""}.fa-qrcode:before{content:""}.fa-barcode:before{content:""}.fa-tag:before{content:""}.fa-tags:before{content:""}.fa-book:before,.icon-book:before{content:""}.fa-bookmark:before{content:""}.fa-print:before{content:""}.fa-camera:before{content:""}.fa-font:before{content:""}.fa-bold:before{content:""}.fa-italic:before{content:""}.fa-text-height:before{content:""}.fa-text-width:before{content:""}.fa-align-left:before{content:""}.fa-align-center:before{content:""}.fa-align-right:before{content:""}.fa-align-justify:before{content:""}.fa-list:before{content:""}.fa-dedent:before,.fa-outdent:before{content:""}.fa-indent:before{content:""}.fa-video-camera:before{content:""}.fa-image:before,.fa-photo:before,.fa-picture-o:before{content:""}.fa-pencil:before{content:""}.fa-map-marker:before{content:""}.fa-adjust:before{content:""}.fa-tint:before{content:""}.fa-edit:before,.fa-pencil-square-o:before{content:""}.fa-share-square-o:before{content:""}.fa-check-square-o:before{content:""}.fa-arrows:before{content:""}.fa-step-backward:before{content:""}.fa-fast-backward:before{content:""}.fa-backward:before{content:""}.fa-play:before{content:""}.fa-pause:before{content:""}.fa-stop:before{content:""}.fa-forward:before{content:""}.fa-fast-forward:before{content:""}.fa-step-forward:before{content:""}.fa-eject:before{content:""}.fa-chevron-left:before{content:""}.fa-chevron-right:before{content:""}.fa-plus-circle:before{content:""}.fa-minus-circle:before{content:""}.fa-times-circle:before,.wy-inline-validate.wy-inline-validate-danger .wy-input-context:before{content:""}.fa-check-circle:before,.wy-inline-validate.wy-inline-validate-success .wy-input-context:before{content:""}.fa-question-circle:before{content:""}.fa-info-circle:before{content:""}.fa-crosshairs:before{content:""}.fa-times-circle-o:before{content:""}.fa-check-circle-o:before{content:""}.fa-ban:before{content:""}.fa-arrow-left:before{content:""}.fa-arrow-right:before{content:""}.fa-arrow-up:before{content:""}.fa-arrow-down:before{content:""}.fa-mail-forward:before,.fa-share:before{content:""}.fa-expand:before{content:""}.fa-compress:before{content:""}.fa-plus:before{content:""}.fa-minus:before{content:""}.fa-asterisk:before{content:""}.fa-exclamation-circle:before,.rst-content .admonition-title:before,.wy-inline-validate.wy-inline-validate-info .wy-input-context:before,.wy-inline-validate.wy-inline-validate-warning .wy-input-context:before{content:""}.fa-gift:before{content:""}.fa-leaf:before{content:""}.fa-fire:before,.icon-fire:before{content:""}.fa-eye:before{content:""}.fa-eye-slash:before{content:""}.fa-exclamation-triangle:before,.fa-warning:before{content:""}.fa-plane:before{content:""}.fa-calendar:before{content:""}.fa-random:before{content:""}.fa-comment:before{content:""}.fa-magnet:before{content:""}.fa-chevron-up:before{content:""}.fa-chevron-down:before{content:""}.fa-retweet:before{content:""}.fa-shopping-cart:before{content:""}.fa-folder:before{content:""}.fa-folder-open:before{content:""}.fa-arrows-v:before{content:""}.fa-arrows-h:before{content:""}.fa-bar-chart-o:before,.fa-bar-chart:before{content:""}.fa-twitter-square:before{content:""}.fa-facebook-square:before{content:""}.fa-camera-retro:before{content:""}.fa-key:before{content:""}.fa-cogs:before,.fa-gears:before{content:""}.fa-comments:before{content:""}.fa-thumbs-o-up:before{content:""}.fa-thumbs-o-down:before{content:""}.fa-star-half:before{content:""}.fa-heart-o:before{content:""}.fa-sign-out:before{content:""}.fa-linkedin-square:before{content:""}.fa-thumb-tack:before{content:""}.fa-external-link:before{content:""}.fa-sign-in:before{content:""}.fa-trophy:before{content:""}.fa-github-square:before{content:""}.fa-upload:before{content:""}.fa-lemon-o:before{content:""}.fa-phone:before{content:""}.fa-square-o:before{content:""}.fa-bookmark-o:before{content:""}.fa-phone-square:before{content:""}.fa-twitter:before{content:""}.fa-facebook-f:before,.fa-facebook:before{content:""}.fa-github:before,.icon-github:before{content:""}.fa-unlock:before{content:""}.fa-credit-card:before{content:""}.fa-feed:before,.fa-rss:before{content:""}.fa-hdd-o:before{content:""}.fa-bullhorn:before{content:""}.fa-bell:before{content:""}.fa-certificate:before{content:""}.fa-hand-o-right:before{content:""}.fa-hand-o-left:before{content:""}.fa-hand-o-up:before{content:""}.fa-hand-o-down:before{content:""}.fa-arrow-circle-left:before,.icon-circle-arrow-left:before{content:""}.fa-arrow-circle-right:before,.icon-circle-arrow-right:before{content:""}.fa-arrow-circle-up:before{content:""}.fa-arrow-circle-down:before{content:""}.fa-globe:before{content:""}.fa-wrench:before{content:""}.fa-tasks:before{content:""}.fa-filter:before{content:""}.fa-briefcase:before{content:""}.fa-arrows-alt:before{content:""}.fa-group:before,.fa-users:before{content:""}.fa-chain:before,.fa-link:before,.icon-link:before{content:""}.fa-cloud:before{content:""}.fa-flask:before{content:""}.fa-cut:before,.fa-scissors:before{content:""}.fa-copy:before,.fa-files-o:before{content:""}.fa-paperclip:before{content:""}.fa-floppy-o:before,.fa-save:before{content:""}.fa-square:before{content:""}.fa-bars:before,.fa-navicon:before,.fa-reorder:before{content:""}.fa-list-ul:before{content:""}.fa-list-ol:before{content:""}.fa-strikethrough:before{content:""}.fa-underline:before{content:""}.fa-table:before{content:""}.fa-magic:before{content:""}.fa-truck:before{content:""}.fa-pinterest:before{content:""}.fa-pinterest-square:before{content:""}.fa-google-plus-square:before{content:""}.fa-google-plus:before{content:""}.fa-money:before{content:""}.fa-caret-down:before,.icon-caret-down:before,.wy-dropdown .caret:before{content:""}.fa-caret-up:before{content:""}.fa-caret-left:before{content:""}.fa-caret-right:before{content:""}.fa-columns:before{content:""}.fa-sort:before,.fa-unsorted:before{content:""}.fa-sort-desc:before,.fa-sort-down:before{content:""}.fa-sort-asc:before,.fa-sort-up:before{content:""}.fa-envelope:before{content:""}.fa-linkedin:before{content:""}.fa-rotate-left:before,.fa-undo:before{content:""}.fa-gavel:before,.fa-legal:before{content:""}.fa-dashboard:before,.fa-tachometer:before{content:""}.fa-comment-o:before{content:""}.fa-comments-o:before{content:""}.fa-bolt:before,.fa-flash:before{content:""}.fa-sitemap:before{content:""}.fa-umbrella:before{content:""}.fa-clipboard:before,.fa-paste:before{content:""}.fa-lightbulb-o:before{content:""}.fa-exchange:before{content:""}.fa-cloud-download:before{content:""}.fa-cloud-upload:before{content:""}.fa-user-md:before{content:""}.fa-stethoscope:before{content:""}.fa-suitcase:before{content:""}.fa-bell-o:before{content:""}.fa-coffee:before{content:""}.fa-cutlery:before{content:""}.fa-file-text-o:before{content:""}.fa-building-o:before{content:""}.fa-hospital-o:before{content:""}.fa-ambulance:before{content:""}.fa-medkit:before{content:""}.fa-fighter-jet:before{content:""}.fa-beer:before{content:""}.fa-h-square:before{content:""}.fa-plus-square:before{content:""}.fa-angle-double-left:before{content:""}.fa-angle-double-right:before{content:""}.fa-angle-double-up:before{content:""}.fa-angle-double-down:before{content:""}.fa-angle-left:before{content:""}.fa-angle-right:before{content:""}.fa-angle-up:before{content:""}.fa-angle-down:before{content:""}.fa-desktop:before{content:""}.fa-laptop:before{content:""}.fa-tablet:before{content:""}.fa-mobile-phone:before,.fa-mobile:before{content:""}.fa-circle-o:before{content:""}.fa-quote-left:before{content:""}.fa-quote-right:before{content:""}.fa-spinner:before{content:""}.fa-circle:before{content:""}.fa-mail-reply:before,.fa-reply:before{content:""}.fa-github-alt:before{content:""}.fa-folder-o:before{content:""}.fa-folder-open-o:before{content:""}.fa-smile-o:before{content:""}.fa-frown-o:before{content:""}.fa-meh-o:before{content:""}.fa-gamepad:before{content:""}.fa-keyboard-o:before{content:""}.fa-flag-o:before{content:""}.fa-flag-checkered:before{content:""}.fa-terminal:before{content:""}.fa-code:before{content:""}.fa-mail-reply-all:before,.fa-reply-all:before{content:""}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:""}.fa-location-arrow:before{content:""}.fa-crop:before{content:""}.fa-code-fork:before{content:""}.fa-chain-broken:before,.fa-unlink:before{content:""}.fa-question:before{content:""}.fa-info:before{content:""}.fa-exclamation:before{content:""}.fa-superscript:before{content:""}.fa-subscript:before{content:""}.fa-eraser:before{content:""}.fa-puzzle-piece:before{content:""}.fa-microphone:before{content:""}.fa-microphone-slash:before{content:""}.fa-shield:before{content:""}.fa-calendar-o:before{content:""}.fa-fire-extinguisher:before{content:""}.fa-rocket:before{content:""}.fa-maxcdn:before{content:""}.fa-chevron-circle-left:before{content:""}.fa-chevron-circle-right:before{content:""}.fa-chevron-circle-up:before{content:""}.fa-chevron-circle-down:before{content:""}.fa-html5:before{content:""}.fa-css3:before{content:""}.fa-anchor:before{content:""}.fa-unlock-alt:before{content:""}.fa-bullseye:before{content:""}.fa-ellipsis-h:before{content:""}.fa-ellipsis-v:before{content:""}.fa-rss-square:before{content:""}.fa-play-circle:before{content:""}.fa-ticket:before{content:""}.fa-minus-square:before{content:""}.fa-minus-square-o:before,.wy-menu-vertical li.current>a button.toctree-expand:before,.wy-menu-vertical li.on a button.toctree-expand:before{content:""}.fa-level-up:before{content:""}.fa-level-down:before{content:""}.fa-check-square:before{content:""}.fa-pencil-square:before{content:""}.fa-external-link-square:before{content:""}.fa-share-square:before{content:""}.fa-compass:before{content:""}.fa-caret-square-o-down:before,.fa-toggle-down:before{content:""}.fa-caret-square-o-up:before,.fa-toggle-up:before{content:""}.fa-caret-square-o-right:before,.fa-toggle-right:before{content:""}.fa-eur:before,.fa-euro:before{content:""}.fa-gbp:before{content:""}.fa-dollar:before,.fa-usd:before{content:""}.fa-inr:before,.fa-rupee:before{content:""}.fa-cny:before,.fa-jpy:before,.fa-rmb:before,.fa-yen:before{content:""}.fa-rouble:before,.fa-rub:before,.fa-ruble:before{content:""}.fa-krw:before,.fa-won:before{content:""}.fa-bitcoin:before,.fa-btc:before{content:""}.fa-file:before{content:""}.fa-file-text:before{content:""}.fa-sort-alpha-asc:before{content:""}.fa-sort-alpha-desc:before{content:""}.fa-sort-amount-asc:before{content:""}.fa-sort-amount-desc:before{content:""}.fa-sort-numeric-asc:before{content:""}.fa-sort-numeric-desc:before{content:""}.fa-thumbs-up:before{content:""}.fa-thumbs-down:before{content:""}.fa-youtube-square:before{content:""}.fa-youtube:before{content:""}.fa-xing:before{content:""}.fa-xing-square:before{content:""}.fa-youtube-play:before{content:""}.fa-dropbox:before{content:""}.fa-stack-overflow:before{content:""}.fa-instagram:before{content:""}.fa-flickr:before{content:""}.fa-adn:before{content:""}.fa-bitbucket:before,.icon-bitbucket:before{content:""}.fa-bitbucket-square:before{content:""}.fa-tumblr:before{content:""}.fa-tumblr-square:before{content:""}.fa-long-arrow-down:before{content:""}.fa-long-arrow-up:before{content:""}.fa-long-arrow-left:before{content:""}.fa-long-arrow-right:before{content:""}.fa-apple:before{content:""}.fa-windows:before{content:""}.fa-android:before{content:""}.fa-linux:before{content:""}.fa-dribbble:before{content:""}.fa-skype:before{content:""}.fa-foursquare:before{content:""}.fa-trello:before{content:""}.fa-female:before{content:""}.fa-male:before{content:""}.fa-gittip:before,.fa-gratipay:before{content:""}.fa-sun-o:before{content:""}.fa-moon-o:before{content:""}.fa-archive:before{content:""}.fa-bug:before{content:""}.fa-vk:before{content:""}.fa-weibo:before{content:""}.fa-renren:before{content:""}.fa-pagelines:before{content:""}.fa-stack-exchange:before{content:""}.fa-arrow-circle-o-right:before{content:""}.fa-arrow-circle-o-left:before{content:""}.fa-caret-square-o-left:before,.fa-toggle-left:before{content:""}.fa-dot-circle-o:before{content:""}.fa-wheelchair:before{content:""}.fa-vimeo-square:before{content:""}.fa-try:before,.fa-turkish-lira:before{content:""}.fa-plus-square-o:before,.wy-menu-vertical li button.toctree-expand:before{content:""}.fa-space-shuttle:before{content:""}.fa-slack:before{content:""}.fa-envelope-square:before{content:""}.fa-wordpress:before{content:""}.fa-openid:before{content:""}.fa-bank:before,.fa-institution:before,.fa-university:before{content:""}.fa-graduation-cap:before,.fa-mortar-board:before{content:""}.fa-yahoo:before{content:""}.fa-google:before{content:""}.fa-reddit:before{content:""}.fa-reddit-square:before{content:""}.fa-stumbleupon-circle:before{content:""}.fa-stumbleupon:before{content:""}.fa-delicious:before{content:""}.fa-digg:before{content:""}.fa-pied-piper-pp:before{content:""}.fa-pied-piper-alt:before{content:""}.fa-drupal:before{content:""}.fa-joomla:before{content:""}.fa-language:before{content:""}.fa-fax:before{content:""}.fa-building:before{content:""}.fa-child:before{content:""}.fa-paw:before{content:""}.fa-spoon:before{content:""}.fa-cube:before{content:""}.fa-cubes:before{content:""}.fa-behance:before{content:""}.fa-behance-square:before{content:""}.fa-steam:before{content:""}.fa-steam-square:before{content:""}.fa-recycle:before{content:""}.fa-automobile:before,.fa-car:before{content:""}.fa-cab:before,.fa-taxi:before{content:""}.fa-tree:before{content:""}.fa-spotify:before{content:""}.fa-deviantart:before{content:""}.fa-soundcloud:before{content:""}.fa-database:before{content:""}.fa-file-pdf-o:before{content:""}.fa-file-word-o:before{content:""}.fa-file-excel-o:before{content:""}.fa-file-powerpoint-o:before{content:""}.fa-file-image-o:before,.fa-file-photo-o:before,.fa-file-picture-o:before{content:""}.fa-file-archive-o:before,.fa-file-zip-o:before{content:""}.fa-file-audio-o:before,.fa-file-sound-o:before{content:""}.fa-file-movie-o:before,.fa-file-video-o:before{content:""}.fa-file-code-o:before{content:""}.fa-vine:before{content:""}.fa-codepen:before{content:""}.fa-jsfiddle:before{content:""}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-ring:before,.fa-life-saver:before,.fa-support:before{content:""}.fa-circle-o-notch:before{content:""}.fa-ra:before,.fa-rebel:before,.fa-resistance:before{content:""}.fa-empire:before,.fa-ge:before{content:""}.fa-git-square:before{content:""}.fa-git:before{content:""}.fa-hacker-news:before,.fa-y-combinator-square:before,.fa-yc-square:before{content:""}.fa-tencent-weibo:before{content:""}.fa-qq:before{content:""}.fa-wechat:before,.fa-weixin:before{content:""}.fa-paper-plane:before,.fa-send:before{content:""}.fa-paper-plane-o:before,.fa-send-o:before{content:""}.fa-history:before{content:""}.fa-circle-thin:before{content:""}.fa-header:before{content:""}.fa-paragraph:before{content:""}.fa-sliders:before{content:""}.fa-share-alt:before{content:""}.fa-share-alt-square:before{content:""}.fa-bomb:before{content:""}.fa-futbol-o:before,.fa-soccer-ball-o:before{content:""}.fa-tty:before{content:""}.fa-binoculars:before{content:""}.fa-plug:before{content:""}.fa-slideshare:before{content:""}.fa-twitch:before{content:""}.fa-yelp:before{content:""}.fa-newspaper-o:before{content:""}.fa-wifi:before{content:""}.fa-calculator:before{content:""}.fa-paypal:before{content:""}.fa-google-wallet:before{content:""}.fa-cc-visa:before{content:""}.fa-cc-mastercard:before{content:""}.fa-cc-discover:before{content:""}.fa-cc-amex:before{content:""}.fa-cc-paypal:before{content:""}.fa-cc-stripe:before{content:""}.fa-bell-slash:before{content:""}.fa-bell-slash-o:before{content:""}.fa-trash:before{content:""}.fa-copyright:before{content:""}.fa-at:before{content:""}.fa-eyedropper:before{content:""}.fa-paint-brush:before{content:""}.fa-birthday-cake:before{content:""}.fa-area-chart:before{content:""}.fa-pie-chart:before{content:""}.fa-line-chart:before{content:""}.fa-lastfm:before{content:""}.fa-lastfm-square:before{content:""}.fa-toggle-off:before{content:""}.fa-toggle-on:before{content:""}.fa-bicycle:before{content:""}.fa-bus:before{content:""}.fa-ioxhost:before{content:""}.fa-angellist:before{content:""}.fa-cc:before{content:""}.fa-ils:before,.fa-shekel:before,.fa-sheqel:before{content:""}.fa-meanpath:before{content:""}.fa-buysellads:before{content:""}.fa-connectdevelop:before{content:""}.fa-dashcube:before{content:""}.fa-forumbee:before{content:""}.fa-leanpub:before{content:""}.fa-sellsy:before{content:""}.fa-shirtsinbulk:before{content:""}.fa-simplybuilt:before{content:""}.fa-skyatlas:before{content:""}.fa-cart-plus:before{content:""}.fa-cart-arrow-down:before{content:""}.fa-diamond:before{content:""}.fa-ship:before{content:""}.fa-user-secret:before{content:""}.fa-motorcycle:before{content:""}.fa-street-view:before{content:""}.fa-heartbeat:before{content:""}.fa-venus:before{content:""}.fa-mars:before{content:""}.fa-mercury:before{content:""}.fa-intersex:before,.fa-transgender:before{content:""}.fa-transgender-alt:before{content:""}.fa-venus-double:before{content:""}.fa-mars-double:before{content:""}.fa-venus-mars:before{content:""}.fa-mars-stroke:before{content:""}.fa-mars-stroke-v:before{content:""}.fa-mars-stroke-h:before{content:""}.fa-neuter:before{content:""}.fa-genderless:before{content:""}.fa-facebook-official:before{content:""}.fa-pinterest-p:before{content:""}.fa-whatsapp:before{content:""}.fa-server:before{content:""}.fa-user-plus:before{content:""}.fa-user-times:before{content:""}.fa-bed:before,.fa-hotel:before{content:""}.fa-viacoin:before{content:""}.fa-train:before{content:""}.fa-subway:before{content:""}.fa-medium:before{content:""}.fa-y-combinator:before,.fa-yc:before{content:""}.fa-optin-monster:before{content:""}.fa-opencart:before{content:""}.fa-expeditedssl:before{content:""}.fa-battery-4:before,.fa-battery-full:before,.fa-battery:before{content:""}.fa-battery-3:before,.fa-battery-three-quarters:before{content:""}.fa-battery-2:before,.fa-battery-half:before{content:""}.fa-battery-1:before,.fa-battery-quarter:before{content:""}.fa-battery-0:before,.fa-battery-empty:before{content:""}.fa-mouse-pointer:before{content:""}.fa-i-cursor:before{content:""}.fa-object-group:before{content:""}.fa-object-ungroup:before{content:""}.fa-sticky-note:before{content:""}.fa-sticky-note-o:before{content:""}.fa-cc-jcb:before{content:""}.fa-cc-diners-club:before{content:""}.fa-clone:before{content:""}.fa-balance-scale:before{content:""}.fa-hourglass-o:before{content:""}.fa-hourglass-1:before,.fa-hourglass-start:before{content:""}.fa-hourglass-2:before,.fa-hourglass-half:before{content:""}.fa-hourglass-3:before,.fa-hourglass-end:before{content:""}.fa-hourglass:before{content:""}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:""}.fa-hand-paper-o:before,.fa-hand-stop-o:before{content:""}.fa-hand-scissors-o:before{content:""}.fa-hand-lizard-o:before{content:""}.fa-hand-spock-o:before{content:""}.fa-hand-pointer-o:before{content:""}.fa-hand-peace-o:before{content:""}.fa-trademark:before{content:""}.fa-registered:before{content:""}.fa-creative-commons:before{content:""}.fa-gg:before{content:""}.fa-gg-circle:before{content:""}.fa-tripadvisor:before{content:""}.fa-odnoklassniki:before{content:""}.fa-odnoklassniki-square:before{content:""}.fa-get-pocket:before{content:""}.fa-wikipedia-w:before{content:""}.fa-safari:before{content:""}.fa-chrome:before{content:""}.fa-firefox:before{content:""}.fa-opera:before{content:""}.fa-internet-explorer:before{content:""}.fa-television:before,.fa-tv:before{content:""}.fa-contao:before{content:""}.fa-500px:before{content:""}.fa-amazon:before{content:""}.fa-calendar-plus-o:before{content:""}.fa-calendar-minus-o:before{content:""}.fa-calendar-times-o:before{content:""}.fa-calendar-check-o:before{content:""}.fa-industry:before{content:""}.fa-map-pin:before{content:""}.fa-map-signs:before{content:""}.fa-map-o:before{content:""}.fa-map:before{content:""}.fa-commenting:before{content:""}.fa-commenting-o:before{content:""}.fa-houzz:before{content:""}.fa-vimeo:before{content:""}.fa-black-tie:before{content:""}.fa-fonticons:before{content:""}.fa-reddit-alien:before{content:""}.fa-edge:before{content:""}.fa-credit-card-alt:before{content:""}.fa-codiepie:before{content:""}.fa-modx:before{content:""}.fa-fort-awesome:before{content:""}.fa-usb:before{content:""}.fa-product-hunt:before{content:""}.fa-mixcloud:before{content:""}.fa-scribd:before{content:""}.fa-pause-circle:before{content:""}.fa-pause-circle-o:before{content:""}.fa-stop-circle:before{content:""}.fa-stop-circle-o:before{content:""}.fa-shopping-bag:before{content:""}.fa-shopping-basket:before{content:""}.fa-hashtag:before{content:""}.fa-bluetooth:before{content:""}.fa-bluetooth-b:before{content:""}.fa-percent:before{content:""}.fa-gitlab:before,.icon-gitlab:before{content:""}.fa-wpbeginner:before{content:""}.fa-wpforms:before{content:""}.fa-envira:before{content:""}.fa-universal-access:before{content:""}.fa-wheelchair-alt:before{content:""}.fa-question-circle-o:before{content:""}.fa-blind:before{content:""}.fa-audio-description:before{content:""}.fa-volume-control-phone:before{content:""}.fa-braille:before{content:""}.fa-assistive-listening-systems:before{content:""}.fa-american-sign-language-interpreting:before,.fa-asl-interpreting:before{content:""}.fa-deaf:before,.fa-deafness:before,.fa-hard-of-hearing:before{content:""}.fa-glide:before{content:""}.fa-glide-g:before{content:""}.fa-sign-language:before,.fa-signing:before{content:""}.fa-low-vision:before{content:""}.fa-viadeo:before{content:""}.fa-viadeo-square:before{content:""}.fa-snapchat:before{content:""}.fa-snapchat-ghost:before{content:""}.fa-snapchat-square:before{content:""}.fa-pied-piper:before{content:""}.fa-first-order:before{content:""}.fa-yoast:before{content:""}.fa-themeisle:before{content:""}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:""}.fa-fa:before,.fa-font-awesome:before{content:""}.fa-handshake-o:before{content:""}.fa-envelope-open:before{content:""}.fa-envelope-open-o:before{content:""}.fa-linode:before{content:""}.fa-address-book:before{content:""}.fa-address-book-o:before{content:""}.fa-address-card:before,.fa-vcard:before{content:""}.fa-address-card-o:before,.fa-vcard-o:before{content:""}.fa-user-circle:before{content:""}.fa-user-circle-o:before{content:""}.fa-user-o:before{content:""}.fa-id-badge:before{content:""}.fa-drivers-license:before,.fa-id-card:before{content:""}.fa-drivers-license-o:before,.fa-id-card-o:before{content:""}.fa-quora:before{content:""}.fa-free-code-camp:before{content:""}.fa-telegram:before{content:""}.fa-thermometer-4:before,.fa-thermometer-full:before,.fa-thermometer:before{content:""}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:""}.fa-thermometer-2:before,.fa-thermometer-half:before{content:""}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:""}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:""}.fa-shower:before{content:""}.fa-bath:before,.fa-bathtub:before,.fa-s15:before{content:""}.fa-podcast:before{content:""}.fa-window-maximize:before{content:""}.fa-window-minimize:before{content:""}.fa-window-restore:before{content:""}.fa-times-rectangle:before,.fa-window-close:before{content:""}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:""}.fa-bandcamp:before{content:""}.fa-grav:before{content:""}.fa-etsy:before{content:""}.fa-imdb:before{content:""}.fa-ravelry:before{content:""}.fa-eercast:before{content:""}.fa-microchip:before{content:""}.fa-snowflake-o:before{content:""}.fa-superpowers:before{content:""}.fa-wpexplorer:before{content:""}.fa-meetup:before{content:""}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.fa,.icon,.rst-content .admonition-title,.rst-content .code-block-caption .headerlink,.rst-content .eqno .headerlink,.rst-content code.download span:first-child,.rst-content dl dt .headerlink,.rst-content h1 .headerlink,.rst-content h2 .headerlink,.rst-content h3 .headerlink,.rst-content h4 .headerlink,.rst-content h5 .headerlink,.rst-content h6 .headerlink,.rst-content p.caption .headerlink,.rst-content p .headerlink,.rst-content table>caption .headerlink,.rst-content tt.download span:first-child,.wy-dropdown .caret,.wy-inline-validate.wy-inline-validate-danger .wy-input-context,.wy-inline-validate.wy-inline-validate-info .wy-input-context,.wy-inline-validate.wy-inline-validate-success .wy-input-context,.wy-inline-validate.wy-inline-validate-warning .wy-input-context,.wy-menu-vertical li.current>a button.toctree-expand,.wy-menu-vertical li.on a button.toctree-expand,.wy-menu-vertical li button.toctree-expand{font-family:inherit}.fa:before,.icon:before,.rst-content .admonition-title:before,.rst-content .code-block-caption .headerlink:before,.rst-content .eqno .headerlink:before,.rst-content code.download span:first-child:before,.rst-content dl dt .headerlink:before,.rst-content h1 .headerlink:before,.rst-content h2 .headerlink:before,.rst-content h3 .headerlink:before,.rst-content h4 .headerlink:before,.rst-content h5 .headerlink:before,.rst-content h6 .headerlink:before,.rst-content p.caption .headerlink:before,.rst-content p .headerlink:before,.rst-content table>caption .headerlink:before,.rst-content tt.download span:first-child:before,.wy-dropdown .caret:before,.wy-inline-validate.wy-inline-validate-danger .wy-input-context:before,.wy-inline-validate.wy-inline-validate-info .wy-input-context:before,.wy-inline-validate.wy-inline-validate-success .wy-input-context:before,.wy-inline-validate.wy-inline-validate-warning .wy-input-context:before,.wy-menu-vertical li.current>a button.toctree-expand:before,.wy-menu-vertical li.on a button.toctree-expand:before,.wy-menu-vertical li button.toctree-expand:before{font-family:FontAwesome;display:inline-block;font-style:normal;font-weight:400;line-height:1;text-decoration:inherit}.rst-content .code-block-caption a .headerlink,.rst-content .eqno a .headerlink,.rst-content a .admonition-title,.rst-content code.download a span:first-child,.rst-content dl dt a .headerlink,.rst-content h1 a .headerlink,.rst-content h2 a .headerlink,.rst-content h3 a .headerlink,.rst-content h4 a .headerlink,.rst-content h5 a .headerlink,.rst-content h6 a .headerlink,.rst-content p.caption a .headerlink,.rst-content p a .headerlink,.rst-content table>caption a .headerlink,.rst-content tt.download a span:first-child,.wy-menu-vertical li.current>a button.toctree-expand,.wy-menu-vertical li.on a button.toctree-expand,.wy-menu-vertical li a button.toctree-expand,a .fa,a .icon,a .rst-content .admonition-title,a .rst-content .code-block-caption .headerlink,a .rst-content .eqno .headerlink,a .rst-content code.download span:first-child,a .rst-content dl dt .headerlink,a .rst-content h1 .headerlink,a .rst-content h2 .headerlink,a .rst-content h3 .headerlink,a .rst-content h4 .headerlink,a .rst-content h5 .headerlink,a .rst-content h6 .headerlink,a .rst-content p.caption .headerlink,a .rst-content p .headerlink,a .rst-content table>caption .headerlink,a .rst-content tt.download span:first-child,a .wy-menu-vertical li button.toctree-expand{display:inline-block;text-decoration:inherit}.btn .fa,.btn .icon,.btn .rst-content .admonition-title,.btn .rst-content .code-block-caption .headerlink,.btn .rst-content .eqno .headerlink,.btn .rst-content code.download span:first-child,.btn .rst-content dl dt .headerlink,.btn .rst-content h1 .headerlink,.btn .rst-content h2 .headerlink,.btn .rst-content h3 .headerlink,.btn .rst-content h4 .headerlink,.btn .rst-content h5 .headerlink,.btn .rst-content h6 .headerlink,.btn .rst-content p .headerlink,.btn .rst-content table>caption .headerlink,.btn .rst-content tt.download span:first-child,.btn .wy-menu-vertical li.current>a button.toctree-expand,.btn .wy-menu-vertical li.on a button.toctree-expand,.btn .wy-menu-vertical li button.toctree-expand,.nav .fa,.nav .icon,.nav .rst-content .admonition-title,.nav .rst-content .code-block-caption .headerlink,.nav .rst-content .eqno .headerlink,.nav .rst-content code.download span:first-child,.nav .rst-content dl dt .headerlink,.nav .rst-content h1 .headerlink,.nav .rst-content h2 .headerlink,.nav .rst-content h3 .headerlink,.nav .rst-content h4 .headerlink,.nav .rst-content h5 .headerlink,.nav .rst-content h6 .headerlink,.nav .rst-content p .headerlink,.nav .rst-content table>caption .headerlink,.nav .rst-content tt.download span:first-child,.nav .wy-menu-vertical li.current>a button.toctree-expand,.nav .wy-menu-vertical li.on a button.toctree-expand,.nav .wy-menu-vertical li button.toctree-expand,.rst-content .btn .admonition-title,.rst-content .code-block-caption .btn .headerlink,.rst-content .code-block-caption .nav .headerlink,.rst-content .eqno .btn .headerlink,.rst-content .eqno .nav .headerlink,.rst-content .nav .admonition-title,.rst-content code.download .btn span:first-child,.rst-content code.download .nav span:first-child,.rst-content dl dt .btn .headerlink,.rst-content dl dt .nav .headerlink,.rst-content h1 .btn .headerlink,.rst-content h1 .nav .headerlink,.rst-content h2 .btn .headerlink,.rst-content h2 .nav .headerlink,.rst-content h3 .btn .headerlink,.rst-content h3 .nav .headerlink,.rst-content h4 .btn .headerlink,.rst-content h4 .nav .headerlink,.rst-content h5 .btn .headerlink,.rst-content h5 .nav .headerlink,.rst-content h6 .btn .headerlink,.rst-content h6 .nav .headerlink,.rst-content p .btn .headerlink,.rst-content p .nav .headerlink,.rst-content table>caption .btn .headerlink,.rst-content table>caption .nav .headerlink,.rst-content tt.download .btn span:first-child,.rst-content tt.download .nav span:first-child,.wy-menu-vertical li .btn button.toctree-expand,.wy-menu-vertical li.current>a .btn button.toctree-expand,.wy-menu-vertical li.current>a .nav button.toctree-expand,.wy-menu-vertical li .nav button.toctree-expand,.wy-menu-vertical li.on a .btn button.toctree-expand,.wy-menu-vertical li.on a .nav button.toctree-expand{display:inline}.btn .fa-large.icon,.btn .fa.fa-large,.btn .rst-content .code-block-caption .fa-large.headerlink,.btn .rst-content .eqno .fa-large.headerlink,.btn .rst-content .fa-large.admonition-title,.btn .rst-content code.download span.fa-large:first-child,.btn .rst-content dl dt .fa-large.headerlink,.btn .rst-content h1 .fa-large.headerlink,.btn .rst-content h2 .fa-large.headerlink,.btn .rst-content h3 .fa-large.headerlink,.btn .rst-content h4 .fa-large.headerlink,.btn .rst-content h5 .fa-large.headerlink,.btn .rst-content h6 .fa-large.headerlink,.btn .rst-content p .fa-large.headerlink,.btn .rst-content table>caption .fa-large.headerlink,.btn .rst-content tt.download span.fa-large:first-child,.btn .wy-menu-vertical li button.fa-large.toctree-expand,.nav .fa-large.icon,.nav .fa.fa-large,.nav .rst-content .code-block-caption .fa-large.headerlink,.nav .rst-content .eqno .fa-large.headerlink,.nav .rst-content .fa-large.admonition-title,.nav .rst-content code.download span.fa-large:first-child,.nav .rst-content dl dt .fa-large.headerlink,.nav .rst-content h1 .fa-large.headerlink,.nav .rst-content h2 .fa-large.headerlink,.nav .rst-content h3 .fa-large.headerlink,.nav .rst-content h4 .fa-large.headerlink,.nav .rst-content h5 .fa-large.headerlink,.nav .rst-content h6 .fa-large.headerlink,.nav .rst-content p .fa-large.headerlink,.nav .rst-content table>caption .fa-large.headerlink,.nav .rst-content tt.download span.fa-large:first-child,.nav .wy-menu-vertical li button.fa-large.toctree-expand,.rst-content .btn .fa-large.admonition-title,.rst-content .code-block-caption .btn .fa-large.headerlink,.rst-content .code-block-caption .nav .fa-large.headerlink,.rst-content .eqno .btn .fa-large.headerlink,.rst-content .eqno .nav .fa-large.headerlink,.rst-content .nav .fa-large.admonition-title,.rst-content code.download .btn span.fa-large:first-child,.rst-content code.download .nav span.fa-large:first-child,.rst-content dl dt .btn .fa-large.headerlink,.rst-content dl dt .nav .fa-large.headerlink,.rst-content h1 .btn .fa-large.headerlink,.rst-content h1 .nav .fa-large.headerlink,.rst-content h2 .btn .fa-large.headerlink,.rst-content h2 .nav .fa-large.headerlink,.rst-content h3 .btn .fa-large.headerlink,.rst-content h3 .nav .fa-large.headerlink,.rst-content h4 .btn .fa-large.headerlink,.rst-content h4 .nav .fa-large.headerlink,.rst-content h5 .btn .fa-large.headerlink,.rst-content h5 .nav .fa-large.headerlink,.rst-content h6 .btn .fa-large.headerlink,.rst-content h6 .nav .fa-large.headerlink,.rst-content p .btn .fa-large.headerlink,.rst-content p .nav .fa-large.headerlink,.rst-content table>caption .btn .fa-large.headerlink,.rst-content table>caption .nav .fa-large.headerlink,.rst-content tt.download .btn span.fa-large:first-child,.rst-content tt.download .nav span.fa-large:first-child,.wy-menu-vertical li .btn button.fa-large.toctree-expand,.wy-menu-vertical li .nav button.fa-large.toctree-expand{line-height:.9em}.btn .fa-spin.icon,.btn .fa.fa-spin,.btn .rst-content .code-block-caption .fa-spin.headerlink,.btn .rst-content .eqno .fa-spin.headerlink,.btn .rst-content .fa-spin.admonition-title,.btn .rst-content code.download span.fa-spin:first-child,.btn .rst-content dl dt .fa-spin.headerlink,.btn .rst-content h1 .fa-spin.headerlink,.btn .rst-content h2 .fa-spin.headerlink,.btn .rst-content h3 .fa-spin.headerlink,.btn .rst-content h4 .fa-spin.headerlink,.btn .rst-content h5 .fa-spin.headerlink,.btn .rst-content h6 .fa-spin.headerlink,.btn .rst-content p .fa-spin.headerlink,.btn .rst-content table>caption .fa-spin.headerlink,.btn .rst-content tt.download span.fa-spin:first-child,.btn .wy-menu-vertical li button.fa-spin.toctree-expand,.nav .fa-spin.icon,.nav .fa.fa-spin,.nav .rst-content .code-block-caption .fa-spin.headerlink,.nav .rst-content .eqno .fa-spin.headerlink,.nav .rst-content .fa-spin.admonition-title,.nav .rst-content code.download span.fa-spin:first-child,.nav .rst-content dl dt .fa-spin.headerlink,.nav .rst-content h1 .fa-spin.headerlink,.nav .rst-content h2 .fa-spin.headerlink,.nav .rst-content h3 .fa-spin.headerlink,.nav .rst-content h4 .fa-spin.headerlink,.nav .rst-content h5 .fa-spin.headerlink,.nav .rst-content h6 .fa-spin.headerlink,.nav .rst-content p .fa-spin.headerlink,.nav .rst-content table>caption .fa-spin.headerlink,.nav .rst-content tt.download span.fa-spin:first-child,.nav .wy-menu-vertical li button.fa-spin.toctree-expand,.rst-content .btn .fa-spin.admonition-title,.rst-content .code-block-caption .btn .fa-spin.headerlink,.rst-content .code-block-caption .nav .fa-spin.headerlink,.rst-content .eqno .btn .fa-spin.headerlink,.rst-content .eqno .nav .fa-spin.headerlink,.rst-content .nav .fa-spin.admonition-title,.rst-content code.download .btn span.fa-spin:first-child,.rst-content code.download .nav span.fa-spin:first-child,.rst-content dl dt .btn .fa-spin.headerlink,.rst-content dl dt .nav .fa-spin.headerlink,.rst-content h1 .btn .fa-spin.headerlink,.rst-content h1 .nav .fa-spin.headerlink,.rst-content h2 .btn .fa-spin.headerlink,.rst-content h2 .nav .fa-spin.headerlink,.rst-content h3 .btn .fa-spin.headerlink,.rst-content h3 .nav .fa-spin.headerlink,.rst-content h4 .btn .fa-spin.headerlink,.rst-content h4 .nav .fa-spin.headerlink,.rst-content h5 .btn .fa-spin.headerlink,.rst-content h5 .nav .fa-spin.headerlink,.rst-content h6 .btn .fa-spin.headerlink,.rst-content h6 .nav .fa-spin.headerlink,.rst-content p .btn .fa-spin.headerlink,.rst-content p .nav .fa-spin.headerlink,.rst-content table>caption .btn .fa-spin.headerlink,.rst-content table>caption .nav .fa-spin.headerlink,.rst-content tt.download .btn span.fa-spin:first-child,.rst-content tt.download .nav span.fa-spin:first-child,.wy-menu-vertical li .btn button.fa-spin.toctree-expand,.wy-menu-vertical li .nav button.fa-spin.toctree-expand{display:inline-block}.btn.fa:before,.btn.icon:before,.rst-content .btn.admonition-title:before,.rst-content .code-block-caption .btn.headerlink:before,.rst-content .eqno .btn.headerlink:before,.rst-content code.download span.btn:first-child:before,.rst-content dl dt .btn.headerlink:before,.rst-content h1 .btn.headerlink:before,.rst-content h2 .btn.headerlink:before,.rst-content h3 .btn.headerlink:before,.rst-content h4 .btn.headerlink:before,.rst-content h5 .btn.headerlink:before,.rst-content h6 .btn.headerlink:before,.rst-content p .btn.headerlink:before,.rst-content table>caption .btn.headerlink:before,.rst-content tt.download span.btn:first-child:before,.wy-menu-vertical li button.btn.toctree-expand:before{opacity:.5;-webkit-transition:opacity .05s ease-in;-moz-transition:opacity .05s ease-in;transition:opacity .05s ease-in}.btn.fa:hover:before,.btn.icon:hover:before,.rst-content .btn.admonition-title:hover:before,.rst-content .code-block-caption .btn.headerlink:hover:before,.rst-content .eqno .btn.headerlink:hover:before,.rst-content code.download span.btn:first-child:hover:before,.rst-content dl dt .btn.headerlink:hover:before,.rst-content h1 .btn.headerlink:hover:before,.rst-content h2 .btn.headerlink:hover:before,.rst-content h3 .btn.headerlink:hover:before,.rst-content h4 .btn.headerlink:hover:before,.rst-content h5 .btn.headerlink:hover:before,.rst-content h6 .btn.headerlink:hover:before,.rst-content p .btn.headerlink:hover:before,.rst-content table>caption .btn.headerlink:hover:before,.rst-content tt.download span.btn:first-child:hover:before,.wy-menu-vertical li button.btn.toctree-expand:hover:before{opacity:1}.btn-mini .fa:before,.btn-mini .icon:before,.btn-mini .rst-content .admonition-title:before,.btn-mini .rst-content .code-block-caption .headerlink:before,.btn-mini .rst-content .eqno .headerlink:before,.btn-mini .rst-content code.download span:first-child:before,.btn-mini .rst-content dl dt .headerlink:before,.btn-mini .rst-content h1 .headerlink:before,.btn-mini .rst-content h2 .headerlink:before,.btn-mini .rst-content h3 .headerlink:before,.btn-mini .rst-content h4 .headerlink:before,.btn-mini .rst-content h5 .headerlink:before,.btn-mini .rst-content h6 .headerlink:before,.btn-mini .rst-content p .headerlink:before,.btn-mini .rst-content table>caption .headerlink:before,.btn-mini .rst-content tt.download span:first-child:before,.btn-mini .wy-menu-vertical li button.toctree-expand:before,.rst-content .btn-mini .admonition-title:before,.rst-content .code-block-caption .btn-mini .headerlink:before,.rst-content .eqno .btn-mini .headerlink:before,.rst-content code.download .btn-mini span:first-child:before,.rst-content dl dt .btn-mini .headerlink:before,.rst-content h1 .btn-mini .headerlink:before,.rst-content h2 .btn-mini .headerlink:before,.rst-content h3 .btn-mini .headerlink:before,.rst-content h4 .btn-mini .headerlink:before,.rst-content h5 .btn-mini .headerlink:before,.rst-content h6 .btn-mini .headerlink:before,.rst-content p .btn-mini .headerlink:before,.rst-content table>caption .btn-mini .headerlink:before,.rst-content tt.download .btn-mini span:first-child:before,.wy-menu-vertical li .btn-mini button.toctree-expand:before{font-size:14px;vertical-align:-15%}.rst-content .admonition,.rst-content .admonition-todo,.rst-content .attention,.rst-content .caution,.rst-content .danger,.rst-content .error,.rst-content .hint,.rst-content .important,.rst-content .note,.rst-content .seealso,.rst-content .tip,.rst-content .warning,.wy-alert{padding:12px;line-height:24px;margin-bottom:24px;background:#e7f2fa}.rst-content .admonition-title,.wy-alert-title{font-weight:700;display:block;color:#fff;background:#6ab0de;padding:6px 12px;margin:-12px -12px 12px}.rst-content .danger,.rst-content .error,.rst-content .wy-alert-danger.admonition,.rst-content .wy-alert-danger.admonition-todo,.rst-content .wy-alert-danger.attention,.rst-content .wy-alert-danger.caution,.rst-content .wy-alert-danger.hint,.rst-content .wy-alert-danger.important,.rst-content .wy-alert-danger.note,.rst-content .wy-alert-danger.seealso,.rst-content .wy-alert-danger.tip,.rst-content .wy-alert-danger.warning,.wy-alert.wy-alert-danger{background:#fdf3f2}.rst-content .danger .admonition-title,.rst-content .danger .wy-alert-title,.rst-content .error .admonition-title,.rst-content .error .wy-alert-title,.rst-content .wy-alert-danger.admonition-todo .admonition-title,.rst-content .wy-alert-danger.admonition-todo .wy-alert-title,.rst-content .wy-alert-danger.admonition .admonition-title,.rst-content .wy-alert-danger.admonition .wy-alert-title,.rst-content .wy-alert-danger.attention .admonition-title,.rst-content .wy-alert-danger.attention .wy-alert-title,.rst-content .wy-alert-danger.caution .admonition-title,.rst-content .wy-alert-danger.caution .wy-alert-title,.rst-content .wy-alert-danger.hint .admonition-title,.rst-content .wy-alert-danger.hint .wy-alert-title,.rst-content .wy-alert-danger.important .admonition-title,.rst-content .wy-alert-danger.important .wy-alert-title,.rst-content .wy-alert-danger.note .admonition-title,.rst-content .wy-alert-danger.note .wy-alert-title,.rst-content .wy-alert-danger.seealso .admonition-title,.rst-content .wy-alert-danger.seealso .wy-alert-title,.rst-content .wy-alert-danger.tip .admonition-title,.rst-content .wy-alert-danger.tip .wy-alert-title,.rst-content .wy-alert-danger.warning .admonition-title,.rst-content .wy-alert-danger.warning .wy-alert-title,.rst-content .wy-alert.wy-alert-danger .admonition-title,.wy-alert.wy-alert-danger .rst-content .admonition-title,.wy-alert.wy-alert-danger .wy-alert-title{background:#f29f97}.rst-content .admonition-todo,.rst-content .attention,.rst-content .caution,.rst-content .warning,.rst-content .wy-alert-warning.admonition,.rst-content .wy-alert-warning.danger,.rst-content .wy-alert-warning.error,.rst-content .wy-alert-warning.hint,.rst-content .wy-alert-warning.important,.rst-content .wy-alert-warning.note,.rst-content .wy-alert-warning.seealso,.rst-content .wy-alert-warning.tip,.wy-alert.wy-alert-warning{background:#ffedcc}.rst-content .admonition-todo .admonition-title,.rst-content .admonition-todo .wy-alert-title,.rst-content .attention .admonition-title,.rst-content .attention .wy-alert-title,.rst-content .caution .admonition-title,.rst-content .caution .wy-alert-title,.rst-content .warning .admonition-title,.rst-content .warning .wy-alert-title,.rst-content .wy-alert-warning.admonition .admonition-title,.rst-content .wy-alert-warning.admonition .wy-alert-title,.rst-content .wy-alert-warning.danger .admonition-title,.rst-content .wy-alert-warning.danger .wy-alert-title,.rst-content .wy-alert-warning.error .admonition-title,.rst-content .wy-alert-warning.error .wy-alert-title,.rst-content .wy-alert-warning.hint .admonition-title,.rst-content .wy-alert-warning.hint .wy-alert-title,.rst-content .wy-alert-warning.important .admonition-title,.rst-content .wy-alert-warning.important .wy-alert-title,.rst-content .wy-alert-warning.note .admonition-title,.rst-content .wy-alert-warning.note .wy-alert-title,.rst-content .wy-alert-warning.seealso .admonition-title,.rst-content .wy-alert-warning.seealso .wy-alert-title,.rst-content .wy-alert-warning.tip .admonition-title,.rst-content .wy-alert-warning.tip .wy-alert-title,.rst-content .wy-alert.wy-alert-warning .admonition-title,.wy-alert.wy-alert-warning .rst-content .admonition-title,.wy-alert.wy-alert-warning .wy-alert-title{background:#f0b37e}.rst-content .note,.rst-content .seealso,.rst-content .wy-alert-info.admonition,.rst-content .wy-alert-info.admonition-todo,.rst-content .wy-alert-info.attention,.rst-content .wy-alert-info.caution,.rst-content .wy-alert-info.danger,.rst-content .wy-alert-info.error,.rst-content .wy-alert-info.hint,.rst-content .wy-alert-info.important,.rst-content .wy-alert-info.tip,.rst-content .wy-alert-info.warning,.wy-alert.wy-alert-info{background:#e7f2fa}.rst-content .note .admonition-title,.rst-content .note .wy-alert-title,.rst-content .seealso .admonition-title,.rst-content .seealso .wy-alert-title,.rst-content .wy-alert-info.admonition-todo .admonition-title,.rst-content .wy-alert-info.admonition-todo .wy-alert-title,.rst-content .wy-alert-info.admonition .admonition-title,.rst-content .wy-alert-info.admonition .wy-alert-title,.rst-content .wy-alert-info.attention .admonition-title,.rst-content .wy-alert-info.attention .wy-alert-title,.rst-content .wy-alert-info.caution .admonition-title,.rst-content .wy-alert-info.caution .wy-alert-title,.rst-content .wy-alert-info.danger .admonition-title,.rst-content .wy-alert-info.danger .wy-alert-title,.rst-content .wy-alert-info.error .admonition-title,.rst-content .wy-alert-info.error .wy-alert-title,.rst-content .wy-alert-info.hint .admonition-title,.rst-content .wy-alert-info.hint .wy-alert-title,.rst-content .wy-alert-info.important .admonition-title,.rst-content .wy-alert-info.important .wy-alert-title,.rst-content .wy-alert-info.tip .admonition-title,.rst-content .wy-alert-info.tip .wy-alert-title,.rst-content .wy-alert-info.warning .admonition-title,.rst-content .wy-alert-info.warning .wy-alert-title,.rst-content .wy-alert.wy-alert-info .admonition-title,.wy-alert.wy-alert-info .rst-content .admonition-title,.wy-alert.wy-alert-info .wy-alert-title{background:#6ab0de}.rst-content .hint,.rst-content .important,.rst-content .tip,.rst-content .wy-alert-success.admonition,.rst-content .wy-alert-success.admonition-todo,.rst-content .wy-alert-success.attention,.rst-content .wy-alert-success.caution,.rst-content .wy-alert-success.danger,.rst-content .wy-alert-success.error,.rst-content .wy-alert-success.note,.rst-content .wy-alert-success.seealso,.rst-content .wy-alert-success.warning,.wy-alert.wy-alert-success{background:#dbfaf4}.rst-content .hint .admonition-title,.rst-content .hint .wy-alert-title,.rst-content .important .admonition-title,.rst-content .important .wy-alert-title,.rst-content .tip .admonition-title,.rst-content .tip .wy-alert-title,.rst-content .wy-alert-success.admonition-todo .admonition-title,.rst-content .wy-alert-success.admonition-todo .wy-alert-title,.rst-content .wy-alert-success.admonition .admonition-title,.rst-content .wy-alert-success.admonition .wy-alert-title,.rst-content .wy-alert-success.attention .admonition-title,.rst-content .wy-alert-success.attention .wy-alert-title,.rst-content .wy-alert-success.caution .admonition-title,.rst-content .wy-alert-success.caution .wy-alert-title,.rst-content .wy-alert-success.danger .admonition-title,.rst-content .wy-alert-success.danger .wy-alert-title,.rst-content .wy-alert-success.error .admonition-title,.rst-content .wy-alert-success.error .wy-alert-title,.rst-content .wy-alert-success.note .admonition-title,.rst-content .wy-alert-success.note .wy-alert-title,.rst-content .wy-alert-success.seealso .admonition-title,.rst-content .wy-alert-success.seealso .wy-alert-title,.rst-content .wy-alert-success.warning .admonition-title,.rst-content .wy-alert-success.warning .wy-alert-title,.rst-content .wy-alert.wy-alert-success .admonition-title,.wy-alert.wy-alert-success .rst-content .admonition-title,.wy-alert.wy-alert-success .wy-alert-title{background:#1abc9c}.rst-content .wy-alert-neutral.admonition,.rst-content .wy-alert-neutral.admonition-todo,.rst-content .wy-alert-neutral.attention,.rst-content .wy-alert-neutral.caution,.rst-content .wy-alert-neutral.danger,.rst-content .wy-alert-neutral.error,.rst-content .wy-alert-neutral.hint,.rst-content .wy-alert-neutral.important,.rst-content .wy-alert-neutral.note,.rst-content .wy-alert-neutral.seealso,.rst-content .wy-alert-neutral.tip,.rst-content .wy-alert-neutral.warning,.wy-alert.wy-alert-neutral{background:#f3f6f6}.rst-content .wy-alert-neutral.admonition-todo .admonition-title,.rst-content .wy-alert-neutral.admonition-todo .wy-alert-title,.rst-content .wy-alert-neutral.admonition .admonition-title,.rst-content .wy-alert-neutral.admonition .wy-alert-title,.rst-content .wy-alert-neutral.attention .admonition-title,.rst-content .wy-alert-neutral.attention .wy-alert-title,.rst-content .wy-alert-neutral.caution .admonition-title,.rst-content .wy-alert-neutral.caution .wy-alert-title,.rst-content .wy-alert-neutral.danger .admonition-title,.rst-content .wy-alert-neutral.danger .wy-alert-title,.rst-content .wy-alert-neutral.error .admonition-title,.rst-content .wy-alert-neutral.error .wy-alert-title,.rst-content .wy-alert-neutral.hint .admonition-title,.rst-content .wy-alert-neutral.hint .wy-alert-title,.rst-content .wy-alert-neutral.important .admonition-title,.rst-content .wy-alert-neutral.important .wy-alert-title,.rst-content .wy-alert-neutral.note .admonition-title,.rst-content .wy-alert-neutral.note .wy-alert-title,.rst-content .wy-alert-neutral.seealso .admonition-title,.rst-content .wy-alert-neutral.seealso .wy-alert-title,.rst-content .wy-alert-neutral.tip .admonition-title,.rst-content .wy-alert-neutral.tip .wy-alert-title,.rst-content .wy-alert-neutral.warning .admonition-title,.rst-content .wy-alert-neutral.warning .wy-alert-title,.rst-content .wy-alert.wy-alert-neutral .admonition-title,.wy-alert.wy-alert-neutral .rst-content .admonition-title,.wy-alert.wy-alert-neutral .wy-alert-title{color:#404040;background:#e1e4e5}.rst-content .wy-alert-neutral.admonition-todo a,.rst-content .wy-alert-neutral.admonition a,.rst-content .wy-alert-neutral.attention a,.rst-content .wy-alert-neutral.caution a,.rst-content .wy-alert-neutral.danger a,.rst-content .wy-alert-neutral.error a,.rst-content .wy-alert-neutral.hint a,.rst-content .wy-alert-neutral.important a,.rst-content .wy-alert-neutral.note a,.rst-content .wy-alert-neutral.seealso a,.rst-content .wy-alert-neutral.tip a,.rst-content .wy-alert-neutral.warning a,.wy-alert.wy-alert-neutral a{color:#2980b9}.rst-content .admonition-todo p:last-child,.rst-content .admonition p:last-child,.rst-content .attention p:last-child,.rst-content .caution p:last-child,.rst-content .danger p:last-child,.rst-content .error p:last-child,.rst-content .hint p:last-child,.rst-content .important p:last-child,.rst-content .note p:last-child,.rst-content .seealso p:last-child,.rst-content .tip p:last-child,.rst-content .warning p:last-child,.wy-alert p:last-child{margin-bottom:0}.wy-tray-container{position:fixed;bottom:0;left:0;z-index:600}.wy-tray-container li{display:block;width:300px;background:transparent;color:#fff;text-align:center;box-shadow:0 5px 5px 0 rgba(0,0,0,.1);padding:0 24px;min-width:20%;opacity:0;height:0;line-height:56px;overflow:hidden;-webkit-transition:all .3s ease-in;-moz-transition:all .3s ease-in;transition:all .3s ease-in}.wy-tray-container li.wy-tray-item-success{background:#27ae60}.wy-tray-container li.wy-tray-item-info{background:#2980b9}.wy-tray-container li.wy-tray-item-warning{background:#e67e22}.wy-tray-container li.wy-tray-item-danger{background:#e74c3c}.wy-tray-container li.on{opacity:1;height:56px}@media screen and (max-width:768px){.wy-tray-container{bottom:auto;top:0;width:100%}.wy-tray-container li{width:100%}}button{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle;cursor:pointer;line-height:normal;-webkit-appearance:button;*overflow:visible}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}button[disabled]{cursor:default}.btn{display:inline-block;border-radius:2px;line-height:normal;white-space:nowrap;text-align:center;cursor:pointer;font-size:100%;padding:6px 12px 8px;color:#fff;border:1px solid rgba(0,0,0,.1);background-color:#27ae60;text-decoration:none;font-weight:400;font-family:Lato,proxima-nova,Helvetica Neue,Arial,sans-serif;box-shadow:inset 0 1px 2px -1px hsla(0,0%,100%,.5),inset 0 -2px 0 0 rgba(0,0,0,.1);outline-none:false;vertical-align:middle;*display:inline;zoom:1;-webkit-user-drag:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transition:all .1s linear;-moz-transition:all .1s linear;transition:all .1s linear}.btn-hover{background:#2e8ece;color:#fff}.btn:hover{background:#2cc36b;color:#fff}.btn:focus{background:#2cc36b;outline:0}.btn:active{box-shadow:inset 0 -1px 0 0 rgba(0,0,0,.05),inset 0 2px 0 0 rgba(0,0,0,.1);padding:8px 12px 6px}.btn:visited{color:#fff}.btn-disabled,.btn-disabled:active,.btn-disabled:focus,.btn-disabled:hover,.btn:disabled{background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);filter:alpha(opacity=40);opacity:.4;cursor:not-allowed;box-shadow:none}.btn::-moz-focus-inner{padding:0;border:0}.btn-small{font-size:80%}.btn-info{background-color:#2980b9!important}.btn-info:hover{background-color:#2e8ece!important}.btn-neutral{background-color:#f3f6f6!important;color:#404040!important}.btn-neutral:hover{background-color:#e5ebeb!important;color:#404040}.btn-neutral:visited{color:#404040!important}.btn-success{background-color:#27ae60!important}.btn-success:hover{background-color:#295!important}.btn-danger{background-color:#e74c3c!important}.btn-danger:hover{background-color:#ea6153!important}.btn-warning{background-color:#e67e22!important}.btn-warning:hover{background-color:#e98b39!important}.btn-invert{background-color:#222}.btn-invert:hover{background-color:#2f2f2f!important}.btn-link{background-color:transparent!important;color:#2980b9;box-shadow:none;border-color:transparent!important}.btn-link:active,.btn-link:hover{background-color:transparent!important;color:#409ad5!important;box-shadow:none}.btn-link:visited{color:#9b59b6}.wy-btn-group .btn,.wy-control .btn{vertical-align:middle}.wy-btn-group{margin-bottom:24px;*zoom:1}.wy-btn-group:after,.wy-btn-group:before{display:table;content:""}.wy-btn-group:after{clear:both}.wy-dropdown{position:relative;display:inline-block}.wy-dropdown-active .wy-dropdown-menu{display:block}.wy-dropdown-menu{position:absolute;left:0;display:none;float:left;top:100%;min-width:100%;background:#fcfcfc;z-index:100;border:1px solid #cfd7dd;box-shadow:0 2px 2px 0 rgba(0,0,0,.1);padding:12px}.wy-dropdown-menu>dd>a{display:block;clear:both;color:#404040;white-space:nowrap;font-size:90%;padding:0 12px;cursor:pointer}.wy-dropdown-menu>dd>a:hover{background:#2980b9;color:#fff}.wy-dropdown-menu>dd.divider{border-top:1px solid #cfd7dd;margin:6px 0}.wy-dropdown-menu>dd.search{padding-bottom:12px}.wy-dropdown-menu>dd.search input[type=search]{width:100%}.wy-dropdown-menu>dd.call-to-action{background:#e3e3e3;text-transform:uppercase;font-weight:500;font-size:80%}.wy-dropdown-menu>dd.call-to-action:hover{background:#e3e3e3}.wy-dropdown-menu>dd.call-to-action .btn{color:#fff}.wy-dropdown.wy-dropdown-up .wy-dropdown-menu{bottom:100%;top:auto;left:auto;right:0}.wy-dropdown.wy-dropdown-bubble .wy-dropdown-menu{background:#fcfcfc;margin-top:2px}.wy-dropdown.wy-dropdown-bubble .wy-dropdown-menu a{padding:6px 12px}.wy-dropdown.wy-dropdown-bubble .wy-dropdown-menu a:hover{background:#2980b9;color:#fff}.wy-dropdown.wy-dropdown-left .wy-dropdown-menu{right:0;left:auto;text-align:right}.wy-dropdown-arrow:before{content:" ";border-bottom:5px solid #f5f5f5;border-left:5px solid transparent;border-right:5px solid transparent;position:absolute;display:block;top:-4px;left:50%;margin-left:-3px}.wy-dropdown-arrow.wy-dropdown-arrow-left:before{left:11px}.wy-form-stacked select{display:block}.wy-form-aligned .wy-help-inline,.wy-form-aligned input,.wy-form-aligned label,.wy-form-aligned select,.wy-form-aligned textarea{display:inline-block;*display:inline;*zoom:1;vertical-align:middle}.wy-form-aligned .wy-control-group>label{display:inline-block;vertical-align:middle;width:10em;margin:6px 12px 0 0;float:left}.wy-form-aligned .wy-control{float:left}.wy-form-aligned .wy-control label{display:block}.wy-form-aligned .wy-control select{margin-top:6px}fieldset{margin:0}fieldset,legend{border:0;padding:0}legend{width:100%;white-space:normal;margin-bottom:24px;font-size:150%;*margin-left:-7px}label,legend{display:block}label{margin:0 0 .3125em;color:#333;font-size:90%}input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}.wy-control-group{margin-bottom:24px;max-width:1200px;margin-left:auto;margin-right:auto;*zoom:1}.wy-control-group:after,.wy-control-group:before{display:table;content:""}.wy-control-group:after{clear:both}.wy-control-group.wy-control-group-required>label:after{content:" *";color:#e74c3c}.wy-control-group .wy-form-full,.wy-control-group .wy-form-halves,.wy-control-group .wy-form-thirds{padding-bottom:12px}.wy-control-group .wy-form-full input[type=color],.wy-control-group .wy-form-full input[type=date],.wy-control-group .wy-form-full input[type=datetime-local],.wy-control-group .wy-form-full input[type=datetime],.wy-control-group .wy-form-full input[type=email],.wy-control-group .wy-form-full input[type=month],.wy-control-group .wy-form-full input[type=number],.wy-control-group .wy-form-full input[type=password],.wy-control-group .wy-form-full input[type=search],.wy-control-group .wy-form-full input[type=tel],.wy-control-group .wy-form-full input[type=text],.wy-control-group .wy-form-full input[type=time],.wy-control-group .wy-form-full input[type=url],.wy-control-group .wy-form-full input[type=week],.wy-control-group .wy-form-full select,.wy-control-group .wy-form-halves input[type=color],.wy-control-group .wy-form-halves input[type=date],.wy-control-group .wy-form-halves input[type=datetime-local],.wy-control-group .wy-form-halves input[type=datetime],.wy-control-group .wy-form-halves input[type=email],.wy-control-group .wy-form-halves input[type=month],.wy-control-group .wy-form-halves input[type=number],.wy-control-group .wy-form-halves input[type=password],.wy-control-group .wy-form-halves input[type=search],.wy-control-group .wy-form-halves input[type=tel],.wy-control-group .wy-form-halves input[type=text],.wy-control-group .wy-form-halves input[type=time],.wy-control-group .wy-form-halves input[type=url],.wy-control-group .wy-form-halves input[type=week],.wy-control-group .wy-form-halves select,.wy-control-group .wy-form-thirds input[type=color],.wy-control-group .wy-form-thirds input[type=date],.wy-control-group .wy-form-thirds input[type=datetime-local],.wy-control-group .wy-form-thirds input[type=datetime],.wy-control-group .wy-form-thirds input[type=email],.wy-control-group .wy-form-thirds input[type=month],.wy-control-group .wy-form-thirds input[type=number],.wy-control-group .wy-form-thirds input[type=password],.wy-control-group .wy-form-thirds input[type=search],.wy-control-group .wy-form-thirds input[type=tel],.wy-control-group .wy-form-thirds input[type=text],.wy-control-group .wy-form-thirds input[type=time],.wy-control-group .wy-form-thirds input[type=url],.wy-control-group .wy-form-thirds input[type=week],.wy-control-group .wy-form-thirds select{width:100%}.wy-control-group .wy-form-full{float:left;display:block;width:100%;margin-right:0}.wy-control-group .wy-form-full:last-child{margin-right:0}.wy-control-group .wy-form-halves{float:left;display:block;margin-right:2.35765%;width:48.82117%}.wy-control-group .wy-form-halves:last-child,.wy-control-group .wy-form-halves:nth-of-type(2n){margin-right:0}.wy-control-group .wy-form-halves:nth-of-type(odd){clear:left}.wy-control-group .wy-form-thirds{float:left;display:block;margin-right:2.35765%;width:31.76157%}.wy-control-group .wy-form-thirds:last-child,.wy-control-group .wy-form-thirds:nth-of-type(3n){margin-right:0}.wy-control-group .wy-form-thirds:nth-of-type(3n+1){clear:left}.wy-control-group.wy-control-group-no-input .wy-control,.wy-control-no-input{margin:6px 0 0;font-size:90%}.wy-control-no-input{display:inline-block}.wy-control-group.fluid-input input[type=color],.wy-control-group.fluid-input input[type=date],.wy-control-group.fluid-input input[type=datetime-local],.wy-control-group.fluid-input input[type=datetime],.wy-control-group.fluid-input input[type=email],.wy-control-group.fluid-input input[type=month],.wy-control-group.fluid-input input[type=number],.wy-control-group.fluid-input input[type=password],.wy-control-group.fluid-input input[type=search],.wy-control-group.fluid-input input[type=tel],.wy-control-group.fluid-input input[type=text],.wy-control-group.fluid-input input[type=time],.wy-control-group.fluid-input input[type=url],.wy-control-group.fluid-input input[type=week]{width:100%}.wy-form-message-inline{padding-left:.3em;color:#666;font-size:90%}.wy-form-message{display:block;color:#999;font-size:70%;margin-top:.3125em;font-style:italic}.wy-form-message p{font-size:inherit;font-style:italic;margin-bottom:6px}.wy-form-message p:last-child{margin-bottom:0}input{line-height:normal}input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer;font-family:Lato,proxima-nova,Helvetica Neue,Arial,sans-serif;*overflow:visible}input[type=color],input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week]{-webkit-appearance:none;padding:6px;display:inline-block;border:1px solid #ccc;font-size:80%;font-family:Lato,proxima-nova,Helvetica Neue,Arial,sans-serif;box-shadow:inset 0 1px 3px #ddd;border-radius:0;-webkit-transition:border .3s linear;-moz-transition:border .3s linear;transition:border .3s linear}input[type=datetime-local]{padding:.34375em .625em}input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{padding:0;margin-right:.3125em;*height:13px;*width:13px}input[type=checkbox],input[type=radio],input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus{outline:0;outline:thin dotted\9;border-color:#333}input.no-focus:focus{border-color:#ccc!important}input[type=checkbox]:focus,input[type=file]:focus,input[type=radio]:focus{outline:thin dotted #333;outline:1px auto #129fea}input[type=color][disabled],input[type=date][disabled],input[type=datetime-local][disabled],input[type=datetime][disabled],input[type=email][disabled],input[type=month][disabled],input[type=number][disabled],input[type=password][disabled],input[type=search][disabled],input[type=tel][disabled],input[type=text][disabled],input[type=time][disabled],input[type=url][disabled],input[type=week][disabled]{cursor:not-allowed;background-color:#fafafa}input:focus:invalid,select:focus:invalid,textarea:focus:invalid{color:#e74c3c;border:1px solid #e74c3c}input:focus:invalid:focus,select:focus:invalid:focus,textarea:focus:invalid:focus{border-color:#e74c3c}input[type=checkbox]:focus:invalid:focus,input[type=file]:focus:invalid:focus,input[type=radio]:focus:invalid:focus{outline-color:#e74c3c}input.wy-input-large{padding:12px;font-size:100%}textarea{overflow:auto;vertical-align:top;width:100%;font-family:Lato,proxima-nova,Helvetica Neue,Arial,sans-serif}select,textarea{padding:.5em .625em;display:inline-block;border:1px solid #ccc;font-size:80%;box-shadow:inset 0 1px 3px #ddd;-webkit-transition:border .3s linear;-moz-transition:border .3s linear;transition:border .3s linear}select{border:1px solid #ccc;background-color:#fff}select[multiple]{height:auto}select:focus,textarea:focus{outline:0}input[readonly],select[disabled],select[readonly],textarea[disabled],textarea[readonly]{cursor:not-allowed;background-color:#fafafa}input[type=checkbox][disabled],input[type=radio][disabled]{cursor:not-allowed}.wy-checkbox,.wy-radio{margin:6px 0;color:#404040;display:block}.wy-checkbox input,.wy-radio input{vertical-align:baseline}.wy-form-message-inline{display:inline-block;*display:inline;*zoom:1;vertical-align:middle}.wy-input-prefix,.wy-input-suffix{white-space:nowrap;padding:6px}.wy-input-prefix .wy-input-context,.wy-input-suffix .wy-input-context{line-height:27px;padding:0 8px;display:inline-block;font-size:80%;background-color:#f3f6f6;border:1px solid #ccc;color:#999}.wy-input-suffix .wy-input-context{border-left:0}.wy-input-prefix .wy-input-context{border-right:0}.wy-switch{position:relative;display:block;height:24px;margin-top:12px;cursor:pointer}.wy-switch:before{left:0;top:0;width:36px;height:12px;background:#ccc}.wy-switch:after,.wy-switch:before{position:absolute;content:"";display:block;border-radius:4px;-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.wy-switch:after{width:18px;height:18px;background:#999;left:-3px;top:-3px}.wy-switch span{position:absolute;left:48px;display:block;font-size:12px;color:#ccc;line-height:1}.wy-switch.active:before{background:#1e8449}.wy-switch.active:after{left:24px;background:#27ae60}.wy-switch.disabled{cursor:not-allowed;opacity:.8}.wy-control-group.wy-control-group-error .wy-form-message,.wy-control-group.wy-control-group-error>label{color:#e74c3c}.wy-control-group.wy-control-group-error input[type=color],.wy-control-group.wy-control-group-error input[type=date],.wy-control-group.wy-control-group-error input[type=datetime-local],.wy-control-group.wy-control-group-error input[type=datetime],.wy-control-group.wy-control-group-error input[type=email],.wy-control-group.wy-control-group-error input[type=month],.wy-control-group.wy-control-group-error input[type=number],.wy-control-group.wy-control-group-error input[type=password],.wy-control-group.wy-control-group-error input[type=search],.wy-control-group.wy-control-group-error input[type=tel],.wy-control-group.wy-control-group-error input[type=text],.wy-control-group.wy-control-group-error input[type=time],.wy-control-group.wy-control-group-error input[type=url],.wy-control-group.wy-control-group-error input[type=week],.wy-control-group.wy-control-group-error textarea{border:1px solid #e74c3c}.wy-inline-validate{white-space:nowrap}.wy-inline-validate .wy-input-context{padding:.5em .625em;display:inline-block;font-size:80%}.wy-inline-validate.wy-inline-validate-success .wy-input-context{color:#27ae60}.wy-inline-validate.wy-inline-validate-danger .wy-input-context{color:#e74c3c}.wy-inline-validate.wy-inline-validate-warning .wy-input-context{color:#e67e22}.wy-inline-validate.wy-inline-validate-info .wy-input-context{color:#2980b9}.rotate-90{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg)}.rotate-180{-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg)}.rotate-270{-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg)}.mirror{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);-o-transform:scaleX(-1);transform:scaleX(-1)}.mirror.rotate-90{-webkit-transform:scaleX(-1) rotate(90deg);-moz-transform:scaleX(-1) rotate(90deg);-ms-transform:scaleX(-1) rotate(90deg);-o-transform:scaleX(-1) rotate(90deg);transform:scaleX(-1) rotate(90deg)}.mirror.rotate-180{-webkit-transform:scaleX(-1) rotate(180deg);-moz-transform:scaleX(-1) rotate(180deg);-ms-transform:scaleX(-1) rotate(180deg);-o-transform:scaleX(-1) rotate(180deg);transform:scaleX(-1) rotate(180deg)}.mirror.rotate-270{-webkit-transform:scaleX(-1) rotate(270deg);-moz-transform:scaleX(-1) rotate(270deg);-ms-transform:scaleX(-1) rotate(270deg);-o-transform:scaleX(-1) rotate(270deg);transform:scaleX(-1) rotate(270deg)}@media only screen and (max-width:480px){.wy-form button[type=submit]{margin:.7em 0 0}.wy-form input[type=color],.wy-form input[type=date],.wy-form input[type=datetime-local],.wy-form input[type=datetime],.wy-form input[type=email],.wy-form input[type=month],.wy-form input[type=number],.wy-form input[type=password],.wy-form input[type=search],.wy-form input[type=tel],.wy-form input[type=text],.wy-form input[type=time],.wy-form input[type=url],.wy-form input[type=week],.wy-form label{margin-bottom:.3em;display:block}.wy-form input[type=color],.wy-form input[type=date],.wy-form input[type=datetime-local],.wy-form input[type=datetime],.wy-form input[type=email],.wy-form input[type=month],.wy-form input[type=number],.wy-form input[type=password],.wy-form input[type=search],.wy-form input[type=tel],.wy-form input[type=time],.wy-form input[type=url],.wy-form input[type=week]{margin-bottom:0}.wy-form-aligned .wy-control-group label{margin-bottom:.3em;text-align:left;display:block;width:100%}.wy-form-aligned .wy-control{margin:1.5em 0 0}.wy-form-message,.wy-form-message-inline,.wy-form .wy-help-inline{display:block;font-size:80%;padding:6px 0}}@media screen and (max-width:768px){.tablet-hide{display:none}}@media screen and (max-width:480px){.mobile-hide{display:none}}.float-left{float:left}.float-right{float:right}.full-width{width:100%}.rst-content table.docutils,.rst-content table.field-list,.wy-table{border-collapse:collapse;border-spacing:0;empty-cells:show;margin-bottom:24px}.rst-content table.docutils caption,.rst-content table.field-list caption,.wy-table caption{color:#000;font:italic 85%/1 arial,sans-serif;padding:1em 0;text-align:center}.rst-content table.docutils td,.rst-content table.docutils th,.rst-content table.field-list td,.rst-content table.field-list th,.wy-table td,.wy-table th{font-size:90%;margin:0;overflow:visible;padding:8px 16px}.rst-content table.docutils td:first-child,.rst-content table.docutils th:first-child,.rst-content table.field-list td:first-child,.rst-content table.field-list th:first-child,.wy-table td:first-child,.wy-table th:first-child{border-left-width:0}.rst-content table.docutils thead,.rst-content table.field-list thead,.wy-table thead{color:#000;text-align:left;vertical-align:bottom;white-space:nowrap}.rst-content table.docutils thead th,.rst-content table.field-list thead th,.wy-table thead th{font-weight:700;border-bottom:2px solid #e1e4e5}.rst-content table.docutils td,.rst-content table.field-list td,.wy-table td{background-color:transparent;vertical-align:middle}.rst-content table.docutils td p,.rst-content table.field-list td p,.wy-table td p{line-height:18px}.rst-content table.docutils td p:last-child,.rst-content table.field-list td p:last-child,.wy-table td p:last-child{margin-bottom:0}.rst-content table.docutils .wy-table-cell-min,.rst-content table.field-list .wy-table-cell-min,.wy-table .wy-table-cell-min{width:1%;padding-right:0}.rst-content table.docutils .wy-table-cell-min input[type=checkbox],.rst-content table.field-list .wy-table-cell-min input[type=checkbox],.wy-table .wy-table-cell-min input[type=checkbox]{margin:0}.wy-table-secondary{color:grey;font-size:90%}.wy-table-tertiary{color:grey;font-size:80%}.rst-content table.docutils:not(.field-list) tr:nth-child(2n-1) td,.wy-table-backed,.wy-table-odd td,.wy-table-striped tr:nth-child(2n-1) td{background-color:#f3f6f6}.rst-content table.docutils,.wy-table-bordered-all{border:1px solid #e1e4e5}.rst-content table.docutils td,.wy-table-bordered-all td{border-bottom:1px solid #e1e4e5;border-left:1px solid #e1e4e5}.rst-content table.docutils tbody>tr:last-child td,.wy-table-bordered-all tbody>tr:last-child td{border-bottom-width:0}.wy-table-bordered{border:1px solid #e1e4e5}.wy-table-bordered-rows td{border-bottom:1px solid #e1e4e5}.wy-table-bordered-rows tbody>tr:last-child td{border-bottom-width:0}.wy-table-horizontal td,.wy-table-horizontal th{border-width:0 0 1px;border-bottom:1px solid #e1e4e5}.wy-table-horizontal tbody>tr:last-child td{border-bottom-width:0}.wy-table-responsive{margin-bottom:24px;max-width:100%;overflow:auto}.wy-table-responsive table{margin-bottom:0!important}.wy-table-responsive table td,.wy-table-responsive table th{white-space:nowrap}a{color:#2980b9;text-decoration:none;cursor:pointer}a:hover{color:#3091d1}a:visited{color:#9b59b6}html{height:100%}body,html{overflow-x:hidden}body{font-family:Lato,proxima-nova,Helvetica Neue,Arial,sans-serif;font-weight:400;color:#404040;min-height:100%;background:#edf0f2}.wy-text-left{text-align:left}.wy-text-center{text-align:center}.wy-text-right{text-align:right}.wy-text-large{font-size:120%}.wy-text-normal{font-size:100%}.wy-text-small,small{font-size:80%}.wy-text-strike{text-decoration:line-through}.wy-text-warning{color:#e67e22!important}a.wy-text-warning:hover{color:#eb9950!important}.wy-text-info{color:#2980b9!important}a.wy-text-info:hover{color:#409ad5!important}.wy-text-success{color:#27ae60!important}a.wy-text-success:hover{color:#36d278!important}.wy-text-danger{color:#e74c3c!important}a.wy-text-danger:hover{color:#ed7669!important}.wy-text-neutral{color:#404040!important}a.wy-text-neutral:hover{color:#595959!important}.rst-content .toctree-wrapper>p.caption,h1,h2,h3,h4,h5,h6,legend{margin-top:0;font-weight:700;font-family:Roboto Slab,ff-tisa-web-pro,Georgia,Arial,sans-serif}p{line-height:24px;font-size:16px;margin:0 0 24px}h1{font-size:175%}.rst-content .toctree-wrapper>p.caption,h2{font-size:150%}h3{font-size:125%}h4{font-size:115%}h5{font-size:110%}h6{font-size:100%}hr{display:block;height:1px;border:0;border-top:1px solid #e1e4e5;margin:24px 0;padding:0}.rst-content code,.rst-content tt,code{white-space:nowrap;max-width:100%;background:#fff;border:1px solid #e1e4e5;font-size:75%;padding:0 5px;font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,Courier,monospace;color:#e74c3c;overflow-x:auto}.rst-content tt.code-large,code.code-large{font-size:90%}.rst-content .section ul,.rst-content .toctree-wrapper ul,.rst-content section ul,.wy-plain-list-disc,article ul{list-style:disc;line-height:24px;margin-bottom:24px}.rst-content .section ul li,.rst-content .toctree-wrapper ul li,.rst-content section ul li,.wy-plain-list-disc li,article ul li{list-style:disc;margin-left:24px}.rst-content .section ul li p:last-child,.rst-content .section ul li ul,.rst-content .toctree-wrapper ul li p:last-child,.rst-content .toctree-wrapper ul li ul,.rst-content section ul li p:last-child,.rst-content section ul li ul,.wy-plain-list-disc li p:last-child,.wy-plain-list-disc li ul,article ul li p:last-child,article ul li ul{margin-bottom:0}.rst-content .section ul li li,.rst-content .toctree-wrapper ul li li,.rst-content section ul li li,.wy-plain-list-disc li li,article ul li li{list-style:circle}.rst-content .section ul li li li,.rst-content .toctree-wrapper ul li li li,.rst-content section ul li li li,.wy-plain-list-disc li li li,article ul li li li{list-style:square}.rst-content .section ul li ol li,.rst-content .toctree-wrapper ul li ol li,.rst-content section ul li ol li,.wy-plain-list-disc li ol li,article ul li ol li{list-style:decimal}.rst-content .section ol,.rst-content .section ol.arabic,.rst-content .toctree-wrapper ol,.rst-content .toctree-wrapper ol.arabic,.rst-content section ol,.rst-content section ol.arabic,.wy-plain-list-decimal,article ol{list-style:decimal;line-height:24px;margin-bottom:24px}.rst-content .section ol.arabic li,.rst-content .section ol li,.rst-content .toctree-wrapper ol.arabic li,.rst-content .toctree-wrapper ol li,.rst-content section ol.arabic li,.rst-content section ol li,.wy-plain-list-decimal li,article ol li{list-style:decimal;margin-left:24px}.rst-content .section ol.arabic li ul,.rst-content .section ol li p:last-child,.rst-content .section ol li ul,.rst-content .toctree-wrapper ol.arabic li ul,.rst-content .toctree-wrapper ol li p:last-child,.rst-content .toctree-wrapper ol li ul,.rst-content section ol.arabic li ul,.rst-content section ol li p:last-child,.rst-content section ol li ul,.wy-plain-list-decimal li p:last-child,.wy-plain-list-decimal li ul,article ol li p:last-child,article ol li ul{margin-bottom:0}.rst-content .section ol.arabic li ul li,.rst-content .section ol li ul li,.rst-content .toctree-wrapper ol.arabic li ul li,.rst-content .toctree-wrapper ol li ul li,.rst-content section ol.arabic li ul li,.rst-content section ol li ul li,.wy-plain-list-decimal li ul li,article ol li ul li{list-style:disc}.wy-breadcrumbs{*zoom:1}.wy-breadcrumbs:after,.wy-breadcrumbs:before{display:table;content:""}.wy-breadcrumbs:after{clear:both}.wy-breadcrumbs>li{display:inline-block;padding-top:5px}.wy-breadcrumbs>li.wy-breadcrumbs-aside{float:right}.rst-content .wy-breadcrumbs>li code,.rst-content .wy-breadcrumbs>li tt,.wy-breadcrumbs>li .rst-content tt,.wy-breadcrumbs>li code{all:inherit;color:inherit}.breadcrumb-item:before{content:"/";color:#bbb;font-size:13px;padding:0 6px 0 3px}.wy-breadcrumbs-extra{margin-bottom:0;color:#b3b3b3;font-size:80%;display:inline-block}@media screen and (max-width:480px){.wy-breadcrumbs-extra,.wy-breadcrumbs li.wy-breadcrumbs-aside{display:none}}@media print{.wy-breadcrumbs li.wy-breadcrumbs-aside{display:none}}html{font-size:16px}.wy-affix{position:fixed;top:1.618em}.wy-menu a:hover{text-decoration:none}.wy-menu-horiz{*zoom:1}.wy-menu-horiz:after,.wy-menu-horiz:before{display:table;content:""}.wy-menu-horiz:after{clear:both}.wy-menu-horiz li,.wy-menu-horiz ul{display:inline-block}.wy-menu-horiz li:hover{background:hsla(0,0%,100%,.1)}.wy-menu-horiz li.divide-left{border-left:1px solid #404040}.wy-menu-horiz li.divide-right{border-right:1px solid #404040}.wy-menu-horiz a{height:32px;display:inline-block;line-height:32px;padding:0 16px}.wy-menu-vertical{width:300px}.wy-menu-vertical header,.wy-menu-vertical p.caption{color:#55a5d9;height:32px;line-height:32px;padding:0 1.618em;margin:12px 0 0;display:block;font-weight:700;text-transform:uppercase;font-size:85%;white-space:nowrap}.wy-menu-vertical ul{margin-bottom:0}.wy-menu-vertical li.divide-top{border-top:1px solid #404040}.wy-menu-vertical li.divide-bottom{border-bottom:1px solid #404040}.wy-menu-vertical li.current{background:#e3e3e3}.wy-menu-vertical li.current a{color:grey;border-right:1px solid #c9c9c9;padding:.4045em 2.427em}.wy-menu-vertical li.current a:hover{background:#d6d6d6}.rst-content .wy-menu-vertical li tt,.wy-menu-vertical li .rst-content tt,.wy-menu-vertical li code{border:none;background:inherit;color:inherit;padding-left:0;padding-right:0}.wy-menu-vertical li button.toctree-expand{display:block;float:left;margin-left:-1.2em;line-height:18px;color:#4d4d4d;border:none;background:none;padding:0}.wy-menu-vertical li.current>a,.wy-menu-vertical li.on a{color:#404040;font-weight:700;position:relative;background:#fcfcfc;border:none;padding:.4045em 1.618em}.wy-menu-vertical li.current>a:hover,.wy-menu-vertical li.on a:hover{background:#fcfcfc}.wy-menu-vertical li.current>a:hover button.toctree-expand,.wy-menu-vertical li.on a:hover button.toctree-expand{color:grey}.wy-menu-vertical li.current>a button.toctree-expand,.wy-menu-vertical li.on a button.toctree-expand{display:block;line-height:18px;color:#333}.wy-menu-vertical li.toctree-l1.current>a{border-bottom:1px solid #c9c9c9;border-top:1px solid #c9c9c9}.wy-menu-vertical .toctree-l1.current .toctree-l2>ul,.wy-menu-vertical .toctree-l2.current .toctree-l3>ul,.wy-menu-vertical .toctree-l3.current .toctree-l4>ul,.wy-menu-vertical .toctree-l4.current .toctree-l5>ul,.wy-menu-vertical .toctree-l5.current .toctree-l6>ul,.wy-menu-vertical .toctree-l6.current .toctree-l7>ul,.wy-menu-vertical .toctree-l7.current .toctree-l8>ul,.wy-menu-vertical .toctree-l8.current .toctree-l9>ul,.wy-menu-vertical .toctree-l9.current .toctree-l10>ul,.wy-menu-vertical .toctree-l10.current .toctree-l11>ul{display:none}.wy-menu-vertical .toctree-l1.current .current.toctree-l2>ul,.wy-menu-vertical .toctree-l2.current .current.toctree-l3>ul,.wy-menu-vertical .toctree-l3.current .current.toctree-l4>ul,.wy-menu-vertical .toctree-l4.current .current.toctree-l5>ul,.wy-menu-vertical .toctree-l5.current .current.toctree-l6>ul,.wy-menu-vertical .toctree-l6.current .current.toctree-l7>ul,.wy-menu-vertical .toctree-l7.current .current.toctree-l8>ul,.wy-menu-vertical .toctree-l8.current .current.toctree-l9>ul,.wy-menu-vertical .toctree-l9.current .current.toctree-l10>ul,.wy-menu-vertical .toctree-l10.current .current.toctree-l11>ul{display:block}.wy-menu-vertical li.toctree-l3,.wy-menu-vertical li.toctree-l4{font-size:.9em}.wy-menu-vertical li.toctree-l2 a,.wy-menu-vertical li.toctree-l3 a,.wy-menu-vertical li.toctree-l4 a,.wy-menu-vertical li.toctree-l5 a,.wy-menu-vertical li.toctree-l6 a,.wy-menu-vertical li.toctree-l7 a,.wy-menu-vertical li.toctree-l8 a,.wy-menu-vertical li.toctree-l9 a,.wy-menu-vertical li.toctree-l10 a{color:#404040}.wy-menu-vertical li.toctree-l2 a:hover button.toctree-expand,.wy-menu-vertical li.toctree-l3 a:hover button.toctree-expand,.wy-menu-vertical li.toctree-l4 a:hover button.toctree-expand,.wy-menu-vertical li.toctree-l5 a:hover button.toctree-expand,.wy-menu-vertical li.toctree-l6 a:hover button.toctree-expand,.wy-menu-vertical li.toctree-l7 a:hover button.toctree-expand,.wy-menu-vertical li.toctree-l8 a:hover button.toctree-expand,.wy-menu-vertical li.toctree-l9 a:hover button.toctree-expand,.wy-menu-vertical li.toctree-l10 a:hover button.toctree-expand{color:grey}.wy-menu-vertical li.toctree-l2.current li.toctree-l3>a,.wy-menu-vertical li.toctree-l3.current li.toctree-l4>a,.wy-menu-vertical li.toctree-l4.current li.toctree-l5>a,.wy-menu-vertical li.toctree-l5.current li.toctree-l6>a,.wy-menu-vertical li.toctree-l6.current li.toctree-l7>a,.wy-menu-vertical li.toctree-l7.current li.toctree-l8>a,.wy-menu-vertical li.toctree-l8.current li.toctree-l9>a,.wy-menu-vertical li.toctree-l9.current li.toctree-l10>a,.wy-menu-vertical li.toctree-l10.current li.toctree-l11>a{display:block}.wy-menu-vertical li.toctree-l2.current>a{padding:.4045em 2.427em}.wy-menu-vertical li.toctree-l2.current li.toctree-l3>a{padding:.4045em 1.618em .4045em 4.045em}.wy-menu-vertical li.toctree-l3.current>a{padding:.4045em 4.045em}.wy-menu-vertical li.toctree-l3.current li.toctree-l4>a{padding:.4045em 1.618em .4045em 5.663em}.wy-menu-vertical li.toctree-l4.current>a{padding:.4045em 5.663em}.wy-menu-vertical li.toctree-l4.current li.toctree-l5>a{padding:.4045em 1.618em .4045em 7.281em}.wy-menu-vertical li.toctree-l5.current>a{padding:.4045em 7.281em}.wy-menu-vertical li.toctree-l5.current li.toctree-l6>a{padding:.4045em 1.618em .4045em 8.899em}.wy-menu-vertical li.toctree-l6.current>a{padding:.4045em 8.899em}.wy-menu-vertical li.toctree-l6.current li.toctree-l7>a{padding:.4045em 1.618em .4045em 10.517em}.wy-menu-vertical li.toctree-l7.current>a{padding:.4045em 10.517em}.wy-menu-vertical li.toctree-l7.current li.toctree-l8>a{padding:.4045em 1.618em .4045em 12.135em}.wy-menu-vertical li.toctree-l8.current>a{padding:.4045em 12.135em}.wy-menu-vertical li.toctree-l8.current li.toctree-l9>a{padding:.4045em 1.618em .4045em 13.753em}.wy-menu-vertical li.toctree-l9.current>a{padding:.4045em 13.753em}.wy-menu-vertical li.toctree-l9.current li.toctree-l10>a{padding:.4045em 1.618em .4045em 15.371em}.wy-menu-vertical li.toctree-l10.current>a{padding:.4045em 15.371em}.wy-menu-vertical li.toctree-l10.current li.toctree-l11>a{padding:.4045em 1.618em .4045em 16.989em}.wy-menu-vertical li.toctree-l2.current>a,.wy-menu-vertical li.toctree-l2.current li.toctree-l3>a{background:#c9c9c9}.wy-menu-vertical li.toctree-l2 button.toctree-expand{color:#a3a3a3}.wy-menu-vertical li.toctree-l3.current>a,.wy-menu-vertical li.toctree-l3.current li.toctree-l4>a{background:#bdbdbd}.wy-menu-vertical li.toctree-l3 button.toctree-expand{color:#969696}.wy-menu-vertical li.current ul{display:block}.wy-menu-vertical li ul{margin-bottom:0;display:none}.wy-menu-vertical li ul li a{margin-bottom:0;color:#d9d9d9;font-weight:400}.wy-menu-vertical a{line-height:18px;padding:.4045em 1.618em;display:block;position:relative;font-size:90%;color:#d9d9d9}.wy-menu-vertical a:hover{background-color:#4e4a4a;cursor:pointer}.wy-menu-vertical a:hover button.toctree-expand{color:#d9d9d9}.wy-menu-vertical a:active{background-color:#2980b9;cursor:pointer;color:#fff}.wy-menu-vertical a:active button.toctree-expand{color:#fff}.wy-side-nav-search{display:block;width:300px;padding:.809em;margin-bottom:.809em;z-index:200;background-color:#2980b9;text-align:center;color:#fcfcfc}.wy-side-nav-search input[type=text]{width:100%;border-radius:50px;padding:6px 12px;border-color:#2472a4}.wy-side-nav-search img{display:block;margin:auto auto .809em;height:45px;width:45px;background-color:#2980b9;padding:5px;border-radius:100%}.wy-side-nav-search .wy-dropdown>a,.wy-side-nav-search>a{color:#fcfcfc;font-size:100%;font-weight:700;display:inline-block;padding:4px 6px;margin-bottom:.809em;max-width:100%}.wy-side-nav-search .wy-dropdown>a:hover,.wy-side-nav-search>a:hover{background:hsla(0,0%,100%,.1)}.wy-side-nav-search .wy-dropdown>a img.logo,.wy-side-nav-search>a img.logo{display:block;margin:0 auto;height:auto;width:auto;border-radius:0;max-width:100%;background:transparent}.wy-side-nav-search .wy-dropdown>a.icon img.logo,.wy-side-nav-search>a.icon img.logo{margin-top:.85em}.wy-side-nav-search>div.version{margin-top:-.4045em;margin-bottom:.809em;font-weight:400;color:hsla(0,0%,100%,.3)}.wy-nav .wy-menu-vertical header{color:#2980b9}.wy-nav .wy-menu-vertical a{color:#b3b3b3}.wy-nav .wy-menu-vertical a:hover{background-color:#2980b9;color:#fff}[data-menu-wrap]{-webkit-transition:all .2s ease-in;-moz-transition:all .2s ease-in;transition:all .2s ease-in;position:absolute;opacity:1;width:100%;opacity:0}[data-menu-wrap].move-center{left:0;right:auto;opacity:1}[data-menu-wrap].move-left{right:auto;left:-100%;opacity:0}[data-menu-wrap].move-right{right:-100%;left:auto;opacity:0}.wy-body-for-nav{background:#fcfcfc}.wy-grid-for-nav{position:absolute;width:100%;height:100%}.wy-nav-side{position:fixed;top:0;bottom:0;left:0;padding-bottom:2em;width:300px;overflow-x:hidden;overflow-y:hidden;min-height:100%;color:#9b9b9b;background:#343131;z-index:200}.wy-side-scroll{width:320px;position:relative;overflow-x:hidden;overflow-y:scroll;height:100%}.wy-nav-top{display:none;background:#2980b9;color:#fff;padding:.4045em .809em;position:relative;line-height:50px;text-align:center;font-size:100%;*zoom:1}.wy-nav-top:after,.wy-nav-top:before{display:table;content:""}.wy-nav-top:after{clear:both}.wy-nav-top a{color:#fff;font-weight:700}.wy-nav-top img{margin-right:12px;height:45px;width:45px;background-color:#2980b9;padding:5px;border-radius:100%}.wy-nav-top i{font-size:30px;float:left;cursor:pointer;padding-top:inherit}.wy-nav-content-wrap{margin-left:300px;background:#fcfcfc;min-height:100%}.wy-nav-content{padding:1.618em 3.236em;height:100%;max-width:800px;margin:auto}.wy-body-mask{position:fixed;width:100%;height:100%;background:rgba(0,0,0,.2);display:none;z-index:499}.wy-body-mask.on{display:block}footer{color:grey}footer p{margin-bottom:12px}.rst-content footer span.commit tt,footer span.commit .rst-content tt,footer span.commit code{padding:0;font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,Courier,monospace;font-size:1em;background:none;border:none;color:grey}.rst-footer-buttons{*zoom:1}.rst-footer-buttons:after,.rst-footer-buttons:before{width:100%;display:table;content:""}.rst-footer-buttons:after{clear:both}.rst-breadcrumbs-buttons{margin-top:12px;*zoom:1}.rst-breadcrumbs-buttons:after,.rst-breadcrumbs-buttons:before{display:table;content:""}.rst-breadcrumbs-buttons:after{clear:both}#search-results .search li{margin-bottom:24px;border-bottom:1px solid #e1e4e5;padding-bottom:24px}#search-results .search li:first-child{border-top:1px solid #e1e4e5;padding-top:24px}#search-results .search li a{font-size:120%;margin-bottom:12px;display:inline-block}#search-results .context{color:grey;font-size:90%}.genindextable li>ul{margin-left:24px}@media screen and (max-width:768px){.wy-body-for-nav{background:#fcfcfc}.wy-nav-top{display:block}.wy-nav-side{left:-300px}.wy-nav-side.shift{width:85%;left:0}.wy-menu.wy-menu-vertical,.wy-side-nav-search,.wy-side-scroll{width:auto}.wy-nav-content-wrap{margin-left:0}.wy-nav-content-wrap .wy-nav-content{padding:1.618em}.wy-nav-content-wrap.shift{position:fixed;min-width:100%;left:85%;top:0;height:100%;overflow:hidden}}@media screen and (min-width:1100px){.wy-nav-content-wrap{background:rgba(0,0,0,.05)}.wy-nav-content{margin:0;background:#fcfcfc}}@media print{.rst-versions,.wy-nav-side,footer{display:none}.wy-nav-content-wrap{margin-left:0}}.rst-versions{position:fixed;bottom:0;left:0;width:300px;color:#fcfcfc;background:#1f1d1d;font-family:Lato,proxima-nova,Helvetica Neue,Arial,sans-serif;z-index:400}.rst-versions a{color:#2980b9;text-decoration:none}.rst-versions .rst-badge-small{display:none}.rst-versions .rst-current-version{padding:12px;background-color:#272525;display:block;text-align:right;font-size:90%;cursor:pointer;color:#27ae60;*zoom:1}.rst-versions .rst-current-version:after,.rst-versions .rst-current-version:before{display:table;content:""}.rst-versions .rst-current-version:after{clear:both}.rst-content .code-block-caption .rst-versions .rst-current-version .headerlink,.rst-content .eqno .rst-versions .rst-current-version .headerlink,.rst-content .rst-versions .rst-current-version .admonition-title,.rst-content code.download .rst-versions .rst-current-version span:first-child,.rst-content dl dt .rst-versions .rst-current-version .headerlink,.rst-content h1 .rst-versions .rst-current-version .headerlink,.rst-content h2 .rst-versions .rst-current-version .headerlink,.rst-content h3 .rst-versions .rst-current-version .headerlink,.rst-content h4 .rst-versions .rst-current-version .headerlink,.rst-content h5 .rst-versions .rst-current-version .headerlink,.rst-content h6 .rst-versions .rst-current-version .headerlink,.rst-content p .rst-versions .rst-current-version .headerlink,.rst-content table>caption .rst-versions .rst-current-version .headerlink,.rst-content tt.download .rst-versions .rst-current-version span:first-child,.rst-versions .rst-current-version .fa,.rst-versions .rst-current-version .icon,.rst-versions .rst-current-version .rst-content .admonition-title,.rst-versions .rst-current-version .rst-content .code-block-caption .headerlink,.rst-versions .rst-current-version .rst-content .eqno .headerlink,.rst-versions .rst-current-version .rst-content code.download span:first-child,.rst-versions .rst-current-version .rst-content dl dt .headerlink,.rst-versions .rst-current-version .rst-content h1 .headerlink,.rst-versions .rst-current-version .rst-content h2 .headerlink,.rst-versions .rst-current-version .rst-content h3 .headerlink,.rst-versions .rst-current-version .rst-content h4 .headerlink,.rst-versions .rst-current-version .rst-content h5 .headerlink,.rst-versions .rst-current-version .rst-content h6 .headerlink,.rst-versions .rst-current-version .rst-content p .headerlink,.rst-versions .rst-current-version .rst-content table>caption .headerlink,.rst-versions .rst-current-version .rst-content tt.download span:first-child,.rst-versions .rst-current-version .wy-menu-vertical li button.toctree-expand,.wy-menu-vertical li .rst-versions .rst-current-version button.toctree-expand{color:#fcfcfc}.rst-versions .rst-current-version .fa-book,.rst-versions .rst-current-version .icon-book{float:left}.rst-versions .rst-current-version.rst-out-of-date{background-color:#e74c3c;color:#fff}.rst-versions .rst-current-version.rst-active-old-version{background-color:#f1c40f;color:#000}.rst-versions.shift-up{height:auto;max-height:100%;overflow-y:scroll}.rst-versions.shift-up .rst-other-versions{display:block}.rst-versions .rst-other-versions{font-size:90%;padding:12px;color:grey;display:none}.rst-versions .rst-other-versions hr{display:block;height:1px;border:0;margin:20px 0;padding:0;border-top:1px solid #413d3d}.rst-versions .rst-other-versions dd{display:inline-block;margin:0}.rst-versions .rst-other-versions dd a{display:inline-block;padding:6px;color:#fcfcfc}.rst-versions.rst-badge{width:auto;bottom:20px;right:20px;left:auto;border:none;max-width:300px;max-height:90%}.rst-versions.rst-badge .fa-book,.rst-versions.rst-badge .icon-book{float:none;line-height:30px}.rst-versions.rst-badge.shift-up .rst-current-version{text-align:right}.rst-versions.rst-badge.shift-up .rst-current-version .fa-book,.rst-versions.rst-badge.shift-up .rst-current-version .icon-book{float:left}.rst-versions.rst-badge>.rst-current-version{width:auto;height:30px;line-height:30px;padding:0 6px;display:block;text-align:center}@media screen and (max-width:768px){.rst-versions{width:85%;display:none}.rst-versions.shift{display:block}}.rst-content .toctree-wrapper>p.caption,.rst-content h1,.rst-content h2,.rst-content h3,.rst-content h4,.rst-content h5,.rst-content h6{margin-bottom:24px}.rst-content img{max-width:100%;height:auto}.rst-content div.figure,.rst-content figure{margin-bottom:24px}.rst-content div.figure .caption-text,.rst-content figure .caption-text{font-style:italic}.rst-content div.figure p:last-child.caption,.rst-content figure p:last-child.caption{margin-bottom:0}.rst-content div.figure.align-center,.rst-content figure.align-center{text-align:center}.rst-content .section>a>img,.rst-content .section>img,.rst-content section>a>img,.rst-content section>img{margin-bottom:24px}.rst-content abbr[title]{text-decoration:none}.rst-content.style-external-links a.reference.external:after{font-family:FontAwesome;content:"\f08e";color:#b3b3b3;vertical-align:super;font-size:60%;margin:0 .2em}.rst-content blockquote{margin-left:24px;line-height:24px;margin-bottom:24px}.rst-content pre.literal-block{white-space:pre;margin:0;padding:12px;font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,Courier,monospace;display:block;overflow:auto}.rst-content div[class^=highlight],.rst-content pre.literal-block{border:1px solid #e1e4e5;overflow-x:auto;margin:1px 0 24px}.rst-content div[class^=highlight] div[class^=highlight],.rst-content pre.literal-block div[class^=highlight]{padding:0;border:none;margin:0}.rst-content div[class^=highlight] td.code{width:100%}.rst-content .linenodiv pre{border-right:1px solid #e6e9ea;margin:0;padding:12px;font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,Courier,monospace;user-select:none;pointer-events:none}.rst-content div[class^=highlight] pre{white-space:pre;margin:0;padding:12px;display:block;overflow:auto}.rst-content div[class^=highlight] pre .hll{display:block;margin:0 -12px;padding:0 12px}.rst-content .linenodiv pre,.rst-content div[class^=highlight] pre,.rst-content pre.literal-block{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,Courier,monospace;font-size:12px;line-height:1.4}.rst-content div.highlight .gp,.rst-content div.highlight span.linenos{user-select:none;pointer-events:none}.rst-content div.highlight span.linenos{display:inline-block;padding-left:0;padding-right:12px;margin-right:12px;border-right:1px solid #e6e9ea}.rst-content .code-block-caption{font-style:italic;font-size:85%;line-height:1;padding:1em 0;text-align:center}@media print{.rst-content .codeblock,.rst-content div[class^=highlight],.rst-content div[class^=highlight] pre{white-space:pre-wrap}}.rst-content .admonition,.rst-content .admonition-todo,.rst-content .attention,.rst-content .caution,.rst-content .danger,.rst-content .error,.rst-content .hint,.rst-content .important,.rst-content .note,.rst-content .seealso,.rst-content .tip,.rst-content .warning{clear:both}.rst-content .admonition-todo .last,.rst-content .admonition-todo>:last-child,.rst-content .admonition .last,.rst-content .admonition>:last-child,.rst-content .attention .last,.rst-content .attention>:last-child,.rst-content .caution .last,.rst-content .caution>:last-child,.rst-content .danger .last,.rst-content .danger>:last-child,.rst-content .error .last,.rst-content .error>:last-child,.rst-content .hint .last,.rst-content .hint>:last-child,.rst-content .important .last,.rst-content .important>:last-child,.rst-content .note .last,.rst-content .note>:last-child,.rst-content .seealso .last,.rst-content .seealso>:last-child,.rst-content .tip .last,.rst-content .tip>:last-child,.rst-content .warning .last,.rst-content .warning>:last-child{margin-bottom:0}.rst-content .admonition-title:before{margin-right:4px}.rst-content .admonition table{border-color:rgba(0,0,0,.1)}.rst-content .admonition table td,.rst-content .admonition table th{background:transparent!important;border-color:rgba(0,0,0,.1)!important}.rst-content .section ol.loweralpha,.rst-content .section ol.loweralpha>li,.rst-content .toctree-wrapper ol.loweralpha,.rst-content .toctree-wrapper ol.loweralpha>li,.rst-content section ol.loweralpha,.rst-content section ol.loweralpha>li{list-style:lower-alpha}.rst-content .section ol.upperalpha,.rst-content .section ol.upperalpha>li,.rst-content .toctree-wrapper ol.upperalpha,.rst-content .toctree-wrapper ol.upperalpha>li,.rst-content section ol.upperalpha,.rst-content section ol.upperalpha>li{list-style:upper-alpha}.rst-content .section ol li>*,.rst-content .section ul li>*,.rst-content .toctree-wrapper ol li>*,.rst-content .toctree-wrapper ul li>*,.rst-content section ol li>*,.rst-content section ul li>*{margin-top:12px;margin-bottom:12px}.rst-content .section ol li>:first-child,.rst-content .section ul li>:first-child,.rst-content .toctree-wrapper ol li>:first-child,.rst-content .toctree-wrapper ul li>:first-child,.rst-content section ol li>:first-child,.rst-content section ul li>:first-child{margin-top:0}.rst-content .section ol li>p,.rst-content .section ol li>p:last-child,.rst-content .section ul li>p,.rst-content .section ul li>p:last-child,.rst-content .toctree-wrapper ol li>p,.rst-content .toctree-wrapper ol li>p:last-child,.rst-content .toctree-wrapper ul li>p,.rst-content .toctree-wrapper ul li>p:last-child,.rst-content section ol li>p,.rst-content section ol li>p:last-child,.rst-content section ul li>p,.rst-content section ul li>p:last-child{margin-bottom:12px}.rst-content .section ol li>p:only-child,.rst-content .section ol li>p:only-child:last-child,.rst-content .section ul li>p:only-child,.rst-content .section ul li>p:only-child:last-child,.rst-content .toctree-wrapper ol li>p:only-child,.rst-content .toctree-wrapper ol li>p:only-child:last-child,.rst-content .toctree-wrapper ul li>p:only-child,.rst-content .toctree-wrapper ul li>p:only-child:last-child,.rst-content section ol li>p:only-child,.rst-content section ol li>p:only-child:last-child,.rst-content section ul li>p:only-child,.rst-content section ul li>p:only-child:last-child{margin-bottom:0}.rst-content .section ol li>ol,.rst-content .section ol li>ul,.rst-content .section ul li>ol,.rst-content .section ul li>ul,.rst-content .toctree-wrapper ol li>ol,.rst-content .toctree-wrapper ol li>ul,.rst-content .toctree-wrapper ul li>ol,.rst-content .toctree-wrapper ul li>ul,.rst-content section ol li>ol,.rst-content section ol li>ul,.rst-content section ul li>ol,.rst-content section ul li>ul{margin-bottom:12px}.rst-content .section ol.simple li>*,.rst-content .section ol.simple li ol,.rst-content .section ol.simple li ul,.rst-content .section ul.simple li>*,.rst-content .section ul.simple li ol,.rst-content .section ul.simple li ul,.rst-content .toctree-wrapper ol.simple li>*,.rst-content .toctree-wrapper ol.simple li ol,.rst-content .toctree-wrapper ol.simple li ul,.rst-content .toctree-wrapper ul.simple li>*,.rst-content .toctree-wrapper ul.simple li ol,.rst-content .toctree-wrapper ul.simple li ul,.rst-content section ol.simple li>*,.rst-content section ol.simple li ol,.rst-content section ol.simple li ul,.rst-content section ul.simple li>*,.rst-content section ul.simple li ol,.rst-content section ul.simple li ul{margin-top:0;margin-bottom:0}.rst-content .line-block{margin-left:0;margin-bottom:24px;line-height:24px}.rst-content .line-block .line-block{margin-left:24px;margin-bottom:0}.rst-content .topic-title{font-weight:700;margin-bottom:12px}.rst-content .toc-backref{color:#404040}.rst-content .align-right{float:right;margin:0 0 24px 24px}.rst-content .align-left{float:left;margin:0 24px 24px 0}.rst-content .align-center{margin:auto}.rst-content .align-center:not(table){display:block}.rst-content .code-block-caption .headerlink,.rst-content .eqno .headerlink,.rst-content .toctree-wrapper>p.caption .headerlink,.rst-content dl dt .headerlink,.rst-content h1 .headerlink,.rst-content h2 .headerlink,.rst-content h3 .headerlink,.rst-content h4 .headerlink,.rst-content h5 .headerlink,.rst-content h6 .headerlink,.rst-content p.caption .headerlink,.rst-content p .headerlink,.rst-content table>caption .headerlink{opacity:0;font-size:14px;font-family:FontAwesome;margin-left:.5em}.rst-content .code-block-caption .headerlink:focus,.rst-content .code-block-caption:hover .headerlink,.rst-content .eqno .headerlink:focus,.rst-content .eqno:hover .headerlink,.rst-content .toctree-wrapper>p.caption .headerlink:focus,.rst-content .toctree-wrapper>p.caption:hover .headerlink,.rst-content dl dt .headerlink:focus,.rst-content dl dt:hover .headerlink,.rst-content h1 .headerlink:focus,.rst-content h1:hover .headerlink,.rst-content h2 .headerlink:focus,.rst-content h2:hover .headerlink,.rst-content h3 .headerlink:focus,.rst-content h3:hover .headerlink,.rst-content h4 .headerlink:focus,.rst-content h4:hover .headerlink,.rst-content h5 .headerlink:focus,.rst-content h5:hover .headerlink,.rst-content h6 .headerlink:focus,.rst-content h6:hover .headerlink,.rst-content p.caption .headerlink:focus,.rst-content p.caption:hover .headerlink,.rst-content p .headerlink:focus,.rst-content p:hover .headerlink,.rst-content table>caption .headerlink:focus,.rst-content table>caption:hover .headerlink{opacity:1}.rst-content p a{overflow-wrap:anywhere}.rst-content .wy-table td p,.rst-content .wy-table td ul,.rst-content .wy-table th p,.rst-content .wy-table th ul,.rst-content table.docutils td p,.rst-content table.docutils td ul,.rst-content table.docutils th p,.rst-content table.docutils th ul,.rst-content table.field-list td p,.rst-content table.field-list td ul,.rst-content table.field-list th p,.rst-content table.field-list th ul{font-size:inherit}.rst-content .btn:focus{outline:2px solid}.rst-content table>caption .headerlink:after{font-size:12px}.rst-content .centered{text-align:center}.rst-content .sidebar{float:right;width:40%;display:block;margin:0 0 24px 24px;padding:24px;background:#f3f6f6;border:1px solid #e1e4e5}.rst-content .sidebar dl,.rst-content .sidebar p,.rst-content .sidebar ul{font-size:90%}.rst-content .sidebar .last,.rst-content .sidebar>:last-child{margin-bottom:0}.rst-content .sidebar .sidebar-title{display:block;font-family:Roboto Slab,ff-tisa-web-pro,Georgia,Arial,sans-serif;font-weight:700;background:#e1e4e5;padding:6px 12px;margin:-24px -24px 24px;font-size:100%}.rst-content .highlighted{background:#f1c40f;box-shadow:0 0 0 2px #f1c40f;display:inline;font-weight:700}.rst-content .citation-reference,.rst-content .footnote-reference{vertical-align:baseline;position:relative;top:-.4em;line-height:0;font-size:90%}.rst-content .citation-reference>span.fn-bracket,.rst-content .footnote-reference>span.fn-bracket{display:none}.rst-content .hlist{width:100%}.rst-content dl dt span.classifier:before{content:" : "}.rst-content dl dt span.classifier-delimiter{display:none!important}html.writer-html4 .rst-content table.docutils.citation,html.writer-html4 .rst-content table.docutils.footnote{background:none;border:none}html.writer-html4 .rst-content table.docutils.citation td,html.writer-html4 .rst-content table.docutils.citation tr,html.writer-html4 .rst-content table.docutils.footnote td,html.writer-html4 .rst-content table.docutils.footnote tr{border:none;background-color:transparent!important;white-space:normal}html.writer-html4 .rst-content table.docutils.citation td.label,html.writer-html4 .rst-content table.docutils.footnote td.label{padding-left:0;padding-right:0;vertical-align:top}html.writer-html5 .rst-content dl.citation,html.writer-html5 .rst-content dl.field-list,html.writer-html5 .rst-content dl.footnote{display:grid;grid-template-columns:auto minmax(80%,95%)}html.writer-html5 .rst-content dl.citation>dt,html.writer-html5 .rst-content dl.field-list>dt,html.writer-html5 .rst-content dl.footnote>dt{display:inline-grid;grid-template-columns:max-content auto}html.writer-html5 .rst-content aside.citation,html.writer-html5 .rst-content aside.footnote,html.writer-html5 .rst-content div.citation{display:grid;grid-template-columns:auto auto minmax(.65rem,auto) minmax(40%,95%)}html.writer-html5 .rst-content aside.citation>span.label,html.writer-html5 .rst-content aside.footnote>span.label,html.writer-html5 .rst-content div.citation>span.label{grid-column-start:1;grid-column-end:2}html.writer-html5 .rst-content aside.citation>span.backrefs,html.writer-html5 .rst-content aside.footnote>span.backrefs,html.writer-html5 .rst-content div.citation>span.backrefs{grid-column-start:2;grid-column-end:3;grid-row-start:1;grid-row-end:3}html.writer-html5 .rst-content aside.citation>p,html.writer-html5 .rst-content aside.footnote>p,html.writer-html5 .rst-content div.citation>p{grid-column-start:4;grid-column-end:5}html.writer-html5 .rst-content dl.citation,html.writer-html5 .rst-content dl.field-list,html.writer-html5 .rst-content dl.footnote{margin-bottom:24px}html.writer-html5 .rst-content dl.citation>dt,html.writer-html5 .rst-content dl.field-list>dt,html.writer-html5 .rst-content dl.footnote>dt{padding-left:1rem}html.writer-html5 .rst-content dl.citation>dd,html.writer-html5 .rst-content dl.citation>dt,html.writer-html5 .rst-content dl.field-list>dd,html.writer-html5 .rst-content dl.field-list>dt,html.writer-html5 .rst-content dl.footnote>dd,html.writer-html5 .rst-content dl.footnote>dt{margin-bottom:0}html.writer-html5 .rst-content dl.citation,html.writer-html5 .rst-content dl.footnote{font-size:.9rem}html.writer-html5 .rst-content dl.citation>dt,html.writer-html5 .rst-content dl.footnote>dt{margin:0 .5rem .5rem 0;line-height:1.2rem;word-break:break-all;font-weight:400}html.writer-html5 .rst-content dl.citation>dt>span.brackets:before,html.writer-html5 .rst-content dl.footnote>dt>span.brackets:before{content:"["}html.writer-html5 .rst-content dl.citation>dt>span.brackets:after,html.writer-html5 .rst-content dl.footnote>dt>span.brackets:after{content:"]"}html.writer-html5 .rst-content dl.citation>dt>span.fn-backref,html.writer-html5 .rst-content dl.footnote>dt>span.fn-backref{text-align:left;font-style:italic;margin-left:.65rem;word-break:break-word;word-spacing:-.1rem;max-width:5rem}html.writer-html5 .rst-content dl.citation>dt>span.fn-backref>a,html.writer-html5 .rst-content dl.footnote>dt>span.fn-backref>a{word-break:keep-all}html.writer-html5 .rst-content dl.citation>dt>span.fn-backref>a:not(:first-child):before,html.writer-html5 .rst-content dl.footnote>dt>span.fn-backref>a:not(:first-child):before{content:" "}html.writer-html5 .rst-content dl.citation>dd,html.writer-html5 .rst-content dl.footnote>dd{margin:0 0 .5rem;line-height:1.2rem}html.writer-html5 .rst-content dl.citation>dd p,html.writer-html5 .rst-content dl.footnote>dd p{font-size:.9rem}html.writer-html5 .rst-content aside.citation,html.writer-html5 .rst-content aside.footnote,html.writer-html5 .rst-content div.citation{padding-left:1rem;padding-right:1rem;font-size:.9rem;line-height:1.2rem}html.writer-html5 .rst-content aside.citation p,html.writer-html5 .rst-content aside.footnote p,html.writer-html5 .rst-content div.citation p{font-size:.9rem;line-height:1.2rem;margin-bottom:12px}html.writer-html5 .rst-content aside.citation span.backrefs,html.writer-html5 .rst-content aside.footnote span.backrefs,html.writer-html5 .rst-content div.citation span.backrefs{text-align:left;font-style:italic;margin-left:.65rem;word-break:break-word;word-spacing:-.1rem;max-width:5rem}html.writer-html5 .rst-content aside.citation span.backrefs>a,html.writer-html5 .rst-content aside.footnote span.backrefs>a,html.writer-html5 .rst-content div.citation span.backrefs>a{word-break:keep-all}html.writer-html5 .rst-content aside.citation span.backrefs>a:not(:first-child):before,html.writer-html5 .rst-content aside.footnote span.backrefs>a:not(:first-child):before,html.writer-html5 .rst-content div.citation span.backrefs>a:not(:first-child):before{content:" "}html.writer-html5 .rst-content aside.citation span.label,html.writer-html5 .rst-content aside.footnote span.label,html.writer-html5 .rst-content div.citation span.label{line-height:1.2rem}html.writer-html5 .rst-content aside.citation-list,html.writer-html5 .rst-content aside.footnote-list,html.writer-html5 .rst-content div.citation-list{margin-bottom:24px}html.writer-html5 .rst-content dl.option-list kbd{font-size:.9rem}.rst-content table.docutils.footnote,html.writer-html4 .rst-content table.docutils.citation,html.writer-html5 .rst-content aside.footnote,html.writer-html5 .rst-content aside.footnote-list aside.footnote,html.writer-html5 .rst-content div.citation-list>div.citation,html.writer-html5 .rst-content dl.citation,html.writer-html5 .rst-content dl.footnote{color:grey}.rst-content table.docutils.footnote code,.rst-content table.docutils.footnote tt,html.writer-html4 .rst-content table.docutils.citation code,html.writer-html4 .rst-content table.docutils.citation tt,html.writer-html5 .rst-content aside.footnote-list aside.footnote code,html.writer-html5 .rst-content aside.footnote-list aside.footnote tt,html.writer-html5 .rst-content aside.footnote code,html.writer-html5 .rst-content aside.footnote tt,html.writer-html5 .rst-content div.citation-list>div.citation code,html.writer-html5 .rst-content div.citation-list>div.citation tt,html.writer-html5 .rst-content dl.citation code,html.writer-html5 .rst-content dl.citation tt,html.writer-html5 .rst-content dl.footnote code,html.writer-html5 .rst-content dl.footnote tt{color:#555}.rst-content .wy-table-responsive.citation,.rst-content .wy-table-responsive.footnote{margin-bottom:0}.rst-content .wy-table-responsive.citation+:not(.citation),.rst-content .wy-table-responsive.footnote+:not(.footnote){margin-top:24px}.rst-content .wy-table-responsive.citation:last-child,.rst-content .wy-table-responsive.footnote:last-child{margin-bottom:24px}.rst-content table.docutils th{border-color:#e1e4e5}html.writer-html5 .rst-content table.docutils th{border:1px solid #e1e4e5}html.writer-html5 .rst-content table.docutils td>p,html.writer-html5 .rst-content table.docutils th>p{line-height:1rem;margin-bottom:0;font-size:.9rem}.rst-content table.docutils td .last,.rst-content table.docutils td .last>:last-child{margin-bottom:0}.rst-content table.field-list,.rst-content table.field-list td{border:none}.rst-content table.field-list td p{line-height:inherit}.rst-content table.field-list td>strong{display:inline-block}.rst-content table.field-list .field-name{padding-right:10px;text-align:left;white-space:nowrap}.rst-content table.field-list .field-body{text-align:left}.rst-content code,.rst-content tt{color:#000;font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,Courier,monospace;padding:2px 5px}.rst-content code big,.rst-content code em,.rst-content tt big,.rst-content tt em{font-size:100%!important;line-height:normal}.rst-content code.literal,.rst-content tt.literal{color:#e74c3c;white-space:normal}.rst-content code.xref,.rst-content tt.xref,a .rst-content code,a .rst-content tt{font-weight:700;color:#404040;overflow-wrap:normal}.rst-content kbd,.rst-content pre,.rst-content samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,Courier,monospace}.rst-content a code,.rst-content a tt{color:#2980b9}.rst-content dl{margin-bottom:24px}.rst-content dl dt{font-weight:700;margin-bottom:12px}.rst-content dl ol,.rst-content dl p,.rst-content dl table,.rst-content dl ul{margin-bottom:12px}.rst-content dl dd{margin:0 0 12px 24px;line-height:24px}.rst-content dl dd>ol:last-child,.rst-content dl dd>p:last-child,.rst-content dl dd>table:last-child,.rst-content dl dd>ul:last-child{margin-bottom:0}html.writer-html4 .rst-content dl:not(.docutils),html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple){margin-bottom:24px}html.writer-html4 .rst-content dl:not(.docutils)>dt,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple)>dt{display:table;margin:6px 0;font-size:90%;line-height:normal;background:#e7f2fa;color:#2980b9;border-top:3px solid #6ab0de;padding:6px;position:relative}html.writer-html4 .rst-content dl:not(.docutils)>dt:before,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple)>dt:before{color:#6ab0de}html.writer-html4 .rst-content dl:not(.docutils)>dt .headerlink,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple)>dt .headerlink{color:#404040;font-size:100%!important}html.writer-html4 .rst-content dl:not(.docutils) dl:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple)>dt,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) dl:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple)>dt{margin-bottom:6px;border:none;border-left:3px solid #ccc;background:#f0f0f0;color:#555}html.writer-html4 .rst-content dl:not(.docutils) dl:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple)>dt .headerlink,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) dl:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple)>dt .headerlink{color:#404040;font-size:100%!important}html.writer-html4 .rst-content dl:not(.docutils)>dt:first-child,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple)>dt:first-child{margin-top:0}html.writer-html4 .rst-content dl:not(.docutils) code.descclassname,html.writer-html4 .rst-content dl:not(.docutils) code.descname,html.writer-html4 .rst-content dl:not(.docutils) tt.descclassname,html.writer-html4 .rst-content dl:not(.docutils) tt.descname,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) code.descclassname,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) code.descname,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) tt.descclassname,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) tt.descname{background-color:transparent;border:none;padding:0;font-size:100%!important}html.writer-html4 .rst-content dl:not(.docutils) code.descname,html.writer-html4 .rst-content dl:not(.docutils) tt.descname,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) code.descname,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) tt.descname{font-weight:700}html.writer-html4 .rst-content dl:not(.docutils) .optional,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) .optional{display:inline-block;padding:0 4px;color:#000;font-weight:700}html.writer-html4 .rst-content dl:not(.docutils) .property,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) .property{display:inline-block;padding-right:8px;max-width:100%}html.writer-html4 .rst-content dl:not(.docutils) .k,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) .k{font-style:italic}html.writer-html4 .rst-content dl:not(.docutils) .descclassname,html.writer-html4 .rst-content dl:not(.docutils) .descname,html.writer-html4 .rst-content dl:not(.docutils) .sig-name,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) .descclassname,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) .descname,html.writer-html5 .rst-content dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.citation):not(.glossary):not(.simple) .sig-name{font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,Courier,monospace;color:#000}.rst-content .viewcode-back,.rst-content .viewcode-link{display:inline-block;color:#27ae60;font-size:80%;padding-left:24px}.rst-content .viewcode-back{display:block;float:right}.rst-content p.rubric{margin-bottom:12px;font-weight:700}.rst-content code.download,.rst-content tt.download{background:inherit;padding:inherit;font-weight:400;font-family:inherit;font-size:inherit;color:inherit;border:inherit;white-space:inherit}.rst-content code.download span:first-child,.rst-content tt.download span:first-child{-webkit-font-smoothing:subpixel-antialiased}.rst-content code.download span:first-child:before,.rst-content tt.download span:first-child:before{margin-right:4px}.rst-content .guilabel,.rst-content .menuselection{font-size:80%;font-weight:700;border-radius:4px;padding:2.4px 6px;margin:auto 2px}.rst-content .guilabel,.rst-content .menuselection{border:1px solid #7fbbe3;background:#e7f2fa}.rst-content :not(dl.option-list)>:not(dt):not(kbd):not(.kbd)>.kbd,.rst-content :not(dl.option-list)>:not(dt):not(kbd):not(.kbd)>kbd{color:inherit;font-size:80%;background-color:#fff;border:1px solid #a6a6a6;border-radius:4px;box-shadow:0 2px grey;padding:2.4px 6px;margin:auto 0}.rst-content .versionmodified{font-style:italic}@media screen and (max-width:480px){.rst-content .sidebar{width:100%}}span[id*=MathJax-Span]{color:#404040}.math{text-align:center}@font-face{font-family:Lato;src:url(fonts/lato-normal.woff2?bd03a2cc277bbbc338d464e679fe9942) format("woff2"),url(fonts/lato-normal.woff?27bd77b9162d388cb8d4c4217c7c5e2a) format("woff");font-weight:400;font-style:normal;font-display:block}@font-face{font-family:Lato;src:url(fonts/lato-bold.woff2?cccb897485813c7c256901dbca54ecf2) format("woff2"),url(fonts/lato-bold.woff?d878b6c29b10beca227e9eef4246111b) format("woff");font-weight:700;font-style:normal;font-display:block}@font-face{font-family:Lato;src:url(fonts/lato-bold-italic.woff2?0b6bb6725576b072c5d0b02ecdd1900d) format("woff2"),url(fonts/lato-bold-italic.woff?9c7e4e9eb485b4a121c760e61bc3707c) format("woff");font-weight:700;font-style:italic;font-display:block}@font-face{font-family:Lato;src:url(fonts/lato-normal-italic.woff2?4eb103b4d12be57cb1d040ed5e162e9d) format("woff2"),url(fonts/lato-normal-italic.woff?f28f2d6482446544ef1ea1ccc6dd5892) format("woff");font-weight:400;font-style:italic;font-display:block}@font-face{font-family:Roboto Slab;font-style:normal;font-weight:400;src:url(fonts/Roboto-Slab-Regular.woff2?7abf5b8d04d26a2cafea937019bca958) format("woff2"),url(fonts/Roboto-Slab-Regular.woff?c1be9284088d487c5e3ff0a10a92e58c) format("woff");font-display:block}@font-face{font-family:Roboto Slab;font-style:normal;font-weight:700;src:url(fonts/Roboto-Slab-Bold.woff2?9984f4a9bda09be08e83f2506954adbe) format("woff2"),url(fonts/Roboto-Slab-Bold.woff?bed5564a116b05148e3b3bea6fb1162a) format("woff");font-display:block} \ No newline at end of file diff --git a/tag/2.18.0/_static/doctools.js b/tag/2.18.0/_static/doctools.js new file mode 100644 index 000000000..d06a71d75 --- /dev/null +++ b/tag/2.18.0/_static/doctools.js @@ -0,0 +1,156 @@ +/* + * doctools.js + * ~~~~~~~~~~~ + * + * Base JavaScript utilities for all Sphinx HTML documentation. + * + * :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ +"use strict"; + +const BLACKLISTED_KEY_CONTROL_ELEMENTS = new Set([ + "TEXTAREA", + "INPUT", + "SELECT", + "BUTTON", +]); + +const _ready = (callback) => { + if (document.readyState !== "loading") { + callback(); + } else { + document.addEventListener("DOMContentLoaded", callback); + } +}; + +/** + * Small JavaScript module for the documentation. + */ +const Documentation = { + init: () => { + Documentation.initDomainIndexTable(); + Documentation.initOnKeyListeners(); + }, + + /** + * i18n support + */ + TRANSLATIONS: {}, + PLURAL_EXPR: (n) => (n === 1 ? 0 : 1), + LOCALE: "unknown", + + // gettext and ngettext don't access this so that the functions + // can safely bound to a different name (_ = Documentation.gettext) + gettext: (string) => { + const translated = Documentation.TRANSLATIONS[string]; + switch (typeof translated) { + case "undefined": + return string; // no translation + case "string": + return translated; // translation exists + default: + return translated[0]; // (singular, plural) translation tuple exists + } + }, + + ngettext: (singular, plural, n) => { + const translated = Documentation.TRANSLATIONS[singular]; + if (typeof translated !== "undefined") + return translated[Documentation.PLURAL_EXPR(n)]; + return n === 1 ? singular : plural; + }, + + addTranslations: (catalog) => { + Object.assign(Documentation.TRANSLATIONS, catalog.messages); + Documentation.PLURAL_EXPR = new Function( + "n", + `return (${catalog.plural_expr})` + ); + Documentation.LOCALE = catalog.locale; + }, + + /** + * helper function to focus on search bar + */ + focusSearchBar: () => { + document.querySelectorAll("input[name=q]")[0]?.focus(); + }, + + /** + * Initialise the domain index toggle buttons + */ + initDomainIndexTable: () => { + const toggler = (el) => { + const idNumber = el.id.substr(7); + const toggledRows = document.querySelectorAll(`tr.cg-${idNumber}`); + if (el.src.substr(-9) === "minus.png") { + el.src = `${el.src.substr(0, el.src.length - 9)}plus.png`; + toggledRows.forEach((el) => (el.style.display = "none")); + } else { + el.src = `${el.src.substr(0, el.src.length - 8)}minus.png`; + toggledRows.forEach((el) => (el.style.display = "")); + } + }; + + const togglerElements = document.querySelectorAll("img.toggler"); + togglerElements.forEach((el) => + el.addEventListener("click", (event) => toggler(event.currentTarget)) + ); + togglerElements.forEach((el) => (el.style.display = "")); + if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) togglerElements.forEach(toggler); + }, + + initOnKeyListeners: () => { + // only install a listener if it is really needed + if ( + !DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS && + !DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS + ) + return; + + document.addEventListener("keydown", (event) => { + // bail for input elements + if (BLACKLISTED_KEY_CONTROL_ELEMENTS.has(document.activeElement.tagName)) return; + // bail with special keys + if (event.altKey || event.ctrlKey || event.metaKey) return; + + if (!event.shiftKey) { + switch (event.key) { + case "ArrowLeft": + if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) break; + + const prevLink = document.querySelector('link[rel="prev"]'); + if (prevLink && prevLink.href) { + window.location.href = prevLink.href; + event.preventDefault(); + } + break; + case "ArrowRight": + if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) break; + + const nextLink = document.querySelector('link[rel="next"]'); + if (nextLink && nextLink.href) { + window.location.href = nextLink.href; + event.preventDefault(); + } + break; + } + } + + // some keyboard layouts may need Shift to get / + switch (event.key) { + case "/": + if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS) break; + Documentation.focusSearchBar(); + event.preventDefault(); + } + }); + }, +}; + +// quick alias for translations +const _ = Documentation.gettext; + +_ready(Documentation.init); diff --git a/tag/2.18.0/_static/documentation_options.js b/tag/2.18.0/_static/documentation_options.js new file mode 100644 index 000000000..1823c1bde --- /dev/null +++ b/tag/2.18.0/_static/documentation_options.js @@ -0,0 +1,13 @@ +const DOCUMENTATION_OPTIONS = { + VERSION: '', + LANGUAGE: 'en', + COLLAPSE_INDEX: false, + BUILDER: 'html', + FILE_SUFFIX: '.html', + LINK_SUFFIX: '.html', + HAS_SOURCE: false, + SOURCELINK_SUFFIX: '.txt', + NAVIGATION_WITH_KEYS: false, + SHOW_SEARCH_SUMMARY: true, + ENABLE_SEARCH_SHORTCUTS: true, +}; \ No newline at end of file diff --git a/tag/2.18.0/_static/file.png b/tag/2.18.0/_static/file.png new file mode 100644 index 000000000..a858a410e Binary files /dev/null and b/tag/2.18.0/_static/file.png differ diff --git a/tag/2.18.0/_static/images/Ansible-Mark-RGB_Black.png b/tag/2.18.0/_static/images/Ansible-Mark-RGB_Black.png new file mode 100644 index 000000000..0b4e72195 Binary files /dev/null and b/tag/2.18.0/_static/images/Ansible-Mark-RGB_Black.png differ diff --git a/tag/2.18.0/_static/images/Ansible-Mark-RGB_Black.svg b/tag/2.18.0/_static/images/Ansible-Mark-RGB_Black.svg new file mode 100644 index 000000000..c600b6ee9 --- /dev/null +++ b/tag/2.18.0/_static/images/Ansible-Mark-RGB_Black.svg @@ -0,0 +1,14 @@ + + + diff --git a/tag/2.18.0/_static/images/Ansible-Mark-RGB_White.png b/tag/2.18.0/_static/images/Ansible-Mark-RGB_White.png new file mode 100644 index 000000000..5754701af Binary files /dev/null and b/tag/2.18.0/_static/images/Ansible-Mark-RGB_White.png differ diff --git a/tag/2.18.0/_static/images/Ansible-Mark-RGB_White.svg b/tag/2.18.0/_static/images/Ansible-Mark-RGB_White.svg new file mode 100644 index 000000000..2275aecee --- /dev/null +++ b/tag/2.18.0/_static/images/Ansible-Mark-RGB_White.svg @@ -0,0 +1 @@ + diff --git a/tag/2.18.0/_static/jquery.js b/tag/2.18.0/_static/jquery.js new file mode 100644 index 000000000..c4c6022f2 --- /dev/null +++ b/tag/2.18.0/_static/jquery.js @@ -0,0 +1,2 @@ +/*! jQuery v3.6.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.0",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",y.option=!!ce.lastChild;var ge={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],Ut=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||S.expando+"_"+wt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ut,"$1"+r):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((_t=E.implementation.createHTMLDocument("").body).innerHTML="
",2===_t.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Fe(y.pixelPosition,function(e,t){if(t)return t=We(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=y.elements;return"string"==typeof a?a.split(" "):a}function e(a,b){var c=y.elements;"string"!=typeof c&&(c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),y.elements=c+" "+a,j(b)}function f(a){var b=x[a[v]];return b||(b={},w++,a[v]=w,x[w]=b),b}function g(a,c,d){if(c||(c=b),q)return c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.cache[a].cloneNode():u.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!e.canHaveChildren||t.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),q)return a.createDocumentFragment();c=c||f(a);for(var e=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);return e}function i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return y.shivMethods?g(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(y,b.frag)}function j(a){a||(a=b);var d=f(a);return!y.shivCSS||p||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),q||i(a,d),a}function k(a){for(var b,c=a.getElementsByTagName("*"),e=c.length,f=RegExp("^(?:"+d().join("|")+")$","i"),g=[];e--;)b=c[e],f.test(b.nodeName)&&g.push(b.applyElement(l(b)));return g}function l(a){for(var b,c=a.attributes,d=c.length,e=a.ownerDocument.createElement(A+":"+a.nodeName);d--;)b=c[d],b.specified&&e.setAttribute(b.nodeName,b.nodeValue);return e.style.cssText=a.style.cssText,e}function m(a){for(var b,c=a.split("{"),e=c.length,f=RegExp("(^|[\\s,>+~])("+d().join("|")+")(?=[[\\s,>+~#.:]|$)","gi"),g="$1"+A+"\\:$2";e--;)b=c[e]=c[e].split("}"),b[b.length-1]=b[b.length-1].replace(f,g),c[e]=b.join("}");return c.join("{")}function n(a){for(var b=a.length;b--;)a[b].removeNode()}function o(a){function b(){clearTimeout(g._removeSheetTimer),d&&d.removeNode(!0),d=null}var d,e,g=f(a),h=a.namespaces,i=a.parentWindow;return!B||a.printShived?a:("undefined"==typeof h[A]&&h.add(A),i.attachEvent("onbeforeprint",function(){b();for(var f,g,h,i=a.styleSheets,j=[],l=i.length,n=Array(l);l--;)n[l]=i[l];for(;h=n.pop();)if(!h.disabled&&z.test(h.media)){try{f=h.imports,g=f.length}catch(o){g=0}for(l=0;g>l;l++)n.push(f[l]);try{j.push(h.cssText)}catch(o){}}j=m(j.reverse().join("")),e=k(a),d=c(a,j)}),i.attachEvent("onafterprint",function(){n(e),clearTimeout(g._removeSheetTimer),g._removeSheetTimer=setTimeout(b,500)}),a.printShived=!0,a)}var p,q,r="3.7.3",s=a.html5||{},t=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,u=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,v="_html5shiv",w=0,x={};!function(){try{var a=b.createElement("a");a.innerHTML="",p="hidden"in a,q=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){p=!0,q=!0}}();var y={elements:s.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:r,shivCSS:s.shivCSS!==!1,supportsUnknownElements:q,shivMethods:s.shivMethods!==!1,type:"default",shivDocument:j,createElement:g,createDocumentFragment:h,addElements:e};a.html5=y,j(b);var z=/^$|\b(?:all|print)\b/,A="html5shiv",B=!q&&function(){var c=b.documentElement;return!("undefined"==typeof b.namespaces||"undefined"==typeof b.parentWindow||"undefined"==typeof c.applyElement||"undefined"==typeof c.removeNode||"undefined"==typeof a.attachEvent)}();y.type+=" print",y.shivPrint=o,o(b),"object"==typeof module&&module.exports&&(module.exports=y)}("undefined"!=typeof window?window:this,document); \ No newline at end of file diff --git a/tag/2.18.0/_static/js/html5shiv.min.js b/tag/2.18.0/_static/js/html5shiv.min.js new file mode 100644 index 000000000..cd1c674f5 --- /dev/null +++ b/tag/2.18.0/_static/js/html5shiv.min.js @@ -0,0 +1,4 @@ +/** +* @preserve HTML5 Shiv 3.7.3 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed +*/ +!function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=t.elements;return"string"==typeof a?a.split(" "):a}function e(a,b){var c=t.elements;"string"!=typeof c&&(c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),t.elements=c+" "+a,j(b)}function f(a){var b=s[a[q]];return b||(b={},r++,a[q]=r,s[r]=b),b}function g(a,c,d){if(c||(c=b),l)return c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.cache[a].cloneNode():p.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!e.canHaveChildren||o.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),l)return a.createDocumentFragment();c=c||f(a);for(var e=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);return e}function i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return t.shivMethods?g(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(t,b.frag)}function j(a){a||(a=b);var d=f(a);return!t.shivCSS||k||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),l||i(a,d),a}var k,l,m="3.7.3-pre",n=a.html5||{},o=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,q="_html5shiv",r=0,s={};!function(){try{var a=b.createElement("a");a.innerHTML="",k="hidden"in a,l=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){k=!0,l=!0}}();var t={elements:n.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:m,shivCSS:n.shivCSS!==!1,supportsUnknownElements:l,shivMethods:n.shivMethods!==!1,type:"default",shivDocument:j,createElement:g,createDocumentFragment:h,addElements:e};a.html5=t,j(b),"object"==typeof module&&module.exports&&(module.exports=t)}("undefined"!=typeof window?window:this,document); \ No newline at end of file diff --git a/tag/2.18.0/_static/js/theme.js b/tag/2.18.0/_static/js/theme.js new file mode 100644 index 000000000..1fddb6ee4 --- /dev/null +++ b/tag/2.18.0/_static/js/theme.js @@ -0,0 +1 @@ +!function(n){var e={};function t(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return n[i].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=n,t.c=e,t.d=function(n,e,i){t.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:i})},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,e){if(1&e&&(n=t(n)),8&e)return n;if(4&e&&"object"==typeof n&&n&&n.__esModule)return n;var i=Object.create(null);if(t.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var o in n)t.d(i,o,function(e){return n[e]}.bind(null,o));return i},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},t.p="",t(t.s=0)}([function(n,e,t){t(1),n.exports=t(3)},function(n,e,t){(function(){var e="undefined"!=typeof window?window.jQuery:t(2);n.exports.ThemeNav={navBar:null,win:null,winScroll:!1,winResize:!1,linkScroll:!1,winPosition:0,winHeight:null,docHeight:null,isRunning:!1,enable:function(n){var t=this;void 0===n&&(n=!0),t.isRunning||(t.isRunning=!0,e((function(e){t.init(e),t.reset(),t.win.on("hashchange",t.reset),n&&t.win.on("scroll",(function(){t.linkScroll||t.winScroll||(t.winScroll=!0,requestAnimationFrame((function(){t.onScroll()})))})),t.win.on("resize",(function(){t.winResize||(t.winResize=!0,requestAnimationFrame((function(){t.onResize()})))})),t.onResize()})))},enableSticky:function(){this.enable(!0)},init:function(n){n(document);var e=this;this.navBar=n("div.wy-side-scroll:first"),this.win=n(window),n(document).on("click","[data-toggle='wy-nav-top']",(function(){n("[data-toggle='wy-nav-shift']").toggleClass("shift"),n("[data-toggle='rst-versions']").toggleClass("shift")})).on("click",".wy-menu-vertical .current ul li a",(function(){var t=n(this);n("[data-toggle='wy-nav-shift']").removeClass("shift"),n("[data-toggle='rst-versions']").toggleClass("shift"),e.toggleCurrent(t),e.hashChange()})).on("click","[data-toggle='rst-current-version']",(function(){n("[data-toggle='rst-versions']").toggleClass("shift-up")})),n("table.docutils:not(.field-list,.footnote,.citation)").wrap("
"),n("table.docutils.footnote").wrap("
"),n("table.docutils.citation").wrap("
"),n(".wy-menu-vertical ul").not(".simple").siblings("a").each((function(){var t=n(this);expand=n(''),expand.on("click",(function(n){return e.toggleCurrent(t),n.stopPropagation(),!1})),t.prepend(expand)}))},reset:function(){var n=encodeURI(window.location.hash)||"#";try{var e=$(".wy-menu-vertical"),t=e.find('[href="'+n+'"]');if(0===t.length){var i=$('.document [id="'+n.substring(1)+'"]').closest("div.section");0===(t=e.find('[href="#'+i.attr("id")+'"]')).length&&(t=e.find('[href="#"]'))}if(t.length>0){$(".wy-menu-vertical .current").removeClass("current").attr("aria-expanded","false"),t.addClass("current").attr("aria-expanded","true"),t.closest("li.toctree-l1").parent().addClass("current").attr("aria-expanded","true");for(let n=1;n<=10;n++)t.closest("li.toctree-l"+n).addClass("current").attr("aria-expanded","true");t[0].scrollIntoView()}}catch(n){console.log("Error expanding nav for anchor",n)}},onScroll:function(){this.winScroll=!1;var n=this.win.scrollTop(),e=n+this.winHeight,t=this.navBar.scrollTop()+(n-this.winPosition);n<0||e>this.docHeight||(this.navBar.scrollTop(t),this.winPosition=n)},onResize:function(){this.winResize=!1,this.winHeight=this.win.height(),this.docHeight=$(document).height()},hashChange:function(){this.linkScroll=!0,this.win.one("hashchange",(function(){this.linkScroll=!1}))},toggleCurrent:function(n){var e=n.closest("li");e.siblings("li.current").removeClass("current").attr("aria-expanded","false"),e.siblings().find("li.current").removeClass("current").attr("aria-expanded","false");var t=e.find("> ul li");t.length&&(t.removeClass("current").attr("aria-expanded","false"),e.toggleClass("current").attr("aria-expanded",(function(n,e){return"true"==e?"false":"true"})))}},"undefined"!=typeof window&&(window.SphinxRtdTheme={Navigation:n.exports.ThemeNav,StickyNav:n.exports.ThemeNav}),function(){for(var n=0,e=["ms","moz","webkit","o"],t=0;t0 + var meq1 = "^(" + C + ")?" + V + C + "(" + V + ")?$"; // [C]VC[V] is m=1 + var mgr1 = "^(" + C + ")?" + V + C + V + C; // [C]VCVC... is m>1 + var s_v = "^(" + C + ")?" + v; // vowel in stem + + this.stemWord = function (w) { + var stem; + var suffix; + var firstch; + var origword = w; + + if (w.length < 3) + return w; + + var re; + var re2; + var re3; + var re4; + + firstch = w.substr(0,1); + if (firstch == "y") + w = firstch.toUpperCase() + w.substr(1); + + // Step 1a + re = /^(.+?)(ss|i)es$/; + re2 = /^(.+?)([^s])s$/; + + if (re.test(w)) + w = w.replace(re,"$1$2"); + else if (re2.test(w)) + w = w.replace(re2,"$1$2"); + + // Step 1b + re = /^(.+?)eed$/; + re2 = /^(.+?)(ed|ing)$/; + if (re.test(w)) { + var fp = re.exec(w); + re = new RegExp(mgr0); + if (re.test(fp[1])) { + re = /.$/; + w = w.replace(re,""); + } + } + else if (re2.test(w)) { + var fp = re2.exec(w); + stem = fp[1]; + re2 = new RegExp(s_v); + if (re2.test(stem)) { + w = stem; + re2 = /(at|bl|iz)$/; + re3 = new RegExp("([^aeiouylsz])\\1$"); + re4 = new RegExp("^" + C + v + "[^aeiouwxy]$"); + if (re2.test(w)) + w = w + "e"; + else if (re3.test(w)) { + re = /.$/; + w = w.replace(re,""); + } + else if (re4.test(w)) + w = w + "e"; + } + } + + // Step 1c + re = /^(.+?)y$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(s_v); + if (re.test(stem)) + w = stem + "i"; + } + + // Step 2 + re = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + suffix = fp[2]; + re = new RegExp(mgr0); + if (re.test(stem)) + w = stem + step2list[suffix]; + } + + // Step 3 + re = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + suffix = fp[2]; + re = new RegExp(mgr0); + if (re.test(stem)) + w = stem + step3list[suffix]; + } + + // Step 4 + re = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/; + re2 = /^(.+?)(s|t)(ion)$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(mgr1); + if (re.test(stem)) + w = stem; + } + else if (re2.test(w)) { + var fp = re2.exec(w); + stem = fp[1] + fp[2]; + re2 = new RegExp(mgr1); + if (re2.test(stem)) + w = stem; + } + + // Step 5 + re = /^(.+?)e$/; + if (re.test(w)) { + var fp = re.exec(w); + stem = fp[1]; + re = new RegExp(mgr1); + re2 = new RegExp(meq1); + re3 = new RegExp("^" + C + v + "[^aeiouwxy]$"); + if (re.test(stem) || (re2.test(stem) && !(re3.test(stem)))) + w = stem; + } + re = /ll$/; + re2 = new RegExp(mgr1); + if (re.test(w) && re2.test(w)) { + re = /.$/; + w = w.replace(re,""); + } + + // and turn initial Y back to y + if (firstch == "y") + w = firstch.toLowerCase() + w.substr(1); + return w; + } +} + diff --git a/tag/2.18.0/_static/minus.png b/tag/2.18.0/_static/minus.png new file mode 100644 index 000000000..d96755fda Binary files /dev/null and b/tag/2.18.0/_static/minus.png differ diff --git a/tag/2.18.0/_static/plus.png b/tag/2.18.0/_static/plus.png new file mode 100644 index 000000000..7107cec93 Binary files /dev/null and b/tag/2.18.0/_static/plus.png differ diff --git a/tag/2.18.0/_static/pygments.css b/tag/2.18.0/_static/pygments.css new file mode 100644 index 000000000..fddd1811d --- /dev/null +++ b/tag/2.18.0/_static/pygments.css @@ -0,0 +1,81 @@ +pre { line-height: 125%; } +td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } +span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } +td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } +span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } +.highlight .hll { background-color: #ffffcc; border: 1px solid #edff00; padding-top: 2px; border-radius: 3px; display: block } +.highlight { background: #f8f8f8; } +.highlight .c { color: #6a737d; font-style: italic } /* Comment */ +.highlight .err { color: #a61717; background-color: #e3d2d2; border: 1px solid #FF0000 } /* Error */ +.highlight .k { color: #007020; font-weight: bold } /* Keyword */ +.highlight .l { color: #032f62 } /* Literal */ +.highlight .n { color: #333333 } /* Name */ +.highlight .o { color: #666666; font-weight: bold } /* Operator */ +.highlight .p { font-weight: bold } /* Punctuation */ +.highlight .ch { color: #6a737d; font-style: italic } /* Comment.Hashbang */ +.highlight .cm { color: #6a737d; font-style: italic } /* Comment.Multiline */ +.highlight .cp { color: #007020 } /* Comment.Preproc */ +.highlight .cpf { color: #6a737d; font-style: italic } /* Comment.PreprocFile */ +.highlight .c1 { color: #6a737d; font-style: italic } /* Comment.Single */ +.highlight .cs { color: #999999; font-weight: bold; font-style: italic; background-color: #fff0f0 } /* Comment.Special */ +.highlight .gd { color: #A00000; background-color: #ffdddd } /* Generic.Deleted */ +.highlight .ge { font-style: italic } /* Generic.Emph */ +.highlight .gr { color: #aa0000 } /* Generic.Error */ +.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */ +.highlight .gi { color: #00A000; background-color: #ddffdd } /* Generic.Inserted */ +.highlight .go { color: #333333 } /* Generic.Output */ +.highlight .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */ +.highlight .gs { font-weight: bold } /* Generic.Strong */ +.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ +.highlight .gt { color: #0040D0 } /* Generic.Traceback */ +.highlight .kc { color: #007020; font-weight: bold } /* Keyword.Constant */ +.highlight .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */ +.highlight .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */ +.highlight .kp { color: #007020; font-weight: bold } /* Keyword.Pseudo */ +.highlight .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */ +.highlight .kt { color: #902000; font-weight: bold } /* Keyword.Type */ +.highlight .ld { color: #032f62 } /* Literal.Date */ +.highlight .m { color: #208050 } /* Literal.Number */ +.highlight .s { color: #4070a0 } /* Literal.String */ +.highlight .na { color: #008080 } /* Name.Attribute */ +.highlight .nb { color: #0086b3 } /* Name.Builtin */ +.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */ +.highlight .no { color: #008080 } /* Name.Constant */ +.highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */ +.highlight .ni { color: #800080; font-weight: bold } /* Name.Entity */ +.highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */ +.highlight .nf { color: #990000; font-weight: bold } /* Name.Function */ +.highlight .nl { color: #002070; font-weight: bold } /* Name.Label */ +.highlight .nn { color: #555555; font-weight: bold } /* Name.Namespace */ +.highlight .nx { color: #333333 } /* Name.Other */ +.highlight .py { color: #333333 } /* Name.Property */ +.highlight .nt { color: #22863a; font-weight: bold } /* Name.Tag */ +.highlight .nv { color: #9960b5; font-weight: bold } /* Name.Variable */ +.highlight .ow { color: #007020; font-weight: bold } /* Operator.Word */ +.highlight .pm { font-weight: bold } /* Punctuation.Marker */ +.highlight .w { color: #bbbbbb } /* Text.Whitespace */ +.highlight .mb { color: #009999 } /* Literal.Number.Bin */ +.highlight .mf { color: #009999 } /* Literal.Number.Float */ +.highlight .mh { color: #009999 } /* Literal.Number.Hex */ +.highlight .mi { color: #009999 } /* Literal.Number.Integer */ +.highlight .mo { color: #009999 } /* Literal.Number.Oct */ +.highlight .sa { color: #dd1144 } /* Literal.String.Affix */ +.highlight .sb { color: #dd1144 } /* Literal.String.Backtick */ +.highlight .sc { color: #dd1144 } /* Literal.String.Char */ +.highlight .dl { color: #dd1144 } /* Literal.String.Delimiter */ +.highlight .sd { color: #dd1144; font-style: italic } /* Literal.String.Doc */ +.highlight .s2 { color: #dd1144 } /* Literal.String.Double */ +.highlight .se { color: #dd1144; font-weight: bold } /* Literal.String.Escape */ +.highlight .sh { color: #dd1144 } /* Literal.String.Heredoc */ +.highlight .si { color: #dd1144; font-style: italic } /* Literal.String.Interpol */ +.highlight .sx { color: #dd1144 } /* Literal.String.Other */ +.highlight .sr { color: #009926 } /* Literal.String.Regex */ +.highlight .s1 { color: #dd1144 } /* Literal.String.Single */ +.highlight .ss { color: #990073 } /* Literal.String.Symbol */ +.highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */ +.highlight .fm { color: #06287e; font-weight: bold } /* Name.Function.Magic */ +.highlight .vc { color: #008080; font-weight: bold } /* Name.Variable.Class */ +.highlight .vg { color: #008080; font-weight: bold } /* Name.Variable.Global */ +.highlight .vi { color: #008080; font-weight: bold } /* Name.Variable.Instance */ +.highlight .vm { color: #bb60d5; font-weight: bold } /* Name.Variable.Magic */ +.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */ \ No newline at end of file diff --git a/tag/2.18.0/_static/searchtools.js b/tag/2.18.0/_static/searchtools.js new file mode 100644 index 000000000..7918c3fab --- /dev/null +++ b/tag/2.18.0/_static/searchtools.js @@ -0,0 +1,574 @@ +/* + * searchtools.js + * ~~~~~~~~~~~~~~~~ + * + * Sphinx JavaScript utilities for the full-text search. + * + * :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ +"use strict"; + +/** + * Simple result scoring code. + */ +if (typeof Scorer === "undefined") { + var Scorer = { + // Implement the following function to further tweak the score for each result + // The function takes a result array [docname, title, anchor, descr, score, filename] + // and returns the new score. + /* + score: result => { + const [docname, title, anchor, descr, score, filename] = result + return score + }, + */ + + // query matches the full name of an object + objNameMatch: 11, + // or matches in the last dotted part of the object name + objPartialMatch: 6, + // Additive scores depending on the priority of the object + objPrio: { + 0: 15, // used to be importantResults + 1: 5, // used to be objectResults + 2: -5, // used to be unimportantResults + }, + // Used when the priority is not in the mapping. + objPrioDefault: 0, + + // query found in title + title: 15, + partialTitle: 7, + // query found in terms + term: 5, + partialTerm: 2, + }; +} + +const _removeChildren = (element) => { + while (element && element.lastChild) element.removeChild(element.lastChild); +}; + +/** + * See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#escaping + */ +const _escapeRegExp = (string) => + string.replace(/[.*+\-?^${}()|[\]\\]/g, "\\$&"); // $& means the whole matched string + +const _displayItem = (item, searchTerms, highlightTerms) => { + const docBuilder = DOCUMENTATION_OPTIONS.BUILDER; + const docFileSuffix = DOCUMENTATION_OPTIONS.FILE_SUFFIX; + const docLinkSuffix = DOCUMENTATION_OPTIONS.LINK_SUFFIX; + const showSearchSummary = DOCUMENTATION_OPTIONS.SHOW_SEARCH_SUMMARY; + const contentRoot = document.documentElement.dataset.content_root; + + const [docName, title, anchor, descr, score, _filename] = item; + + let listItem = document.createElement("li"); + let requestUrl; + let linkUrl; + if (docBuilder === "dirhtml") { + // dirhtml builder + let dirname = docName + "/"; + if (dirname.match(/\/index\/$/)) + dirname = dirname.substring(0, dirname.length - 6); + else if (dirname === "index/") dirname = ""; + requestUrl = contentRoot + dirname; + linkUrl = requestUrl; + } else { + // normal html builders + requestUrl = contentRoot + docName + docFileSuffix; + linkUrl = docName + docLinkSuffix; + } + let linkEl = listItem.appendChild(document.createElement("a")); + linkEl.href = linkUrl + anchor; + linkEl.dataset.score = score; + linkEl.innerHTML = title; + if (descr) { + listItem.appendChild(document.createElement("span")).innerHTML = + " (" + descr + ")"; + // highlight search terms in the description + if (SPHINX_HIGHLIGHT_ENABLED) // set in sphinx_highlight.js + highlightTerms.forEach((term) => _highlightText(listItem, term, "highlighted")); + } + else if (showSearchSummary) + fetch(requestUrl) + .then((responseData) => responseData.text()) + .then((data) => { + if (data) + listItem.appendChild( + Search.makeSearchSummary(data, searchTerms) + ); + // highlight search terms in the summary + if (SPHINX_HIGHLIGHT_ENABLED) // set in sphinx_highlight.js + highlightTerms.forEach((term) => _highlightText(listItem, term, "highlighted")); + }); + Search.output.appendChild(listItem); +}; +const _finishSearch = (resultCount) => { + Search.stopPulse(); + Search.title.innerText = _("Search Results"); + if (!resultCount) + Search.status.innerText = Documentation.gettext( + "Your search did not match any documents. Please make sure that all words are spelled correctly and that you've selected enough categories." + ); + else + Search.status.innerText = _( + `Search finished, found ${resultCount} page(s) matching the search query.` + ); +}; +const _displayNextItem = ( + results, + resultCount, + searchTerms, + highlightTerms, +) => { + // results left, load the summary and display it + // this is intended to be dynamic (don't sub resultsCount) + if (results.length) { + _displayItem(results.pop(), searchTerms, highlightTerms); + setTimeout( + () => _displayNextItem(results, resultCount, searchTerms, highlightTerms), + 5 + ); + } + // search finished, update title and status message + else _finishSearch(resultCount); +}; + +/** + * Default splitQuery function. Can be overridden in ``sphinx.search`` with a + * custom function per language. + * + * The regular expression works by splitting the string on consecutive characters + * that are not Unicode letters, numbers, underscores, or emoji characters. + * This is the same as ``\W+`` in Python, preserving the surrogate pair area. + */ +if (typeof splitQuery === "undefined") { + var splitQuery = (query) => query + .split(/[^\p{Letter}\p{Number}_\p{Emoji_Presentation}]+/gu) + .filter(term => term) // remove remaining empty strings +} + +/** + * Search Module + */ +const Search = { + _index: null, + _queued_query: null, + _pulse_status: -1, + + htmlToText: (htmlString) => { + const htmlElement = new DOMParser().parseFromString(htmlString, 'text/html'); + htmlElement.querySelectorAll(".headerlink").forEach((el) => { el.remove() }); + const docContent = htmlElement.querySelector('[role="main"]'); + if (docContent !== undefined) return docContent.textContent; + console.warn( + "Content block not found. Sphinx search tries to obtain it via '[role=main]'. Could you check your theme or template." + ); + return ""; + }, + + init: () => { + const query = new URLSearchParams(window.location.search).get("q"); + document + .querySelectorAll('input[name="q"]') + .forEach((el) => (el.value = query)); + if (query) Search.performSearch(query); + }, + + loadIndex: (url) => + (document.body.appendChild(document.createElement("script")).src = url), + + setIndex: (index) => { + Search._index = index; + if (Search._queued_query !== null) { + const query = Search._queued_query; + Search._queued_query = null; + Search.query(query); + } + }, + + hasIndex: () => Search._index !== null, + + deferQuery: (query) => (Search._queued_query = query), + + stopPulse: () => (Search._pulse_status = -1), + + startPulse: () => { + if (Search._pulse_status >= 0) return; + + const pulse = () => { + Search._pulse_status = (Search._pulse_status + 1) % 4; + Search.dots.innerText = ".".repeat(Search._pulse_status); + if (Search._pulse_status >= 0) window.setTimeout(pulse, 500); + }; + pulse(); + }, + + /** + * perform a search for something (or wait until index is loaded) + */ + performSearch: (query) => { + // create the required interface elements + const searchText = document.createElement("h2"); + searchText.textContent = _("Searching"); + const searchSummary = document.createElement("p"); + searchSummary.classList.add("search-summary"); + searchSummary.innerText = ""; + const searchList = document.createElement("ul"); + searchList.classList.add("search"); + + const out = document.getElementById("search-results"); + Search.title = out.appendChild(searchText); + Search.dots = Search.title.appendChild(document.createElement("span")); + Search.status = out.appendChild(searchSummary); + Search.output = out.appendChild(searchList); + + const searchProgress = document.getElementById("search-progress"); + // Some themes don't use the search progress node + if (searchProgress) { + searchProgress.innerText = _("Preparing search..."); + } + Search.startPulse(); + + // index already loaded, the browser was quick! + if (Search.hasIndex()) Search.query(query); + else Search.deferQuery(query); + }, + + /** + * execute search (requires search index to be loaded) + */ + query: (query) => { + const filenames = Search._index.filenames; + const docNames = Search._index.docnames; + const titles = Search._index.titles; + const allTitles = Search._index.alltitles; + const indexEntries = Search._index.indexentries; + + // stem the search terms and add them to the correct list + const stemmer = new Stemmer(); + const searchTerms = new Set(); + const excludedTerms = new Set(); + const highlightTerms = new Set(); + const objectTerms = new Set(splitQuery(query.toLowerCase().trim())); + splitQuery(query.trim()).forEach((queryTerm) => { + const queryTermLower = queryTerm.toLowerCase(); + + // maybe skip this "word" + // stopwords array is from language_data.js + if ( + stopwords.indexOf(queryTermLower) !== -1 || + queryTerm.match(/^\d+$/) + ) + return; + + // stem the word + let word = stemmer.stemWord(queryTermLower); + // select the correct list + if (word[0] === "-") excludedTerms.add(word.substr(1)); + else { + searchTerms.add(word); + highlightTerms.add(queryTermLower); + } + }); + + if (SPHINX_HIGHLIGHT_ENABLED) { // set in sphinx_highlight.js + localStorage.setItem("sphinx_highlight_terms", [...highlightTerms].join(" ")) + } + + // console.debug("SEARCH: searching for:"); + // console.info("required: ", [...searchTerms]); + // console.info("excluded: ", [...excludedTerms]); + + // array of [docname, title, anchor, descr, score, filename] + let results = []; + _removeChildren(document.getElementById("search-progress")); + + const queryLower = query.toLowerCase(); + for (const [title, foundTitles] of Object.entries(allTitles)) { + if (title.toLowerCase().includes(queryLower) && (queryLower.length >= title.length/2)) { + for (const [file, id] of foundTitles) { + let score = Math.round(100 * queryLower.length / title.length) + results.push([ + docNames[file], + titles[file] !== title ? `${titles[file]} > ${title}` : title, + id !== null ? "#" + id : "", + null, + score, + filenames[file], + ]); + } + } + } + + // search for explicit entries in index directives + for (const [entry, foundEntries] of Object.entries(indexEntries)) { + if (entry.includes(queryLower) && (queryLower.length >= entry.length/2)) { + for (const [file, id] of foundEntries) { + let score = Math.round(100 * queryLower.length / entry.length) + results.push([ + docNames[file], + titles[file], + id ? "#" + id : "", + null, + score, + filenames[file], + ]); + } + } + } + + // lookup as object + objectTerms.forEach((term) => + results.push(...Search.performObjectSearch(term, objectTerms)) + ); + + // lookup as search terms in fulltext + results.push(...Search.performTermsSearch(searchTerms, excludedTerms)); + + // let the scorer override scores with a custom scoring function + if (Scorer.score) results.forEach((item) => (item[4] = Scorer.score(item))); + + // now sort the results by score (in opposite order of appearance, since the + // display function below uses pop() to retrieve items) and then + // alphabetically + results.sort((a, b) => { + const leftScore = a[4]; + const rightScore = b[4]; + if (leftScore === rightScore) { + // same score: sort alphabetically + const leftTitle = a[1].toLowerCase(); + const rightTitle = b[1].toLowerCase(); + if (leftTitle === rightTitle) return 0; + return leftTitle > rightTitle ? -1 : 1; // inverted is intentional + } + return leftScore > rightScore ? 1 : -1; + }); + + // remove duplicate search results + // note the reversing of results, so that in the case of duplicates, the highest-scoring entry is kept + let seen = new Set(); + results = results.reverse().reduce((acc, result) => { + let resultStr = result.slice(0, 4).concat([result[5]]).map(v => String(v)).join(','); + if (!seen.has(resultStr)) { + acc.push(result); + seen.add(resultStr); + } + return acc; + }, []); + + results = results.reverse(); + + // for debugging + //Search.lastresults = results.slice(); // a copy + // console.info("search results:", Search.lastresults); + + // print the results + _displayNextItem(results, results.length, searchTerms, highlightTerms); + }, + + /** + * search for object names + */ + performObjectSearch: (object, objectTerms) => { + const filenames = Search._index.filenames; + const docNames = Search._index.docnames; + const objects = Search._index.objects; + const objNames = Search._index.objnames; + const titles = Search._index.titles; + + const results = []; + + const objectSearchCallback = (prefix, match) => { + const name = match[4] + const fullname = (prefix ? prefix + "." : "") + name; + const fullnameLower = fullname.toLowerCase(); + if (fullnameLower.indexOf(object) < 0) return; + + let score = 0; + const parts = fullnameLower.split("."); + + // check for different match types: exact matches of full name or + // "last name" (i.e. last dotted part) + if (fullnameLower === object || parts.slice(-1)[0] === object) + score += Scorer.objNameMatch; + else if (parts.slice(-1)[0].indexOf(object) > -1) + score += Scorer.objPartialMatch; // matches in last name + + const objName = objNames[match[1]][2]; + const title = titles[match[0]]; + + // If more than one term searched for, we require other words to be + // found in the name/title/description + const otherTerms = new Set(objectTerms); + otherTerms.delete(object); + if (otherTerms.size > 0) { + const haystack = `${prefix} ${name} ${objName} ${title}`.toLowerCase(); + if ( + [...otherTerms].some((otherTerm) => haystack.indexOf(otherTerm) < 0) + ) + return; + } + + let anchor = match[3]; + if (anchor === "") anchor = fullname; + else if (anchor === "-") anchor = objNames[match[1]][1] + "-" + fullname; + + const descr = objName + _(", in ") + title; + + // add custom score for some objects according to scorer + if (Scorer.objPrio.hasOwnProperty(match[2])) + score += Scorer.objPrio[match[2]]; + else score += Scorer.objPrioDefault; + + results.push([ + docNames[match[0]], + fullname, + "#" + anchor, + descr, + score, + filenames[match[0]], + ]); + }; + Object.keys(objects).forEach((prefix) => + objects[prefix].forEach((array) => + objectSearchCallback(prefix, array) + ) + ); + return results; + }, + + /** + * search for full-text terms in the index + */ + performTermsSearch: (searchTerms, excludedTerms) => { + // prepare search + const terms = Search._index.terms; + const titleTerms = Search._index.titleterms; + const filenames = Search._index.filenames; + const docNames = Search._index.docnames; + const titles = Search._index.titles; + + const scoreMap = new Map(); + const fileMap = new Map(); + + // perform the search on the required terms + searchTerms.forEach((word) => { + const files = []; + const arr = [ + { files: terms[word], score: Scorer.term }, + { files: titleTerms[word], score: Scorer.title }, + ]; + // add support for partial matches + if (word.length > 2) { + const escapedWord = _escapeRegExp(word); + Object.keys(terms).forEach((term) => { + if (term.match(escapedWord) && !terms[word]) + arr.push({ files: terms[term], score: Scorer.partialTerm }); + }); + Object.keys(titleTerms).forEach((term) => { + if (term.match(escapedWord) && !titleTerms[word]) + arr.push({ files: titleTerms[word], score: Scorer.partialTitle }); + }); + } + + // no match but word was a required one + if (arr.every((record) => record.files === undefined)) return; + + // found search word in contents + arr.forEach((record) => { + if (record.files === undefined) return; + + let recordFiles = record.files; + if (recordFiles.length === undefined) recordFiles = [recordFiles]; + files.push(...recordFiles); + + // set score for the word in each file + recordFiles.forEach((file) => { + if (!scoreMap.has(file)) scoreMap.set(file, {}); + scoreMap.get(file)[word] = record.score; + }); + }); + + // create the mapping + files.forEach((file) => { + if (fileMap.has(file) && fileMap.get(file).indexOf(word) === -1) + fileMap.get(file).push(word); + else fileMap.set(file, [word]); + }); + }); + + // now check if the files don't contain excluded terms + const results = []; + for (const [file, wordList] of fileMap) { + // check if all requirements are matched + + // as search terms with length < 3 are discarded + const filteredTermCount = [...searchTerms].filter( + (term) => term.length > 2 + ).length; + if ( + wordList.length !== searchTerms.size && + wordList.length !== filteredTermCount + ) + continue; + + // ensure that none of the excluded terms is in the search result + if ( + [...excludedTerms].some( + (term) => + terms[term] === file || + titleTerms[term] === file || + (terms[term] || []).includes(file) || + (titleTerms[term] || []).includes(file) + ) + ) + break; + + // select one (max) score for the file. + const score = Math.max(...wordList.map((w) => scoreMap.get(file)[w])); + // add result to the result list + results.push([ + docNames[file], + titles[file], + "", + null, + score, + filenames[file], + ]); + } + return results; + }, + + /** + * helper function to return a node containing the + * search summary for a given text. keywords is a list + * of stemmed words. + */ + makeSearchSummary: (htmlText, keywords) => { + const text = Search.htmlToText(htmlText); + if (text === "") return null; + + const textLower = text.toLowerCase(); + const actualStartPosition = [...keywords] + .map((k) => textLower.indexOf(k.toLowerCase())) + .filter((i) => i > -1) + .slice(-1)[0]; + const startWithContext = Math.max(actualStartPosition - 120, 0); + + const top = startWithContext === 0 ? "" : "..."; + const tail = startWithContext + 240 < text.length ? "..." : ""; + + let summary = document.createElement("p"); + summary.classList.add("context"); + summary.textContent = top + text.substr(startWithContext, 240).trim() + tail; + + return summary; + }, +}; + +_ready(Search.init); diff --git a/tag/2.18.0/_static/sphinx_highlight.js b/tag/2.18.0/_static/sphinx_highlight.js new file mode 100644 index 000000000..8a96c69a1 --- /dev/null +++ b/tag/2.18.0/_static/sphinx_highlight.js @@ -0,0 +1,154 @@ +/* Highlighting utilities for Sphinx HTML documentation. */ +"use strict"; + +const SPHINX_HIGHLIGHT_ENABLED = true + +/** + * highlight a given string on a node by wrapping it in + * span elements with the given class name. + */ +const _highlight = (node, addItems, text, className) => { + if (node.nodeType === Node.TEXT_NODE) { + const val = node.nodeValue; + const parent = node.parentNode; + const pos = val.toLowerCase().indexOf(text); + if ( + pos >= 0 && + !parent.classList.contains(className) && + !parent.classList.contains("nohighlight") + ) { + let span; + + const closestNode = parent.closest("body, svg, foreignObject"); + const isInSVG = closestNode && closestNode.matches("svg"); + if (isInSVG) { + span = document.createElementNS("http://www.w3.org/2000/svg", "tspan"); + } else { + span = document.createElement("span"); + span.classList.add(className); + } + + span.appendChild(document.createTextNode(val.substr(pos, text.length))); + const rest = document.createTextNode(val.substr(pos + text.length)); + parent.insertBefore( + span, + parent.insertBefore( + rest, + node.nextSibling + ) + ); + node.nodeValue = val.substr(0, pos); + /* There may be more occurrences of search term in this node. So call this + * function recursively on the remaining fragment. + */ + _highlight(rest, addItems, text, className); + + if (isInSVG) { + const rect = document.createElementNS( + "http://www.w3.org/2000/svg", + "rect" + ); + const bbox = parent.getBBox(); + rect.x.baseVal.value = bbox.x; + rect.y.baseVal.value = bbox.y; + rect.width.baseVal.value = bbox.width; + rect.height.baseVal.value = bbox.height; + rect.setAttribute("class", className); + addItems.push({ parent: parent, target: rect }); + } + } + } else if (node.matches && !node.matches("button, select, textarea")) { + node.childNodes.forEach((el) => _highlight(el, addItems, text, className)); + } +}; +const _highlightText = (thisNode, text, className) => { + let addItems = []; + _highlight(thisNode, addItems, text, className); + addItems.forEach((obj) => + obj.parent.insertAdjacentElement("beforebegin", obj.target) + ); +}; + +/** + * Small JavaScript module for the documentation. + */ +const SphinxHighlight = { + + /** + * highlight the search words provided in localstorage in the text + */ + highlightSearchWords: () => { + if (!SPHINX_HIGHLIGHT_ENABLED) return; // bail if no highlight + + // get and clear terms from localstorage + const url = new URL(window.location); + const highlight = + localStorage.getItem("sphinx_highlight_terms") + || url.searchParams.get("highlight") + || ""; + localStorage.removeItem("sphinx_highlight_terms") + url.searchParams.delete("highlight"); + window.history.replaceState({}, "", url); + + // get individual terms from highlight string + const terms = highlight.toLowerCase().split(/\s+/).filter(x => x); + if (terms.length === 0) return; // nothing to do + + // There should never be more than one element matching "div.body" + const divBody = document.querySelectorAll("div.body"); + const body = divBody.length ? divBody[0] : document.querySelector("body"); + window.setTimeout(() => { + terms.forEach((term) => _highlightText(body, term, "highlighted")); + }, 10); + + const searchBox = document.getElementById("searchbox"); + if (searchBox === null) return; + searchBox.appendChild( + document + .createRange() + .createContextualFragment( + '" + ) + ); + }, + + /** + * helper function to hide the search marks again + */ + hideSearchWords: () => { + document + .querySelectorAll("#searchbox .highlight-link") + .forEach((el) => el.remove()); + document + .querySelectorAll("span.highlighted") + .forEach((el) => el.classList.remove("highlighted")); + localStorage.removeItem("sphinx_highlight_terms") + }, + + initEscapeListener: () => { + // only install a listener if it is really needed + if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS) return; + + document.addEventListener("keydown", (event) => { + // bail for input elements + if (BLACKLISTED_KEY_CONTROL_ELEMENTS.has(document.activeElement.tagName)) return; + // bail with special keys + if (event.shiftKey || event.altKey || event.ctrlKey || event.metaKey) return; + if (DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS && (event.key === "Escape")) { + SphinxHighlight.hideSearchWords(); + event.preventDefault(); + } + }); + }, +}; + +_ready(() => { + /* Do not call highlightSearchWords() when we are on the search page. + * It will highlight words from the *previous* search query. + */ + if (typeof Search === "undefined") SphinxHighlight.highlightSearchWords(); + SphinxHighlight.initEscapeListener(); +}); diff --git a/tag/2.18.0/acme_account_facts_module.html b/tag/2.18.0/acme_account_facts_module.html new file mode 100644 index 000000000..3a6582f5a --- /dev/null +++ b/tag/2.18.0/acme_account_facts_module.html @@ -0,0 +1,194 @@ + + + + + + + + community.crypto.acme_account_facts — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • +
  • +
+
+
+
+ + +
+ +
+

community.crypto.acme_account_facts

+
+

Note

+

This plugin was part of the community.crypto collection (version 2.18.0).

+
+

This module has been removed +in version 2.0.0 of community.crypto. +The ‘community.crypto.acme_account_facts’ module has been renamed to ‘community.crypto.acme_account_info’.

+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/acme_account_info_module.html b/tag/2.18.0/acme_account_info_module.html new file mode 100644 index 000000000..c17434d39 --- /dev/null +++ b/tag/2.18.0/acme_account_info_module.html @@ -0,0 +1,704 @@ + + + + + + + + community.crypto.acme_account_info module – Retrieves information on ACME accounts — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.acme_account_info module – Retrieves information on ACME accounts

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.acme_account_info.

+
+ +
+

Synopsis

+
    +
  • Allows to retrieve information on accounts a CA supporting the ACME protocol, such as Let’s Encrypt.

  • +
  • This module only works with the ACME v2 protocol.

  • +
+
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+ +
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

Comments

+

account_key_content

+

string

+

Content of the ACME account RSA or Elliptic Curve key.

+

Mutually exclusive with account_key_src.

+

Required if account_key_src is not used.

+

Warning: the content will be written into a temporary file, which will be deleted by Ansible when the module completes. Since this is an important private key — it can be used to change the account key, or to revoke your certificates without knowing their private keys —, this might not be acceptable.

+

In case cryptography is used, the content is not written into a temporary file. It can still happen that it is written to disk by Ansible in the process of moving the module with its argument to the node where it is executed.

+
+

account_key_passphrase

+

string

+

added in community.crypto 1.6.0

+

Phassphrase to use to decode the account key.

+

Note: this is not supported by the openssl backend, only by the cryptography backend.

+
+
+

account_key_src

+

aliases: account_key

+

path

+

Path to a file containing the ACME account RSA or Elliptic Curve key.

+

Private keys can be created with the community.crypto.openssl_privatekey or community.crypto.openssl_privatekey_pipe modules. If the requisite (cryptography) is not available, keys can also be created directly with the openssl command line tool: RSA keys can be created with openssl genrsa .... Elliptic curve keys can be created with openssl ecparam -genkey .... Any other tool creating private keys in PEM format can be used as well.

+

Mutually exclusive with account_key_content.

+

Required if account_key_content is not used.

+
+

account_uri

+

string

+

If specified, assumes that the account URI is as given. If the account key does not match this account, or an account with this URI does not exist, the module fails.

+
+

acme_directory

+

string / required

+

The ACME directory to use. This is the entry point URL to access the ACME CA server API.

+

For safety reasons the default is set to the Let’s Encrypt staging server (for the ACME v1 protocol). This will create technically correct, but untrusted certificates.

+

For Let’s Encrypt, all staging endpoints can be found here: https://letsencrypt.org/docs/staging-environment/. For Buypass, all endpoints can be found here: https://community.buypass.com/t/63d4ay/buypass-go-ssl-endpoints

+

For Let’s Encrypt, the production directory URL for ACME v2 is https://acme-v02.api.letsencrypt.org/directory.

+

For Buypass, the production directory URL for ACME v2 and v1 is https://api.buypass.com/acme/directory.

+

For ZeroSSL, the production directory URL for ACME v2 is https://acme.zerossl.com/v2/DV90.

+

For Sectigo, the production directory URL for ACME v2 is https://acme-qa.secure.trust-provider.com/v2/DV.

+

The notes for this module contain a list of ACME services this module has been tested against.

+
+

acme_version

+

integer / required

+

The ACME version of the endpoint.

+

Must be 1 for the classic Let’s Encrypt and Buypass ACME endpoints, or 2 for standardized ACME v2 endpoints.

+

The value 1 is deprecated since community.crypto 2.0.0 and will be removed from community.crypto 3.0.0.

+

Choices:

+
    +
  • 1

  • +
  • 2

  • +
+
+

request_timeout

+

integer

+

added in community.crypto 2.3.0

+

The time Ansible should wait for a response from the ACME API.

+

This timeout is applied to all HTTP(S) requests (HEAD, GET, POST).

+

Default: 10

+
+

retrieve_orders

+

string

+

Whether to retrieve the list of order URLs or order objects, if provided by the ACME server.

+

A value of ignore will not fetch the list of orders.

+

If the value is not ignore and the ACME server supports orders, the order_uris return value is always populated. The orders return value is only returned if this option is set to object_list.

+

Currently, Let’s Encrypt does not return orders, so the orders result will always be empty.

+

Choices:

+
    +
  • "ignore" ← (default)

  • +
  • "url_list"

  • +
  • "object_list"

  • +
+
+

select_crypto_backend

+

string

+

Determines which crypto backend to use.

+

The default choice is auto, which tries to use cryptography if available, and falls back to openssl.

+

If set to openssl, will try to use the openssl binary.

+

If set to cryptography, will try to use the cryptography library.

+

Choices:

+
    +
  • "auto" ← (default)

  • +
  • "cryptography"

  • +
  • "openssl"

  • +
+
+

validate_certs

+

boolean

+

Whether calls to the ACME directory will validate TLS certificates.

+

Warning: Should only ever be set to false for testing purposes, for example when testing against a local Pebble server.

+

Choices:

+
    +
  • false

  • +
  • true ← (default)

  • +
+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

action_group

+

Action groups: community.crypto.acme, acme

+

Use group/acme or group/community.crypto.acme in module_defaults to set defaults for this module.

+
+

check_mode

+

Support: full

+

This action does not modify state.

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: N/A

+

This action does not modify state.

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+
+
+

Notes

+
+

Note

+
    +
  • The community.crypto.acme_account module allows to modify, create and delete ACME accounts.

  • +
  • This module was called acme_account_facts before Ansible 2.8. The usage did not change.

  • +
  • If a new enough version of the cryptography library is available (see Requirements for details), it will be used instead of the openssl binary. This can be explicitly disabled or enabled with the select_crypto_backend option. Note that using the openssl binary will be slower and less secure, as private key contents always have to be stored on disk (see account_key_content).

  • +
  • Although the defaults are chosen so that the module can be used with the Let’s Encrypt CA, the module can in principle be used with any CA providing an ACME endpoint, such as Buypass Go SSL.

  • +
  • So far, the ACME modules have only been tested by the developers against Let’s Encrypt (staging and production), Buypass (staging and production), ZeroSSL (production), and Pebble testing server. We have got community feedback that they also work with Sectigo ACME Service for InCommon. If you experience problems with another ACME server, please create an issue to help us supporting it. Feedback that an ACME server not mentioned does work is also appreciated.

  • +
+
+
+
+

See Also

+
+

See also

+
+
community.crypto.acme_account

Allows to create, modify or delete an ACME account.

+
+
+
+
+
+

Examples

+
- name: Check whether an account with the given account key exists
+  community.crypto.acme_account_info:
+    account_key_src: /etc/pki/cert/private/account.key
+  register: account_data
+- name: Verify that account exists
+  ansible.builtin.assert:
+    that:
+      - account_data.exists
+- name: Print account URI
+  ansible.builtin.debug:
+    var: account_data.account_uri
+- name: Print account contacts
+  ansible.builtin.debug:
+    var: account_data.account.contact
+
+- name: Check whether the account exists and is accessible with the given account key
+  acme_account_info:
+    account_key_content: "{{ acme_account_key }}"
+    account_uri: "{{ acme_account_uri }}"
+  register: account_data
+- name: Verify that account exists
+  ansible.builtin.assert:
+    that:
+      - account_data.exists
+- name: Print account contacts
+  ansible.builtin.debug:
+    var: account_data.account.contact
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Key

Description

+

account

+

dictionary

+

The account information, as retrieved from the ACME server.

+

Returned: if account exists

+
+

contact

+

list / elements=string

+

the challenge resource that must be created for validation

+

Returned: always

+

Sample: ["mailto:me@example.com", "tel:00123456789"]

+
+

orders

+

string

+

A URL where a list of orders can be retrieved for this account.

+

Use the retrieve_orders option to query this URL and retrieve the complete list of orders.

+

Returned: always

+

Sample: "https://example.ca/account/1/orders"

+
+

public_account_key

+

string

+

the public account key as a JSON Web Key.

+

Returned: always

+

Sample: "{\"kty\":\"EC\",\"crv\":\"P-256\",\"x\":\"MKBCTNIcKUSDii11ySs3526iDZ8AiTo7Tu6KPAqv7D4\",\"y\":\"4Etl6SRW2YiLUrN5vfvVHuhp7x8PxltmWWlbbM4IFyM\"}"

+
+

status

+

string

+

the account’s status

+

Returned: always

+

Can only return:

+
    +
  • "valid"

  • +
  • "deactivated"

  • +
  • "revoked"

  • +
+

Sample: "valid"

+
+

account_uri

+

string

+

ACME account URI, or None if account does not exist.

+

Returned: always

+
+

exists

+

boolean

+

Whether the account exists.

+

Returned: always

+
+

order_uris

+

list / elements=string

+

added in community.crypto 1.5.0

+

The list of orders.

+

If retrieve_orders is url_list, this will be a list of URLs.

+

If retrieve_orders is object_list, this will be a list of objects.

+

Returned: if account exists, retrieve_orders is not ignore, and server supports order listing

+
+

orders

+

list / elements=dictionary

+

The list of orders.

+

Returned: if account exists, retrieve_orders is object_list, and server supports order listing

+
+

authorizations

+

list / elements=string

+

A list of URLs for authorizations for this order.

+

Returned: success

+
+

certificate

+

string

+

The URL for retrieving the certificate.

+

Returned: when certificate was issued

+
+

error

+

dictionary

+

In case an error occurred during processing, this contains information about the error.

+

The field is structured as a problem document (RFC7807).

+

Returned: when an error occurred

+
+

expires

+

string

+

When the order expires.

+

Timestamp should be formatted as described in RFC3339.

+

Only required to be included in result when orders[].status is pending or valid.

+

Returned: when server gives expiry date

+
+

finalize

+

string

+

A URL used for finalizing an ACME order.

+

Returned: success

+
+

identifiers

+

list / elements=dictionary

+

List of identifiers this order is for.

+

Returned: success

+
+

type

+

string

+

Type of identifier.

+

Returned: success

+

Can only return:

+
    +
  • "dns"

  • +
  • "ip"

  • +
+
+

value

+

string

+

Name of identifier. Hostname or IP address.

+

Returned: success

+
+

wildcard

+

boolean

+

Whether orders[].identifiers[].value is actually a wildcard. The wildcard prefix *. is not included in orders[].identifiers[].value if this is true.

+

Returned: required to be included if the identifier is wildcarded

+
+

notAfter

+

string

+

The requested value of the notAfter field in the certificate.

+

Date should be formatted as described in RFC3339.

+

Server is not required to return this.

+

Returned: when server returns this

+
+

notBefore

+

string

+

The requested value of the notBefore field in the certificate.

+

Date should be formatted as described in RFC3339.

+

Server is not required to return this.

+

Returned: when server returns this

+
+

status

+

string

+

The order’s status.

+

Returned: success

+

Can only return:

+
    +
  • "pending"

  • +
  • "ready"

  • +
  • "processing"

  • +
  • "valid"

  • +
  • "invalid"

  • +
+
+
+

Authors

+
    +
  • Felix Fontein (@felixfontein)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/acme_account_module.html b/tag/2.18.0/acme_account_module.html new file mode 100644 index 000000000..93c17cc3c --- /dev/null +++ b/tag/2.18.0/acme_account_module.html @@ -0,0 +1,618 @@ + + + + + + + + community.crypto.acme_account module – Create, modify or delete ACME accounts — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.acme_account module – Create, modify or delete ACME accounts

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.acme_account.

+
+ +
+

Synopsis

+
    +
  • Allows to create, modify or delete accounts with a CA supporting the ACME protocol, such as Let’s Encrypt.

  • +
  • This module only works with the ACME v2 protocol.

  • +
+
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+ +
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

Comments

+

account_key_content

+

string

+

Content of the ACME account RSA or Elliptic Curve key.

+

Mutually exclusive with account_key_src.

+

Required if account_key_src is not used.

+

Warning: the content will be written into a temporary file, which will be deleted by Ansible when the module completes. Since this is an important private key — it can be used to change the account key, or to revoke your certificates without knowing their private keys —, this might not be acceptable.

+

In case cryptography is used, the content is not written into a temporary file. It can still happen that it is written to disk by Ansible in the process of moving the module with its argument to the node where it is executed.

+
+

account_key_passphrase

+

string

+

added in community.crypto 1.6.0

+

Phassphrase to use to decode the account key.

+

Note: this is not supported by the openssl backend, only by the cryptography backend.

+
+
+

account_key_src

+

aliases: account_key

+

path

+

Path to a file containing the ACME account RSA or Elliptic Curve key.

+

Private keys can be created with the community.crypto.openssl_privatekey or community.crypto.openssl_privatekey_pipe modules. If the requisite (cryptography) is not available, keys can also be created directly with the openssl command line tool: RSA keys can be created with openssl genrsa .... Elliptic curve keys can be created with openssl ecparam -genkey .... Any other tool creating private keys in PEM format can be used as well.

+

Mutually exclusive with account_key_content.

+

Required if account_key_content is not used.

+
+

account_uri

+

string

+

If specified, assumes that the account URI is as given. If the account key does not match this account, or an account with this URI does not exist, the module fails.

+
+

acme_directory

+

string / required

+

The ACME directory to use. This is the entry point URL to access the ACME CA server API.

+

For safety reasons the default is set to the Let’s Encrypt staging server (for the ACME v1 protocol). This will create technically correct, but untrusted certificates.

+

For Let’s Encrypt, all staging endpoints can be found here: https://letsencrypt.org/docs/staging-environment/. For Buypass, all endpoints can be found here: https://community.buypass.com/t/63d4ay/buypass-go-ssl-endpoints

+

For Let’s Encrypt, the production directory URL for ACME v2 is https://acme-v02.api.letsencrypt.org/directory.

+

For Buypass, the production directory URL for ACME v2 and v1 is https://api.buypass.com/acme/directory.

+

For ZeroSSL, the production directory URL for ACME v2 is https://acme.zerossl.com/v2/DV90.

+

For Sectigo, the production directory URL for ACME v2 is https://acme-qa.secure.trust-provider.com/v2/DV.

+

The notes for this module contain a list of ACME services this module has been tested against.

+
+

acme_version

+

integer / required

+

The ACME version of the endpoint.

+

Must be 1 for the classic Let’s Encrypt and Buypass ACME endpoints, or 2 for standardized ACME v2 endpoints.

+

The value 1 is deprecated since community.crypto 2.0.0 and will be removed from community.crypto 3.0.0.

+

Choices:

+
    +
  • 1

  • +
  • 2

  • +
+
+

allow_creation

+

boolean

+

Whether account creation is allowed (when state is present).

+

Choices:

+
    +
  • false

  • +
  • true ← (default)

  • +
+
+

contact

+

list / elements=string

+

A list of contact URLs.

+

Email addresses must be prefixed with mailto:.

+

See https://tools.ietf.org/html/rfc8555#section-7.3 for what is allowed.

+

Must be specified when state is present. Will be ignored if state is absent or changed_key.

+

Default: []

+
+

external_account_binding

+

dictionary

+

added in community.crypto 1.1.0

+

Allows to provide external account binding data during account creation.

+

This is used by CAs like Sectigo to bind a new ACME account to an existing CA-specific account, to be able to properly identify a customer.

+

Only used when creating a new account. Can not be specified for ACME v1.

+
+

alg

+

string / required

+

The MAC algorithm provided by the CA.

+

If not specified by the CA, this is probably HS256.

+

Choices:

+
    +
  • "HS256"

  • +
  • "HS384"

  • +
  • "HS512"

  • +
+
+

key

+

string / required

+

Base64 URL encoded value of the MAC key provided by the CA.

+

Padding (= symbols at the end) can be omitted.

+
+

kid

+

string / required

+

The key identifier provided by the CA.

+
+

new_account_key_content

+

string

+

Content of the ACME account RSA or Elliptic Curve key to change to.

+

Same restrictions apply as to account_key_content.

+

Mutually exclusive with new_account_key_src.

+

Required if new_account_key_src is not used and state is changed_key.

+
+

new_account_key_passphrase

+

string

+

added in community.crypto 1.6.0

+

Phassphrase to use to decode the new account key.

+

Note: this is not supported by the openssl backend, only by the cryptography backend.

+
+

new_account_key_src

+

path

+

Path to a file containing the ACME account RSA or Elliptic Curve key to change to.

+

Same restrictions apply as to account_key_src.

+

Mutually exclusive with new_account_key_content.

+

Required if new_account_key_content is not used and state is changed_key.

+
+

request_timeout

+

integer

+

added in community.crypto 2.3.0

+

The time Ansible should wait for a response from the ACME API.

+

This timeout is applied to all HTTP(S) requests (HEAD, GET, POST).

+

Default: 10

+
+

select_crypto_backend

+

string

+

Determines which crypto backend to use.

+

The default choice is auto, which tries to use cryptography if available, and falls back to openssl.

+

If set to openssl, will try to use the openssl binary.

+

If set to cryptography, will try to use the cryptography library.

+

Choices:

+
    +
  • "auto" ← (default)

  • +
  • "cryptography"

  • +
  • "openssl"

  • +
+
+

state

+

string / required

+

The state of the account, to be identified by its account key.

+

If the state is absent, the account will either not exist or be deactivated.

+

If the state is changed_key, the account must exist. The account key will be changed; no other information will be touched.

+

Choices:

+
    +
  • "present"

  • +
  • "absent"

  • +
  • "changed_key"

  • +
+
+

terms_agreed

+

boolean

+

Boolean indicating whether you agree to the terms of service document.

+

ACME servers can require this to be true.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

validate_certs

+

boolean

+

Whether calls to the ACME directory will validate TLS certificates.

+

Warning: Should only ever be set to false for testing purposes, for example when testing against a local Pebble server.

+

Choices:

+
    +
  • false

  • +
  • true ← (default)

  • +
+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

action_group

+

Action groups: community.crypto.acme, acme

+

Use group/acme or group/community.crypto.acme in module_defaults to set defaults for this module.

+
+

check_mode

+

Support: full

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: full

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+
+
+

Notes

+
+

Note

+
    +
  • The community.crypto.acme_certificate module also allows to do basic account management. When using both modules, it is recommended to disable account management for community.crypto.acme_certificate. For that, use the modify_account option of community.crypto.acme_certificate.

  • +
  • If a new enough version of the cryptography library is available (see Requirements for details), it will be used instead of the openssl binary. This can be explicitly disabled or enabled with the select_crypto_backend option. Note that using the openssl binary will be slower and less secure, as private key contents always have to be stored on disk (see account_key_content).

  • +
  • Although the defaults are chosen so that the module can be used with the Let’s Encrypt CA, the module can in principle be used with any CA providing an ACME endpoint, such as Buypass Go SSL.

  • +
  • So far, the ACME modules have only been tested by the developers against Let’s Encrypt (staging and production), Buypass (staging and production), ZeroSSL (production), and Pebble testing server. We have got community feedback that they also work with Sectigo ACME Service for InCommon. If you experience problems with another ACME server, please create an issue to help us supporting it. Feedback that an ACME server not mentioned does work is also appreciated.

  • +
+
+
+
+

See Also

+
+

See also

+
+
Automatic Certificate Management Environment (ACME)

The specification of the ACME protocol (RFC 8555).

+
+
community.crypto.acme_account_info

Retrieves facts about an ACME account.

+
+
community.crypto.openssl_privatekey

Can be used to create a private account key.

+
+
community.crypto.openssl_privatekey_pipe

Can be used to create a private account key without writing it to disk.

+
+
community.crypto.acme_inspect

Allows to debug problems.

+
+
+
+
+
+

Examples

+
- name: Make sure account exists and has given contacts. We agree to TOS.
+  community.crypto.acme_account:
+    account_key_src: /etc/pki/cert/private/account.key
+    state: present
+    terms_agreed: true
+    contact:
+    - mailto:me@example.com
+    - mailto:myself@example.org
+
+- name: Make sure account has given email address. Do not create account if it does not exist
+  community.crypto.acme_account:
+    account_key_src: /etc/pki/cert/private/account.key
+    state: present
+    allow_creation: false
+    contact:
+    - mailto:me@example.com
+
+- name: Change account's key to the one stored in the variable new_account_key
+  community.crypto.acme_account:
+    account_key_src: /etc/pki/cert/private/account.key
+    new_account_key_content: '{{ new_account_key }}'
+    state: changed_key
+
+- name: Delete account (we have to use the new key)
+  community.crypto.acme_account:
+    account_key_content: '{{ new_account_key }}'
+    state: absent
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + +

Key

Description

+

account_uri

+

string

+

ACME account URI, or None if account does not exist.

+

Returned: always

+
+
+

Authors

+
    +
  • Felix Fontein (@felixfontein)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/acme_certificate_module.html b/tag/2.18.0/acme_certificate_module.html new file mode 100644 index 000000000..8aaff0974 --- /dev/null +++ b/tag/2.18.0/acme_certificate_module.html @@ -0,0 +1,997 @@ + + + + + + + + community.crypto.acme_certificate module – Create SSL/TLS certificates with the ACME protocol — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.acme_certificate module – Create SSL/TLS certificates with the ACME protocol

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.acme_certificate.

+
+ +
+

Synopsis

+
    +
  • Create and renew SSL/TLS certificates with a CA supporting the ACME protocol, such as Let’s Encrypt or Buypass. The current implementation supports the http-01, dns-01 and tls-alpn-01 challenges.

  • +
  • To use this module, it has to be executed twice. Either as two different tasks in the same run or during two runs. Note that the output of the first run needs to be recorded and passed to the second run as the module argument data.

  • +
  • Between these two tasks you have to fulfill the required steps for the chosen challenge by whatever means necessary. For http-01 that means creating the necessary challenge file on the destination webserver. For dns-01 the necessary dns record has to be created. For tls-alpn-01 the necessary certificate has to be created and served. It is not the responsibility of this module to perform these steps.

  • +
  • For details on how to fulfill these challenges, you might have to read through the main ACME specification and the TLS-ALPN-01 specification. Also, consider the examples provided for this module.

  • +
  • The module includes experimental support for IP identifiers according to the RFC 8738.

  • +
+
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+ +
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

Comments

+

account_email

+

string

+

The email address associated with this account.

+

It will be used for certificate expiration warnings.

+

Note that when modify_account is not set to false and you also used the community.crypto.acme_account module to specify more than one contact for your account, this module will update your account and restrict it to the (at most one) contact email address specified here.

+
+

account_key_content

+

string

+

Content of the ACME account RSA or Elliptic Curve key.

+

Mutually exclusive with account_key_src.

+

Required if account_key_src is not used.

+

Warning: the content will be written into a temporary file, which will be deleted by Ansible when the module completes. Since this is an important private key — it can be used to change the account key, or to revoke your certificates without knowing their private keys —, this might not be acceptable.

+

In case cryptography is used, the content is not written into a temporary file. It can still happen that it is written to disk by Ansible in the process of moving the module with its argument to the node where it is executed.

+
+

account_key_passphrase

+

string

+

added in community.crypto 1.6.0

+

Phassphrase to use to decode the account key.

+

Note: this is not supported by the openssl backend, only by the cryptography backend.

+
+
+

account_key_src

+

aliases: account_key

+

path

+

Path to a file containing the ACME account RSA or Elliptic Curve key.

+

Private keys can be created with the community.crypto.openssl_privatekey or community.crypto.openssl_privatekey_pipe modules. If the requisite (cryptography) is not available, keys can also be created directly with the openssl command line tool: RSA keys can be created with openssl genrsa .... Elliptic curve keys can be created with openssl ecparam -genkey .... Any other tool creating private keys in PEM format can be used as well.

+

Mutually exclusive with account_key_content.

+

Required if account_key_content is not used.

+
+

account_uri

+

string

+

If specified, assumes that the account URI is as given. If the account key does not match this account, or an account with this URI does not exist, the module fails.

+
+

acme_directory

+

string / required

+

The ACME directory to use. This is the entry point URL to access the ACME CA server API.

+

For safety reasons the default is set to the Let’s Encrypt staging server (for the ACME v1 protocol). This will create technically correct, but untrusted certificates.

+

For Let’s Encrypt, all staging endpoints can be found here: https://letsencrypt.org/docs/staging-environment/. For Buypass, all endpoints can be found here: https://community.buypass.com/t/63d4ay/buypass-go-ssl-endpoints

+

For Let’s Encrypt, the production directory URL for ACME v2 is https://acme-v02.api.letsencrypt.org/directory.

+

For Buypass, the production directory URL for ACME v2 and v1 is https://api.buypass.com/acme/directory.

+

For ZeroSSL, the production directory URL for ACME v2 is https://acme.zerossl.com/v2/DV90.

+

For Sectigo, the production directory URL for ACME v2 is https://acme-qa.secure.trust-provider.com/v2/DV.

+

The notes for this module contain a list of ACME services this module has been tested against.

+
+

acme_version

+

integer / required

+

The ACME version of the endpoint.

+

Must be 1 for the classic Let’s Encrypt and Buypass ACME endpoints, or 2 for standardized ACME v2 endpoints.

+

The value 1 is deprecated since community.crypto 2.0.0 and will be removed from community.crypto 3.0.0.

+

Choices:

+
    +
  • 1

  • +
  • 2

  • +
+
+

agreement

+

string

+

URI to a terms of service document you agree to when using the ACME v1 service at acme_directory.

+

Default is latest gathered from acme_directory URL.

+

This option will only be used when acme_version is 1.

+
+
+

chain_dest

+

aliases: chain

+

path

+

If specified, the intermediate certificate will be written to this file.

+
+

challenge

+

string

+

The challenge to be performed.

+

If set to no challenge, no challenge will be used. This is necessary for some private CAs which use External Account Binding and other means of validating certificate assurance. For example, an account could be allowed to issue certificates for foo.example.com without any further validation for a certain period of time.

+

Choices:

+
    +
  • "http-01" ← (default)

  • +
  • "dns-01"

  • +
  • "tls-alpn-01"

  • +
  • "no challenge"

  • +
+
+
+

csr

+

aliases: src

+

path

+

File containing the CSR for the new certificate.

+

Can be created with community.crypto.openssl_csr or openssl req ....

+

The CSR may contain multiple Subject Alternate Names, but each one will lead to an individual challenge that must be fulfilled for the CSR to be signed.

+

Note: the private key used to create the CSR must not be the account key. This is a bad idea from a security point of view, and the CA should not accept the CSR. The ACME server should return an error in this case.

+

Precisely one of csr or csr_content must be specified.

+
+

csr_content

+

string

+

added in community.crypto 1.2.0

+

Content of the CSR for the new certificate.

+

Can be created with community.crypto.openssl_csr_pipe or openssl req ....

+

The CSR may contain multiple Subject Alternate Names, but each one will lead to an individual challenge that must be fulfilled for the CSR to be signed.

+

Note: the private key used to create the CSR must not be the account key. This is a bad idea from a security point of view, and the CA should not accept the CSR. The ACME server should return an error in this case.

+

Precisely one of csr or csr_content must be specified.

+
+

data

+

dictionary

+

The data to validate ongoing challenges. This must be specified for the second run of the module only.

+

The value that must be used here will be provided by a previous use of this module. See the examples for more details.

+

Note that for ACME v2, only the order_uri entry of data will be used. For ACME v1, data must be non-empty to indicate the second stage is active; all needed data will be taken from the CSR.

+

Note: the data option was marked as no_log up to Ansible 2.5. From Ansible 2.6 on, it is no longer marked this way as it causes error messages to be come unusable, and data does not contain any information which can be used without having access to the account key or which are not public anyway.

+
+

deactivate_authzs

+

boolean

+

Deactivate authentication objects (authz) after issuing a certificate, or when issuing the certificate failed.

+

Authentication objects are bound to an account key and remain valid for a certain amount of time, and can be used to issue certificates without having to re-authenticate the domain. This can be a security concern.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+
+

dest

+

aliases: cert

+

path

+

The destination file for the certificate.

+

Required if fullchain_dest is not specified.

+
+

force

+

boolean

+

Enforces the execution of the challenge and validation, even if an existing certificate is still valid for more than remaining_days.

+

This is especially helpful when having an updated CSR, for example with additional domains for which a new certificate is desired.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+
+

fullchain_dest

+

aliases: fullchain

+

path

+

The destination file for the full chain (that is, a certificate followed by chain of intermediate certificates).

+

Required if dest is not specified.

+
+

modify_account

+

boolean

+

Boolean indicating whether the module should create the account if necessary, and update its contact data.

+

Set to false if you want to use the community.crypto.acme_account module to manage your account instead, and to avoid accidental creation of a new account using an old key if you changed the account key with community.crypto.acme_account.

+

If set to false, terms_agreed and account_email are ignored.

+

Choices:

+
    +
  • false

  • +
  • true ← (default)

  • +
+
+

remaining_days

+

integer

+

The number of days the certificate must have left being valid. If cert_days < remaining_days, then it will be renewed. If the certificate is not renewed, module return values will not include challenge_data.

+

To make sure that the certificate is renewed in any case, you can use the force option.

+

Default: 10

+
+

request_timeout

+

integer

+

added in community.crypto 2.3.0

+

The time Ansible should wait for a response from the ACME API.

+

This timeout is applied to all HTTP(S) requests (HEAD, GET, POST).

+

Default: 10

+
+

retrieve_all_alternates

+

boolean

+

When set to true, will retrieve all alternate trust chains offered by the ACME CA. These will not be written to disk, but will be returned together with the main chain as all_chains. See the documentation for the all_chains return value for details.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

select_chain

+

list / elements=dictionary

+

added in community.crypto 1.0.0

+

Allows to specify criteria by which an (alternate) trust chain can be selected.

+

The list of criteria will be processed one by one until a chain is found matching a criterium. If such a chain is found, it will be used by the module instead of the default chain.

+

If a criterium matches multiple chains, the first one matching will be returned. The order is determined by the ordering of the Link headers returned by the ACME server and might not be deterministic.

+

Every criterium can consist of multiple different conditions, like select_chain[].issuer and select_chain[].subject. For the criterium to match a chain, all conditions must apply to the same certificate in the chain.

+

This option can only be used with the cryptography backend.

+
+

authority_key_identifier

+

string

+

Checks for the AuthorityKeyIdentifier extension. This is an identifier based on the private key of the issuer of the intermediate certificate.

+

The identifier must be of the form C4:A7:B1:A4:7B:2C:71:FA:DB:E1:4B:90:75:FF:C4:15:60:85:89:10.

+
+

issuer

+

dictionary

+

Allows to specify parts of the issuer of a certificate in the chain must have to be selected.

+

If select_chain[].issuer is empty, any certificate will match.

+

An example value would be {"commonName": "My Preferred CA Root"}.

+
+

subject

+

dictionary

+

Allows to specify parts of the subject of a certificate in the chain must have to be selected.

+

If select_chain[].subject is empty, any certificate will match.

+

An example value would be {"CN": "My Preferred CA Intermediate"}

+
+

subject_key_identifier

+

string

+

Checks for the SubjectKeyIdentifier extension. This is an identifier based on the private key of the intermediate certificate.

+

The identifier must be of the form A8:4A:6A:63:04:7D:DD:BA:E6:D1:39:B7:A6:45:65:EF:F3:A8:EC:A1.

+
+

test_certificates

+

string

+

Determines which certificates in the chain will be tested.

+

all tests all certificates in the chain (excluding the leaf, which is identical in all chains).

+

first only tests the first certificate in the chain, that is the one which signed the leaf.

+

last only tests the last certificate in the chain, that is the one furthest away from the leaf. Its issuer is the root certificate of this chain.

+

Choices:

+
    +
  • "first"

  • +
  • "last"

  • +
  • "all" ← (default)

  • +
+
+

select_crypto_backend

+

string

+

Determines which crypto backend to use.

+

The default choice is auto, which tries to use cryptography if available, and falls back to openssl.

+

If set to openssl, will try to use the openssl binary.

+

If set to cryptography, will try to use the cryptography library.

+

Choices:

+
    +
  • "auto" ← (default)

  • +
  • "cryptography"

  • +
  • "openssl"

  • +
+
+

terms_agreed

+

boolean

+

Boolean indicating whether you agree to the terms of service document.

+

ACME servers can require this to be true.

+

This option will only be used when acme_version is not 1.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

validate_certs

+

boolean

+

Whether calls to the ACME directory will validate TLS certificates.

+

Warning: Should only ever be set to false for testing purposes, for example when testing against a local Pebble server.

+

Choices:

+
    +
  • false

  • +
  • true ← (default)

  • +
+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

action_group

+

Action groups: community.crypto.acme, acme

+

Use group/acme or group/community.crypto.acme in module_defaults to set defaults for this module.

+
+

check_mode

+

Support: full

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: none

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+

safe_file_operations

+

Support: full

+

Uses Ansible’s strict file operation functions to ensure proper permissions and avoid data corruption.

+
+
+
+

Notes

+
+

Note

+
    +
  • At least one of dest and fullchain_dest must be specified.

  • +
  • This module includes basic account management functionality. If you want to have more control over your ACME account, use the community.crypto.acme_account module and disable account management for this module using the modify_account option.

  • +
  • This module was called letsencrypt before Ansible 2.6. The usage did not change.

  • +
  • If a new enough version of the cryptography library is available (see Requirements for details), it will be used instead of the openssl binary. This can be explicitly disabled or enabled with the select_crypto_backend option. Note that using the openssl binary will be slower and less secure, as private key contents always have to be stored on disk (see account_key_content).

  • +
  • Although the defaults are chosen so that the module can be used with the Let’s Encrypt CA, the module can in principle be used with any CA providing an ACME endpoint, such as Buypass Go SSL.

  • +
  • So far, the ACME modules have only been tested by the developers against Let’s Encrypt (staging and production), Buypass (staging and production), ZeroSSL (production), and Pebble testing server. We have got community feedback that they also work with Sectigo ACME Service for InCommon. If you experience problems with another ACME server, please create an issue to help us supporting it. Feedback that an ACME server not mentioned does work is also appreciated.

  • +
+
+
+
+

See Also

+
+

See also

+
+
The Let’s Encrypt documentation

Documentation for the Let’s Encrypt Certification Authority. Provides useful information for example on rate limits.

+
+
Buypass Go SSL

Documentation for the Buypass Certification Authority. Provides useful information for example on rate limits.

+
+
Automatic Certificate Management Environment (ACME)

The specification of the ACME protocol (RFC 8555).

+
+
ACME TLS ALPN Challenge Extension

The specification of the tls-alpn-01 challenge (RFC 8737).

+
+
community.crypto.acme_challenge_cert_helper

Helps preparing tls-alpn-01 challenges.

+
+
community.crypto.openssl_privatekey

Can be used to create private keys (both for certificates and accounts).

+
+
community.crypto.openssl_privatekey_pipe

Can be used to create private keys without writing it to disk (both for certificates and accounts).

+
+
community.crypto.openssl_csr

Can be used to create a Certificate Signing Request (CSR).

+
+
community.crypto.openssl_csr_pipe

Can be used to create a Certificate Signing Request (CSR) without writing it to disk.

+
+
community.crypto.certificate_complete_chain

Allows to find the root certificate for the returned fullchain.

+
+
community.crypto.acme_certificate_revoke

Allows to revoke certificates.

+
+
community.crypto.acme_account

Allows to create, modify or delete an ACME account.

+
+
community.crypto.acme_inspect

Allows to debug problems.

+
+
+
+
+
+

Examples

+
### Example with HTTP challenge ###
+
+- name: Create a challenge for sample.com using a account key from a variable.
+  community.crypto.acme_certificate:
+    account_key_content: "{{ account_private_key }}"
+    csr: /etc/pki/cert/csr/sample.com.csr
+    dest: /etc/httpd/ssl/sample.com.crt
+  register: sample_com_challenge
+
+# Alternative first step:
+- name: Create a challenge for sample.com using a account key from Hashi Vault.
+  community.crypto.acme_certificate:
+    account_key_content: >-
+      {{ lookup('community.hashi_vault.hashi_vault', 'secret=secret/account_private_key:value') }}
+    csr: /etc/pki/cert/csr/sample.com.csr
+    fullchain_dest: /etc/httpd/ssl/sample.com-fullchain.crt
+  register: sample_com_challenge
+
+# Alternative first step:
+- name: Create a challenge for sample.com using a account key file.
+  community.crypto.acme_certificate:
+    account_key_src: /etc/pki/cert/private/account.key
+    csr_content: "{{ lookup('file', '/etc/pki/cert/csr/sample.com.csr') }}"
+    dest: /etc/httpd/ssl/sample.com.crt
+    fullchain_dest: /etc/httpd/ssl/sample.com-fullchain.crt
+  register: sample_com_challenge
+
+# perform the necessary steps to fulfill the challenge
+# for example:
+#
+# - name: Copy http-01 challenge for sample.com
+#   ansible.builtin.copy:
+#     dest: /var/www/html/{{ sample_com_challenge['challenge_data']['sample.com']['http-01']['resource'] }}
+#     content: "{{ sample_com_challenge['challenge_data']['sample.com']['http-01']['resource_value'] }}"
+#   when: sample_com_challenge is changed and 'sample.com' in sample_com_challenge['challenge_data']
+#
+# Alternative way:
+#
+# - name: Copy http-01 challenges
+#   ansible.builtin.copy:
+#     dest: /var/www/{{ item.key }}/{{ item.value['http-01']['resource'] }}
+#     content: "{{ item.value['http-01']['resource_value'] }}"
+#   loop: "{{ sample_com_challenge.challenge_data | dict2items }}"
+#   when: sample_com_challenge is changed
+
+- name: Let the challenge be validated and retrieve the cert and intermediate certificate
+  community.crypto.acme_certificate:
+    account_key_src: /etc/pki/cert/private/account.key
+    csr: /etc/pki/cert/csr/sample.com.csr
+    dest: /etc/httpd/ssl/sample.com.crt
+    fullchain_dest: /etc/httpd/ssl/sample.com-fullchain.crt
+    chain_dest: /etc/httpd/ssl/sample.com-intermediate.crt
+    data: "{{ sample_com_challenge }}"
+
+### Example with DNS challenge against production ACME server ###
+
+- name: Create a challenge for sample.com using a account key file.
+  community.crypto.acme_certificate:
+    account_key_src: /etc/pki/cert/private/account.key
+    account_email: myself@sample.com
+    src: /etc/pki/cert/csr/sample.com.csr
+    cert: /etc/httpd/ssl/sample.com.crt
+    challenge: dns-01
+    acme_directory: https://acme-v01.api.letsencrypt.org/directory
+    # Renew if the certificate is at least 30 days old
+    remaining_days: 60
+  register: sample_com_challenge
+
+# perform the necessary steps to fulfill the challenge
+# for example:
+#
+# - name: Create DNS record for sample.com dns-01 challenge
+#   community.aws.route53:
+#     zone: sample.com
+#     record: "{{ sample_com_challenge.challenge_data['sample.com']['dns-01'].record }}"
+#     type: TXT
+#     ttl: 60
+#     state: present
+#     wait: true
+#     # Note: route53 requires TXT entries to be enclosed in quotes
+#     value: "{{ sample_com_challenge.challenge_data['sample.com']['dns-01'].resource_value | regex_replace('^(.*)$', '\"\\1\"') }}"
+#   when: sample_com_challenge is changed and 'sample.com' in sample_com_challenge.challenge_data
+#
+# Alternative way:
+#
+# - name: Create DNS records for dns-01 challenges
+#   community.aws.route53:
+#     zone: sample.com
+#     record: "{{ item.key }}"
+#     type: TXT
+#     ttl: 60
+#     state: present
+#     wait: true
+#     # Note: item.value is a list of TXT entries, and route53
+#     # requires every entry to be enclosed in quotes
+#     value: "{{ item.value | map('regex_replace', '^(.*)$', '\"\\1\"' ) | list }}"
+#   loop: "{{ sample_com_challenge.challenge_data_dns | dict2items }}"
+#   when: sample_com_challenge is changed
+
+- name: Let the challenge be validated and retrieve the cert and intermediate certificate
+  community.crypto.acme_certificate:
+    account_key_src: /etc/pki/cert/private/account.key
+    account_email: myself@sample.com
+    src: /etc/pki/cert/csr/sample.com.csr
+    cert: /etc/httpd/ssl/sample.com.crt
+    fullchain: /etc/httpd/ssl/sample.com-fullchain.crt
+    chain: /etc/httpd/ssl/sample.com-intermediate.crt
+    challenge: dns-01
+    acme_directory: https://acme-v01.api.letsencrypt.org/directory
+    remaining_days: 60
+    data: "{{ sample_com_challenge }}"
+  when: sample_com_challenge is changed
+
+# Alternative second step:
+- name: Let the challenge be validated and retrieve the cert and intermediate certificate
+  community.crypto.acme_certificate:
+    account_key_src: /etc/pki/cert/private/account.key
+    account_email: myself@sample.com
+    src: /etc/pki/cert/csr/sample.com.csr
+    cert: /etc/httpd/ssl/sample.com.crt
+    fullchain: /etc/httpd/ssl/sample.com-fullchain.crt
+    chain: /etc/httpd/ssl/sample.com-intermediate.crt
+    challenge: tls-alpn-01
+    remaining_days: 60
+    data: "{{ sample_com_challenge }}"
+    # We use Let's Encrypt's ACME v2 endpoint
+    acme_directory: https://acme-v02.api.letsencrypt.org/directory
+    acme_version: 2
+    # The following makes sure that if a chain with /CN=DST Root CA X3 in its issuer is provided
+    # as an alternative, it will be selected. These are the roots cross-signed by IdenTrust.
+    # As long as Let's Encrypt provides alternate chains with the cross-signed root(s) when
+    # switching to their own ISRG Root X1 root, this will use the chain ending with a cross-signed
+    # root. This chain is more compatible with older TLS clients.
+    select_chain:
+      - test_certificates: last
+        issuer:
+          CN: DST Root CA X3
+          O: Digital Signature Trust Co.
+  when: sample_com_challenge is changed
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Key

Description

+

account_uri

+

string

+

ACME account URI.

+

Returned: changed

+
+

all_chains

+

list / elements=dictionary

+

When retrieve_all_alternates is set to true, the module will query the ACME server for alternate chains. This return value will contain a list of all chains returned, the first entry being the main chain returned by the server.

+

See Section 7.4.2 of RFC8555 for details.

+

Returned: when certificate was retrieved and retrieve_all_alternates is set to true

+
+

cert

+

string

+

The leaf certificate itself, in PEM format.

+

Returned: always

+
+

chain

+

string

+

The certificate chain, excluding the root, as concatenated PEM certificates.

+

Returned: always

+
+

full_chain

+

string

+

The certificate chain, excluding the root, but including the leaf certificate, as concatenated PEM certificates.

+

Returned: always

+
+

authorizations

+

dictionary

+

ACME authorization data.

+

Maps an identifier to ACME authorization objects. See https://tools.ietf.org/html/rfc8555#section-7.1.4.

+

Returned: changed

+

Sample: {"example.com": {"challenges": [{"status": "valid", "token": "A5b1C3d2E9f8G7h6", "type": "http-01", "url": "https://example.org/acme/challenge/12345", "validated": "2022-08-01T01:01:02.34Z"}], "expires": "2022-08-04T01:02:03.45Z", "identifier": {"type": "dns", "value": "example.com"}, "status": "valid", "wildcard": false}}

+
+

cert_days

+

integer

+

The number of days the certificate remains valid.

+

Returned: success

+
+

challenge_data

+

list / elements=dictionary

+

Per identifier / challenge type challenge data.

+

Since Ansible 2.8.5, only challenges which are not yet valid are returned.

+

Returned: changed

+
+

record

+

string

+

The full DNS record’s name for the challenge.

+

Returned: changed and challenge is dns-01

+

Sample: "_acme-challenge.example.com"

+
+

resource

+

string

+

The challenge resource that must be created for validation.

+

Returned: changed

+

Sample: ".well-known/acme-challenge/evaGxfADs6pSRb2LAv9IZf17Dt3juxGJ-PCt92wr-oA"

+
+

resource_original

+

string

+

The original challenge resource including type identifier for tls-alpn-01 challenges.

+

Returned: changed and challenge is tls-alpn-01

+

Sample: "DNS:example.com"

+
+

resource_value

+

string

+

The value the resource has to produce for the validation.

+

For http-01 and dns-01 challenges, the value can be used as-is.

+

For tls-alpn-01 challenges, note that this return value contains a Base64 encoded version of the correct binary blob which has to be put into the acmeValidation x509 extension; see https://www.rfc-editor.org/rfc/rfc8737.html#section-3 for details. To do this, you might need the ansible.builtin.b64decode Jinja filter to extract the binary blob from this return value.

+

Returned: changed

+

Sample: "IlirfxKKXA...17Dt3juxGJ-PCt92wr-oA"

+
+

challenge_data_dns

+

dictionary

+

List of TXT values per DNS record, in case challenge is dns-01.

+

Since Ansible 2.8.5, only challenges which are not yet valid are returned.

+

Returned: changed

+
+

finalization_uri

+

string

+

ACME finalization URI.

+

Returned: changed

+
+

order_uri

+

string

+

ACME order URI.

+

Returned: changed

+
+
+

Authors

+
    +
  • Michael Gruener (@mgruener)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/acme_certificate_revoke_module.html b/tag/2.18.0/acme_certificate_revoke_module.html new file mode 100644 index 000000000..95fd4b342 --- /dev/null +++ b/tag/2.18.0/acme_certificate_revoke_module.html @@ -0,0 +1,495 @@ + + + + + + + + community.crypto.acme_certificate_revoke module – Revoke certificates with the ACME protocol — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.acme_certificate_revoke module – Revoke certificates with the ACME protocol

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.acme_certificate_revoke.

+
+ +
+

Synopsis

+ +
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+ +
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

Comments

+

account_key_content

+

string

+

Content of the ACME account RSA or Elliptic Curve key.

+

Note that exactly one of account_key_src, account_key_content, private_key_src, or private_key_content must be specified.

+

Warning: the content will be written into a temporary file, which will be deleted by Ansible when the module completes. Since this is an important private key — it can be used to change the account key, or to revoke your certificates without knowing their private keys —, this might not be acceptable.

+

In case cryptography is used, the content is not written into a temporary file. It can still happen that it is written to disk by Ansible in the process of moving the module with its argument to the node where it is executed.

+
+

account_key_passphrase

+

string

+

added in community.crypto 1.6.0

+

Phassphrase to use to decode the account key.

+

Note: this is not supported by the openssl backend, only by the cryptography backend.

+
+
+

account_key_src

+

aliases: account_key

+

path

+

Path to a file containing the ACME account RSA or Elliptic Curve key.

+

RSA keys can be created with openssl rsa .... Elliptic curve keys can be created with openssl ecparam -genkey .... Any other tool creating private keys in PEM format can be used as well.

+

Mutually exclusive with account_key_content.

+

Required if account_key_content is not used.

+
+

account_uri

+

string

+

If specified, assumes that the account URI is as given. If the account key does not match this account, or an account with this URI does not exist, the module fails.

+
+

acme_directory

+

string / required

+

The ACME directory to use. This is the entry point URL to access the ACME CA server API.

+

For safety reasons the default is set to the Let’s Encrypt staging server (for the ACME v1 protocol). This will create technically correct, but untrusted certificates.

+

For Let’s Encrypt, all staging endpoints can be found here: https://letsencrypt.org/docs/staging-environment/. For Buypass, all endpoints can be found here: https://community.buypass.com/t/63d4ay/buypass-go-ssl-endpoints

+

For Let’s Encrypt, the production directory URL for ACME v2 is https://acme-v02.api.letsencrypt.org/directory.

+

For Buypass, the production directory URL for ACME v2 and v1 is https://api.buypass.com/acme/directory.

+

For ZeroSSL, the production directory URL for ACME v2 is https://acme.zerossl.com/v2/DV90.

+

For Sectigo, the production directory URL for ACME v2 is https://acme-qa.secure.trust-provider.com/v2/DV.

+

The notes for this module contain a list of ACME services this module has been tested against.

+
+

acme_version

+

integer / required

+

The ACME version of the endpoint.

+

Must be 1 for the classic Let’s Encrypt and Buypass ACME endpoints, or 2 for standardized ACME v2 endpoints.

+

The value 1 is deprecated since community.crypto 2.0.0 and will be removed from community.crypto 3.0.0.

+

Choices:

+
    +
  • 1

  • +
  • 2

  • +
+
+

certificate

+

path / required

+

Path to the certificate to revoke.

+
+

private_key_content

+

string

+

Content of the certificate’s private key.

+

Note that exactly one of account_key_src, account_key_content, private_key_src, or private_key_content must be specified.

+

Warning: the content will be written into a temporary file, which will be deleted by Ansible when the module completes. Since this is an important private key — it can be used to change the account key, or to revoke your certificates without knowing their private keys —, this might not be acceptable.

+

In case cryptography is used, the content is not written into a temporary file. It can still happen that it is written to disk by Ansible in the process of moving the module with its argument to the node where it is executed.

+
+

private_key_passphrase

+

string

+

added in community.crypto 1.6.0

+

Phassphrase to use to decode the certificate’s private key.

+

Note: this is not supported by the openssl backend, only by the cryptography backend.

+
+

private_key_src

+

path

+

Path to the certificate’s private key.

+

Note that exactly one of account_key_src, account_key_content, private_key_src, or private_key_content must be specified.

+
+

request_timeout

+

integer

+

added in community.crypto 2.3.0

+

The time Ansible should wait for a response from the ACME API.

+

This timeout is applied to all HTTP(S) requests (HEAD, GET, POST).

+

Default: 10

+
+

revoke_reason

+

integer

+

One of the revocation reasonCodes defined in Section 5.3.1 of RFC5280.

+

Possible values are 0 (unspecified), 1 (keyCompromise), 2 (cACompromise), 3 (affiliationChanged), 4 (superseded), 5 (cessationOfOperation), 6 (certificateHold), 8 (removeFromCRL), 9 (privilegeWithdrawn), 10 (aACompromise).

+
+

select_crypto_backend

+

string

+

Determines which crypto backend to use.

+

The default choice is auto, which tries to use cryptography if available, and falls back to openssl.

+

If set to openssl, will try to use the openssl binary.

+

If set to cryptography, will try to use the cryptography library.

+

Choices:

+
    +
  • "auto" ← (default)

  • +
  • "cryptography"

  • +
  • "openssl"

  • +
+
+

validate_certs

+

boolean

+

Whether calls to the ACME directory will validate TLS certificates.

+

Warning: Should only ever be set to false for testing purposes, for example when testing against a local Pebble server.

+

Choices:

+
    +
  • false

  • +
  • true ← (default)

  • +
+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

action_group

+

Action groups: community.crypto.acme, acme

+

Use group/acme or group/community.crypto.acme in module_defaults to set defaults for this module.

+
+

check_mode

+

Support: none

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: none

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+
+
+

Notes

+
+

Note

+
    +
  • Exactly one of account_key_src, account_key_content, private_key_src, or private_key_content must be specified.

  • +
  • Trying to revoke an already revoked certificate should result in an unchanged status, even if the revocation reason was different than the one specified here. Also, depending on the server, it can happen that some other error is returned if the certificate has already been revoked.

  • +
  • If a new enough version of the cryptography library is available (see Requirements for details), it will be used instead of the openssl binary. This can be explicitly disabled or enabled with the select_crypto_backend option. Note that using the openssl binary will be slower and less secure, as private key contents always have to be stored on disk (see account_key_content).

  • +
  • Although the defaults are chosen so that the module can be used with the Let’s Encrypt CA, the module can in principle be used with any CA providing an ACME endpoint, such as Buypass Go SSL.

  • +
  • So far, the ACME modules have only been tested by the developers against Let’s Encrypt (staging and production), Buypass (staging and production), ZeroSSL (production), and Pebble testing server. We have got community feedback that they also work with Sectigo ACME Service for InCommon. If you experience problems with another ACME server, please create an issue to help us supporting it. Feedback that an ACME server not mentioned does work is also appreciated.

  • +
+
+
+
+

See Also

+
+

See also

+
+
The Let’s Encrypt documentation

Documentation for the Let’s Encrypt Certification Authority. Provides useful information for example on rate limits.

+
+
Automatic Certificate Management Environment (ACME)

The specification of the ACME protocol (RFC 8555).

+
+
community.crypto.acme_inspect

Allows to debug problems.

+
+
+
+
+
+

Examples

+
- name: Revoke certificate with account key
+  community.crypto.acme_certificate_revoke:
+    account_key_src: /etc/pki/cert/private/account.key
+    certificate: /etc/httpd/ssl/sample.com.crt
+
+- name: Revoke certificate with certificate's private key
+  community.crypto.acme_certificate_revoke:
+    private_key_src: /etc/httpd/ssl/sample.com.key
+    certificate: /etc/httpd/ssl/sample.com.crt
+
+
+
+

Authors

+
    +
  • Felix Fontein (@felixfontein)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/acme_challenge_cert_helper_module.html b/tag/2.18.0/acme_challenge_cert_helper_module.html new file mode 100644 index 000000000..4ad2abb9a --- /dev/null +++ b/tag/2.18.0/acme_challenge_cert_helper_module.html @@ -0,0 +1,458 @@ + + + + + + + + community.crypto.acme_challenge_cert_helper module – Prepare certificates required for ACME challenges such as tls-alpn-01 — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.acme_challenge_cert_helper module – Prepare certificates required for ACME challenges such as tls-alpn-01

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.acme_challenge_cert_helper.

+
+ +
+

Synopsis

+
    +
  • Prepares certificates for ACME challenges such as tls-alpn-01.

  • +
  • The raw data is provided by the community.crypto.acme_certificate module, and needs to be converted to a certificate to be used for challenge validation. This module provides a simple way to generate the required certificates.

  • +
+
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+
    +
  • cryptography >= 1.3

  • +
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +

Parameter

Comments

+

challenge

+

string / required

+

The challenge type.

+

Choices:

+
    +
  • "tls-alpn-01"

  • +
+
+

challenge_data

+

dictionary / required

+

The challenge_data entry provided by community.crypto.acme_certificate for the challenge.

+
+

private_key_content

+

string

+

Content of the private key to use for this challenge certificate.

+

Mutually exclusive with private_key_src.

+
+

private_key_passphrase

+

string

+

added in community.crypto 1.6.0

+

Phassphrase to use to decode the private key.

+
+

private_key_src

+

path

+

Path to a file containing the private key file to use for this challenge certificate.

+

Mutually exclusive with private_key_content.

+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

check_mode

+

Support: none

+

This action does not modify state.

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: N/A

+

This action does not modify state.

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+
+
+

See Also

+
+

See also

+
+
Automatic Certificate Management Environment (ACME)

The specification of the ACME protocol (RFC 8555).

+
+
ACME TLS ALPN Challenge Extension

The specification of the tls-alpn-01 challenge (RFC 8737).

+
+
+
+
+
+

Examples

+
- name: Create challenges for a given CRT for sample.com
+  community.crypto.acme_certificate:
+    account_key_src: /etc/pki/cert/private/account.key
+    challenge: tls-alpn-01
+    csr: /etc/pki/cert/csr/sample.com.csr
+    dest: /etc/httpd/ssl/sample.com.crt
+  register: sample_com_challenge
+
+- name: Create certificates for challenges
+  community.crypto.acme_challenge_cert_helper:
+    challenge: tls-alpn-01
+    challenge_data: "{{ item.value['tls-alpn-01'] }}"
+    private_key_src: /etc/pki/cert/key/sample.com.key
+  loop: "{{ sample_com_challenge.challenge_data | dictsort }}"
+  register: sample_com_challenge_certs
+
+- name: Install challenge certificates
+  # We need to set up HTTPS such that for the domain,
+  # regular_certificate is delivered for regular connections,
+  # except if ALPN selects the "acme-tls/1"; then, the
+  # challenge_certificate must be delivered.
+  # This can for example be achieved with very new versions
+  # of NGINX; search for ssl_preread and
+  # ssl_preread_alpn_protocols for information on how to
+  # route by ALPN protocol.
+  ...:
+    domain: "{{ item.domain }}"
+    challenge_certificate: "{{ item.challenge_certificate }}"
+    regular_certificate: "{{ item.regular_certificate }}"
+    private_key: /etc/pki/cert/key/sample.com.key
+  loop: "{{ sample_com_challenge_certs.results }}"
+
+- name: Create certificate for a given CSR for sample.com
+  community.crypto.acme_certificate:
+    account_key_src: /etc/pki/cert/private/account.key
+    challenge: tls-alpn-01
+    csr: /etc/pki/cert/csr/sample.com.csr
+    dest: /etc/httpd/ssl/sample.com.crt
+    data: "{{ sample_com_challenge }}"
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + + + + + + + + + + + + + +

Key

Description

+

challenge_certificate

+

string

+

The challenge certificate in PEM format.

+

Returned: always

+
+

domain

+

string

+

The domain the challenge is for. The certificate should be provided if this is specified in the request’s the Host header.

+

Returned: always

+
+

identifier

+

string

+

The identifier for the actual resource. Will be a domain name if identifier_type=dns, or an IP address if identifier_type=ip.

+

Returned: always

+
+

identifier_type

+

string

+

The identifier type for the actual resource identifier.

+

Returned: always

+

Can only return:

+
    +
  • "dns"

  • +
  • "ip"

  • +
+
+

regular_certificate

+

string

+

A self-signed certificate for the challenge domain.

+

If no existing certificate exists, can be used to set-up https in the first place if that is needed for providing the challenge.

+

Returned: always

+
+
+

Authors

+
    +
  • Felix Fontein (@felixfontein)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/acme_inspect_module.html b/tag/2.18.0/acme_inspect_module.html new file mode 100644 index 000000000..2b685ec99 --- /dev/null +++ b/tag/2.18.0/acme_inspect_module.html @@ -0,0 +1,637 @@ + + + + + + + + community.crypto.acme_inspect module – Send direct requests to an ACME server — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.acme_inspect module – Send direct requests to an ACME server

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.acme_inspect.

+
+ +
+

Synopsis

+
    +
  • Allows to send direct requests to an ACME server with the ACME protocol, which is supported by CAs such as Let’s Encrypt.

  • +
  • This module can be used to debug failed certificate request attempts, for example when community.crypto.acme_certificate fails or encounters a problem which you wish to investigate.

  • +
  • The module can also be used to directly access features of an ACME servers which are not yet supported by the Ansible ACME modules.

  • +
+
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+ +
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

Comments

+

account_key_content

+

string

+

Content of the ACME account RSA or Elliptic Curve key.

+

Mutually exclusive with account_key_src.

+

Required if account_key_src is not used.

+

Warning: the content will be written into a temporary file, which will be deleted by Ansible when the module completes. Since this is an important private key — it can be used to change the account key, or to revoke your certificates without knowing their private keys —, this might not be acceptable.

+

In case cryptography is used, the content is not written into a temporary file. It can still happen that it is written to disk by Ansible in the process of moving the module with its argument to the node where it is executed.

+
+

account_key_passphrase

+

string

+

added in community.crypto 1.6.0

+

Phassphrase to use to decode the account key.

+

Note: this is not supported by the openssl backend, only by the cryptography backend.

+
+
+

account_key_src

+

aliases: account_key

+

path

+

Path to a file containing the ACME account RSA or Elliptic Curve key.

+

Private keys can be created with the community.crypto.openssl_privatekey or community.crypto.openssl_privatekey_pipe modules. If the requisite (cryptography) is not available, keys can also be created directly with the openssl command line tool: RSA keys can be created with openssl genrsa .... Elliptic curve keys can be created with openssl ecparam -genkey .... Any other tool creating private keys in PEM format can be used as well.

+

Mutually exclusive with account_key_content.

+

Required if account_key_content is not used.

+
+

account_uri

+

string

+

If specified, assumes that the account URI is as given. If the account key does not match this account, or an account with this URI does not exist, the module fails.

+
+

acme_directory

+

string / required

+

The ACME directory to use. This is the entry point URL to access the ACME CA server API.

+

For safety reasons the default is set to the Let’s Encrypt staging server (for the ACME v1 protocol). This will create technically correct, but untrusted certificates.

+

For Let’s Encrypt, all staging endpoints can be found here: https://letsencrypt.org/docs/staging-environment/. For Buypass, all endpoints can be found here: https://community.buypass.com/t/63d4ay/buypass-go-ssl-endpoints

+

For Let’s Encrypt, the production directory URL for ACME v2 is https://acme-v02.api.letsencrypt.org/directory.

+

For Buypass, the production directory URL for ACME v2 and v1 is https://api.buypass.com/acme/directory.

+

For ZeroSSL, the production directory URL for ACME v2 is https://acme.zerossl.com/v2/DV90.

+

For Sectigo, the production directory URL for ACME v2 is https://acme-qa.secure.trust-provider.com/v2/DV.

+

The notes for this module contain a list of ACME services this module has been tested against.

+
+

acme_version

+

integer / required

+

The ACME version of the endpoint.

+

Must be 1 for the classic Let’s Encrypt and Buypass ACME endpoints, or 2 for standardized ACME v2 endpoints.

+

The value 1 is deprecated since community.crypto 2.0.0 and will be removed from community.crypto 3.0.0.

+

Choices:

+
    +
  • 1

  • +
  • 2

  • +
+
+

content

+

string

+

An encoded JSON object which will be sent as the content if method is post.

+

Required when method is post, and not allowed otherwise.

+
+

fail_on_acme_error

+

boolean

+

If method is post or get, make the module fail in case an ACME error is returned.

+

Choices:

+
    +
  • false

  • +
  • true ← (default)

  • +
+
+

method

+

string

+

The method to use to access the given URL on the ACME server.

+

The value post executes an authenticated POST request. The content must be specified in the content option.

+

The value get executes an authenticated POST-as-GET request for ACME v2, and a regular GET request for ACME v1.

+

The value directory-only only retrieves the directory, without doing a request.

+

Choices:

+
    +
  • "get" ← (default)

  • +
  • "post"

  • +
  • "directory-only"

  • +
+
+

request_timeout

+

integer

+

added in community.crypto 2.3.0

+

The time Ansible should wait for a response from the ACME API.

+

This timeout is applied to all HTTP(S) requests (HEAD, GET, POST).

+

Default: 10

+
+

select_crypto_backend

+

string

+

Determines which crypto backend to use.

+

The default choice is auto, which tries to use cryptography if available, and falls back to openssl.

+

If set to openssl, will try to use the openssl binary.

+

If set to cryptography, will try to use the cryptography library.

+

Choices:

+
    +
  • "auto" ← (default)

  • +
  • "cryptography"

  • +
  • "openssl"

  • +
+
+

url

+

string

+

The URL to send the request to.

+

Must be specified if method is not directory-only.

+
+

validate_certs

+

boolean

+

Whether calls to the ACME directory will validate TLS certificates.

+

Warning: Should only ever be set to false for testing purposes, for example when testing against a local Pebble server.

+

Choices:

+
    +
  • false

  • +
  • true ← (default)

  • +
+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

action_group

+

Action groups: community.crypto.acme, acme

+

Use group/acme or group/community.crypto.acme in module_defaults to set defaults for this module.

+
+

check_mode

+

Support: none

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: none

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+
+
+

Notes

+
+

Note

+
    +
  • The account_uri option must be specified for properly authenticated ACME v2 requests (except a new-account request).

  • +
  • Using the ansible tool, community.crypto.acme_inspect can be used to directly execute ACME requests without the need of writing a playbook. For example, the following command retrieves the ACME account with ID 1 from Let’s Encrypt (assuming /path/to/key is the correct private account key): ansible localhost -m acme_inspect -a "account_key_src=/path/to/key acme_directory=https://acme-v02.api.letsencrypt.org/directory acme_version=2 account_uri=https://acme-v02.api.letsencrypt.org/acme/acct/1 method=get url=https://acme-v02.api.letsencrypt.org/acme/acct/1"

  • +
  • If a new enough version of the cryptography library is available (see Requirements for details), it will be used instead of the openssl binary. This can be explicitly disabled or enabled with the select_crypto_backend option. Note that using the openssl binary will be slower and less secure, as private key contents always have to be stored on disk (see account_key_content).

  • +
  • Although the defaults are chosen so that the module can be used with the Let’s Encrypt CA, the module can in principle be used with any CA providing an ACME endpoint, such as Buypass Go SSL.

  • +
  • So far, the ACME modules have only been tested by the developers against Let’s Encrypt (staging and production), Buypass (staging and production), ZeroSSL (production), and Pebble testing server. We have got community feedback that they also work with Sectigo ACME Service for InCommon. If you experience problems with another ACME server, please create an issue to help us supporting it. Feedback that an ACME server not mentioned does work is also appreciated.

  • +
+
+
+
+

See Also

+
+

See also

+
+
Automatic Certificate Management Environment (ACME)

The specification of the ACME protocol (RFC 8555).

+
+
ACME TLS ALPN Challenge Extension

The specification of the tls-alpn-01 challenge (RFC 8737).

+
+
+
+
+
+

Examples

+
- name: Get directory
+  community.crypto.acme_inspect:
+    acme_directory: https://acme-staging-v02.api.letsencrypt.org/directory
+    acme_version: 2
+    method: directory-only
+  register: directory
+
+- name: Create an account
+  community.crypto.acme_inspect:
+    acme_directory: https://acme-staging-v02.api.letsencrypt.org/directory
+    acme_version: 2
+    account_key_src: /etc/pki/cert/private/account.key
+    url: "{{ directory.newAccount}}"
+    method: post
+    content: '{"termsOfServiceAgreed":true}'
+  register: account_creation
+  # account_creation.headers.location contains the account URI
+  # if creation was successful
+
+- name: Get account information
+  community.crypto.acme_inspect:
+    acme_directory: https://acme-staging-v02.api.letsencrypt.org/directory
+    acme_version: 2
+    account_key_src: /etc/pki/cert/private/account.key
+    account_uri: "{{ account_creation.headers.location }}"
+    url: "{{ account_creation.headers.location }}"
+    method: get
+
+- name: Update account contacts
+  community.crypto.acme_inspect:
+    acme_directory: https://acme-staging-v02.api.letsencrypt.org/directory
+    acme_version: 2
+    account_key_src: /etc/pki/cert/private/account.key
+    account_uri: "{{ account_creation.headers.location }}"
+    url: "{{ account_creation.headers.location }}"
+    method: post
+    content: '{{ account_info | to_json }}'
+  vars:
+    account_info:
+      # For valid values, see
+      # https://tools.ietf.org/html/rfc8555#section-7.3
+      contact:
+      - mailto:me@example.com
+
+- name: Create certificate order
+  community.crypto.acme_certificate:
+    acme_directory: https://acme-staging-v02.api.letsencrypt.org/directory
+    acme_version: 2
+    account_key_src: /etc/pki/cert/private/account.key
+    account_uri: "{{ account_creation.headers.location }}"
+    csr: /etc/pki/cert/csr/sample.com.csr
+    fullchain_dest: /etc/httpd/ssl/sample.com-fullchain.crt
+    challenge: http-01
+  register: certificate_request
+
+# Assume something went wrong. certificate_request.order_uri contains
+# the order URI.
+
+- name: Get order information
+  community.crypto.acme_inspect:
+    acme_directory: https://acme-staging-v02.api.letsencrypt.org/directory
+    acme_version: 2
+    account_key_src: /etc/pki/cert/private/account.key
+    account_uri: "{{ account_creation.headers.location }}"
+    url: "{{ certificate_request.order_uri }}"
+    method: get
+  register: order
+
+- name: Get first authz for order
+  community.crypto.acme_inspect:
+    acme_directory: https://acme-staging-v02.api.letsencrypt.org/directory
+    acme_version: 2
+    account_key_src: /etc/pki/cert/private/account.key
+    account_uri: "{{ account_creation.headers.location }}"
+    url: "{{ order.output_json.authorizations[0] }}"
+    method: get
+  register: authz
+
+- name: Get HTTP-01 challenge for authz
+  community.crypto.acme_inspect:
+    acme_directory: https://acme-staging-v02.api.letsencrypt.org/directory
+    acme_version: 2
+    account_key_src: /etc/pki/cert/private/account.key
+    account_uri: "{{ account_creation.headers.location }}"
+    url: "{{ authz.output_json.challenges | selectattr('type', 'equalto', 'http-01') }}"
+    method: get
+  register: http01challenge
+
+- name: Activate HTTP-01 challenge manually
+  community.crypto.acme_inspect:
+    acme_directory: https://acme-staging-v02.api.letsencrypt.org/directory
+    acme_version: 2
+    account_key_src: /etc/pki/cert/private/account.key
+    account_uri: "{{ account_creation.headers.location }}"
+    url: "{{ http01challenge.url }}"
+    method: post
+    content: '{}'
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + + + + + + + + + + +

Key

Description

+

directory

+

dictionary

+

The ACME directory’s content

+

Returned: always

+

Sample: {"a85k3x9f91A4": "https://community.letsencrypt.org/t/adding-random-entries-to-the-directory/33417", "keyChange": "https://acme-v02.api.letsencrypt.org/acme/key-change", "meta": {"caaIdentities": ["letsencrypt.org"], "termsOfService": "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf", "website": "https://letsencrypt.org"}, "newAccount": "https://acme-v02.api.letsencrypt.org/acme/new-acct", "newNonce": "https://acme-v02.api.letsencrypt.org/acme/new-nonce", "newOrder": "https://acme-v02.api.letsencrypt.org/acme/new-order", "revokeCert": "https://acme-v02.api.letsencrypt.org/acme/revoke-cert"}

+
+

headers

+

dictionary

+

The request’s HTTP headers (with lowercase keys)

+

Returned: always

+

Sample: {"boulder-requester": "12345", "cache-control": "max-age=0, no-cache, no-store", "connection": "close", "content-length": "904", "content-type": "application/json", "cookies": {}, "cookies_string": "", "date": "Wed, 07 Nov 2018 12:34:56 GMT", "expires": "Wed, 07 Nov 2018 12:44:56 GMT", "link": "<https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf>;rel=\"terms-of-service\"", "msg": "OK (904 bytes)", "pragma": "no-cache", "replay-nonce": "1234567890abcdefghijklmnopqrstuvwxyzABCDEFGH", "server": "nginx", "status": 200, "strict-transport-security": "max-age=604800", "url": "https://acme-v02.api.letsencrypt.org/acme/acct/46161", "x-frame-options": "DENY"}

+
+

output_json

+

dictionary

+

The output parsed as JSON

+

Returned: if output can be parsed as JSON

+

Sample: [{"id": 12345}, {"key": [{"kty": "RSA"}, "..."]}]

+
+

output_text

+

string

+

The raw text output

+

Returned: always

+

Sample: "{\n  \"id\": 12345,\n  \"key\": {\n    \"kty\": \"RSA\",\n ..."

+
+
+

Authors

+
    +
  • Felix Fontein (@felixfontein)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/certificate_complete_chain_module.html b/tag/2.18.0/certificate_complete_chain_module.html new file mode 100644 index 000000000..df283ab14 --- /dev/null +++ b/tag/2.18.0/certificate_complete_chain_module.html @@ -0,0 +1,404 @@ + + + + + + + + community.crypto.certificate_complete_chain module – Complete certificate chain given a set of untrusted and root certificates — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.certificate_complete_chain module – Complete certificate chain given a set of untrusted and root certificates

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.certificate_complete_chain.

+
+ +
+

Synopsis

+
    +
  • This module completes a given chain of certificates in PEM format by finding intermediate certificates from a given set of certificates, until it finds a root certificate in another given set of certificates.

  • +
  • This can for example be used to find the root certificate for a certificate chain returned by community.crypto.acme_certificate.

  • +
  • Note that this module does not check for validity of the chains. It only checks that issuer and subject match, and that the signature is correct. It ignores validity dates and key usage completely. If you need to verify that a generated chain is valid, please use openssl verify ....

  • +
+
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+
    +
  • cryptography >= 1.5

  • +
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + +

Parameter

Comments

+

input_chain

+

string / required

+

A concatenated set of certificates in PEM format forming a chain.

+

The module will try to complete this chain.

+
+

intermediate_certificates

+

list / elements=path

+

A list of filenames or directories.

+

A filename is assumed to point to a file containing one or more certificates in PEM format. All certificates in this file will be added to the set of root certificates.

+

If a directory name is given, all files in the directory and its subdirectories will be scanned and tried to be parsed as concatenated certificates in PEM format.

+

Symbolic links will be followed.

+

Default: []

+
+

root_certificates

+

list / elements=path / required

+

A list of filenames or directories.

+

A filename is assumed to point to a file containing one or more certificates in PEM format. All certificates in this file will be added to the set of root certificates.

+

If a directory name is given, all files in the directory and its subdirectories will be scanned and tried to be parsed as concatenated certificates in PEM format.

+

Symbolic links will be followed.

+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

check_mode

+

Support: full

+

This action does not modify state.

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: N/A

+

This action does not modify state.

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+
+
+

Examples

+
# Given a leaf certificate for www.ansible.com and one or more intermediate
+# certificates, finds the associated root certificate.
+- name: Find root certificate
+  community.crypto.certificate_complete_chain:
+    input_chain: "{{ lookup('ansible.builtin.file', '/etc/ssl/csr/www.ansible.com-fullchain.pem') }}"
+    root_certificates:
+    - /etc/ca-certificates/
+  register: www_ansible_com
+- name: Write root certificate to disk
+  ansible.builtin.copy:
+    dest: /etc/ssl/csr/www.ansible.com-root.pem
+    content: "{{ www_ansible_com.root }}"
+
+# Given a leaf certificate for www.ansible.com, and a list of intermediate
+# certificates, finds the associated root certificate.
+- name: Find root certificate
+  community.crypto.certificate_complete_chain:
+    input_chain: "{{ lookup('ansible.builtin.file', '/etc/ssl/csr/www.ansible.com.pem') }}"
+    intermediate_certificates:
+    - /etc/ssl/csr/www.ansible.com-chain.pem
+    root_certificates:
+    - /etc/ca-certificates/
+  register: www_ansible_com
+- name: Write complete chain to disk
+  ansible.builtin.copy:
+    dest: /etc/ssl/csr/www.ansible.com-completechain.pem
+    content: "{{ ''.join(www_ansible_com.complete_chain) }}"
+- name: Write root chain (intermediates and root) to disk
+  ansible.builtin.copy:
+    dest: /etc/ssl/csr/www.ansible.com-rootchain.pem
+    content: "{{ ''.join(www_ansible_com.chain) }}"
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + + + + + + + +

Key

Description

+

chain

+

list / elements=string

+

The chain added to the given input chain. Includes the root certificate.

+

Returned as a list of PEM certificates.

+

Returned: success

+
+

complete_chain

+

list / elements=string

+

The completed chain, including leaf, all intermediates, and root.

+

Returned as a list of PEM certificates.

+

Returned: success

+
+

root

+

string

+

The root certificate in PEM format.

+

Returned: success

+
+
+

Authors

+
    +
  • Felix Fontein (@felixfontein)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/crypto_info_module.html b/tag/2.18.0/crypto_info_module.html new file mode 100644 index 000000000..8eb4f2354 --- /dev/null +++ b/tag/2.18.0/crypto_info_module.html @@ -0,0 +1,504 @@ + + + + + + + + community.crypto.crypto_info module – Retrieve cryptographic capabilities — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.crypto_info module – Retrieve cryptographic capabilities

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto.

+

To use it in a playbook, specify: community.crypto.crypto_info.

+
+

New in community.crypto 2.1.0

+ +
+

Synopsis

+
    +
  • Retrieve information on cryptographic capabilities.

  • +
  • The current version retrieves information on the Python cryptography library available to Ansible modules, and on the OpenSSL binary openssl found in the path.

  • +
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

check_mode

+

Support: full

+

This action does not modify state.

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: N/A

+

This action does not modify state.

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+
+
+

Examples

+
- name: Retrieve information
+  community.crypto.crypto_info:
+    account_key_src: /etc/pki/cert/private/account.key
+  register: crypto_information
+
+- name: Show retrieved information
+  ansible.builtin.debug:
+    var: crypto_information
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Key

Description

+

openssl

+

dictionary

+

Information on the installed OpenSSL binary.

+

Returned: when openssl_present=true

+
+

path

+

string

+

Path of the OpenSSL binary.

+

Returned: success

+

Sample: "/usr/bin/openssl"

+
+

version

+

string

+

The OpenSSL version.

+

Returned: success

+

Sample: "1.1.1m"

+
+

version_output

+

string

+

The complete output of openssl version.

+

Returned: success

+

Sample: "OpenSSL 1.1.1m  14 Dec 2021\\n"

+
+

openssl_present

+

boolean

+

Whether the OpenSSL binary openssl is installed and can be found in the PATH.

+

Returned: always

+

Sample: true

+
+

python_cryptography_capabilities

+

dictionary

+

Information on the installed Python cryptography library.

+

Returned: when python_cryptography_installed=true

+
+

curves

+

list / elements=string

+

List of all supported elliptic curves.

+

Theoretically this should be non-empty for version 0.5 and higher, depending on the libssl version used.

+

Returned: success

+
+

has_dsa

+

boolean

+

Whether DSA keys are supported.

+

Theoretically this should be the case for version 0.5 and higher.

+

Returned: success

+
+

has_dsa_sign

+

boolean

+

Whether signing with DSA keys is supported.

+

Theoretically this should be the case for version 1.5 and higher.

+

Returned: success

+
+

has_ec

+

boolean

+

Whether elliptic curves are supported.

+

Theoretically this should be the case for version 0.5 and higher, depending on the libssl version used.

+

Returned: success

+
+

has_ec_sign

+

boolean

+

Whether signing with elliptic curves is supported.

+

Theoretically this should be the case for version 1.5 and higher, depending on the libssl version used.

+

Returned: success

+
+

has_ed25519

+

boolean

+

Whether Ed25519 keys are supported.

+

Theoretically this should be the case for version 2.6 and higher, depending on the libssl version used.

+

Returned: success

+
+

has_ed25519_sign

+

boolean

+

Whether signing with Ed25519 keys is supported.

+

Theoretically this should be the case for version 2.6 and higher, depending on the libssl version used.

+

Returned: success

+
+

has_ed448

+

boolean

+

Whether Ed448 keys are supported.

+

Theoretically this should be the case for version 2.6 and higher, depending on the libssl version used.

+

Returned: success

+
+

has_ed448_sign

+

boolean

+

Whether signing with Ed448 keys is supported.

+

Theoretically this should be the case for version 2.6 and higher, depending on the libssl version used.

+

Returned: success

+
+

has_rsa

+

boolean

+

Whether RSA keys are supported.

+

Theoretically this should be the case for version 0.5 and higher.

+

Returned: success

+
+

has_rsa_sign

+

boolean

+

Whether signing with RSA keys is supported.

+

Theoretically this should be the case for version 1.4 and higher.

+

Returned: success

+
+

has_x25519

+

boolean

+

Whether X25519 keys are supported.

+

Theoretically this should be the case for version 2.0 and higher, depending on the libssl version used.

+

Returned: success

+
+

has_x25519_serialization

+

boolean

+

Whether serialization of X25519 keys is supported.

+

Theoretically this should be the case for version 2.5 and higher, depending on the libssl version used.

+

Returned: success

+
+

has_x448

+

boolean

+

Whether X448 keys are supported.

+

Theoretically this should be the case for version 2.5 and higher, depending on the libssl version used.

+

Returned: success

+
+

version

+

string

+

The library version.

+

Returned: success

+
+

python_cryptography_import_error

+

string

+

Import error when trying to import the Python cryptography library.

+

Returned: when python_cryptography_installed=false

+
+

python_cryptography_installed

+

boolean

+

Whether the Python cryptography library is installed.

+

Returned: always

+

Sample: true

+
+
+

Authors

+
    +
  • Felix Fontein (@felixfontein)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/docsite/guide_ownca.html b/tag/2.18.0/docsite/guide_ownca.html new file mode 100644 index 000000000..efaf7d13e --- /dev/null +++ b/tag/2.18.0/docsite/guide_ownca.html @@ -0,0 +1,329 @@ + + + + + + + How to create a small CA — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • +
  • +
+
+
+
+ + +
+ +
+

How to create a small CA

+

The community.crypto collection offers multiple modules that create private keys, certificate signing requests, and certificates. This guide shows how to create your own small CA and how to use it to sign certificates.

+

In all examples, we assume that the CA’s private key is password protected, where the password is provided in the secret_ca_passphrase variable.

+
+

Set up the CA

+

Any certificate can be used as a CA certificate. You can create a self-signed certificate (see How to create self-signed certificates), use another CA certificate to sign a new certificate (using the instructions below for signing a certificate), ask (and pay) a commercial CA to sign your CA certificate, etc.

+

The following instructions show how to set up a simple self-signed CA certificate.

+
- name: Create private key with password protection
+  community.crypto.openssl_privatekey:
+    path: /path/to/ca-certificate.key
+    passphrase: "{{ secret_ca_passphrase }}"
+
+- name: Create certificate signing request (CSR) for CA certificate
+  community.crypto.openssl_csr_pipe:
+    privatekey_path: /path/to/ca-certificate.key
+    privatekey_passphrase: "{{ secret_ca_passphrase }}"
+    common_name: Ansible CA
+    use_common_name_for_san: false  # since we do not specify SANs, don't use CN as a SAN
+    basic_constraints:
+      - 'CA:TRUE'
+    basic_constraints_critical: true
+    key_usage:
+      - keyCertSign
+    key_usage_critical: true
+  register: ca_csr
+
+- name: Create self-signed CA certificate from CSR
+  community.crypto.x509_certificate:
+    path: /path/to/ca-certificate.pem
+    csr_content: "{{ ca_csr.csr }}"
+    privatekey_path: /path/to/ca-certificate.key
+    privatekey_passphrase: "{{ secret_ca_passphrase }}"
+    provider: selfsigned
+
+
+
+
+

Use the CA to sign a certificate

+

To sign a certificate, you must pass a CSR to the community.crypto.x509_certificate module or community.crypto.x509_certificate_pipe module.

+

In the following example, we assume that the certificate to sign (including its private key) are on server_1, while our CA certificate is on server_2. We do not want any key material to leave each respective server.

+
- name: Create private key for new certificate on server_1
+  community.crypto.openssl_privatekey:
+    path: /path/to/certificate.key
+  delegate_to: server_1
+  run_once: true
+
+- name: Create certificate signing request (CSR) for new certificate
+  community.crypto.openssl_csr_pipe:
+    privatekey_path: /path/to/certificate.key
+    subject_alt_name:
+      - "DNS:ansible.com"
+      - "DNS:www.ansible.com"
+      - "DNS:docs.ansible.com"
+  delegate_to: server_1
+  run_once: true
+  register: csr
+
+- name: Sign certificate with our CA
+  community.crypto.x509_certificate_pipe:
+    csr_content: "{{ csr.csr }}"
+    provider: ownca
+    ownca_path: /path/to/ca-certificate.pem
+    ownca_privatekey_path: /path/to/ca-certificate.key
+    ownca_privatekey_passphrase: "{{ secret_ca_passphrase }}"
+    ownca_not_after: +365d  # valid for one year
+    ownca_not_before: "-1d"  # valid since yesterday
+  delegate_to: server_2
+  run_once: true
+  register: certificate
+
+- name: Write certificate file on server_1
+  copy:
+    dest: /path/to/certificate.pem
+    content: "{{ certificate.certificate }}"
+  delegate_to: server_1
+  run_once: true
+
+
+

Please note that the above procedure is not idempotent. The following extended example reads the existing certificate from server_1 (if exists) and provides it to the community.crypto.x509_certificate_pipe module, and only writes the result back if it was changed:

+
- name: Create private key for new certificate on server_1
+  community.crypto.openssl_privatekey:
+    path: /path/to/certificate.key
+  delegate_to: server_1
+  run_once: true
+
+- name: Create certificate signing request (CSR) for new certificate
+  community.crypto.openssl_csr_pipe:
+    privatekey_path: /path/to/certificate.key
+    subject_alt_name:
+      - "DNS:ansible.com"
+      - "DNS:www.ansible.com"
+      - "DNS:docs.ansible.com"
+  delegate_to: server_1
+  run_once: true
+  register: csr
+
+- name: Check whether certificate exists
+  stat:
+    path: /path/to/certificate.pem
+  delegate_to: server_1
+  run_once: true
+  register: certificate_exists
+
+- name: Read existing certificate if exists
+  slurp:
+    src: /path/to/certificate.pem
+  when: certificate_exists.stat.exists
+  delegate_to: server_1
+  run_once: true
+  register: certificate
+
+- name: Sign certificate with our CA
+  community.crypto.x509_certificate_pipe:
+    content: "{{ (certificate.content | b64decode) if certificate_exists.stat.exists else omit }}"
+    csr_content: "{{ csr.csr }}"
+    provider: ownca
+    ownca_path: /path/to/ca-certificate.pem
+    ownca_privatekey_path: /path/to/ca-certificate.key
+    ownca_privatekey_passphrase: "{{ secret_ca_passphrase }}"
+    ownca_not_after: +365d  # valid for one year
+    ownca_not_before: "-1d"  # valid since yesterday
+  delegate_to: server_2
+  run_once: true
+  register: certificate
+
+- name: Write certificate file on server_1
+  copy:
+    dest: /path/to/certificate.pem
+    content: "{{ certificate.certificate }}"
+  delegate_to: server_1
+  run_once: true
+  when: certificate is changed
+
+
+
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/docsite/guide_selfsigned.html b/tag/2.18.0/docsite/guide_selfsigned.html new file mode 100644 index 000000000..bdf854c63 --- /dev/null +++ b/tag/2.18.0/docsite/guide_selfsigned.html @@ -0,0 +1,236 @@ + + + + + + + How to create self-signed certificates — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • +
  • +
+
+
+
+ + +
+ +
+

How to create self-signed certificates

+

The community.crypto collection offers multiple modules that create private keys, certificate signing requests, and certificates. This guide shows how to create self-signed certificates.

+

For creating any kind of certificate, you always have to start with a private key. You can use the community.crypto.openssl_privatekey module to create a private key. If you only specify path, the default parameters will be used. This will result in a 4096 bit RSA private key:

+
- name: Create private key (RSA, 4096 bits)
+  community.crypto.openssl_privatekey:
+    path: /path/to/certificate.key
+
+
+

You can specify type to select another key type, size to select a different key size (only available for RSA and DSA keys), or passphrase if you want to store the key password-protected:

+
- name: Create private key (X25519) with password protection
+  community.crypto.openssl_privatekey:
+    path: /path/to/certificate.key
+    type: X25519
+    passphrase: changeme
+
+
+

To create a very simple self-signed certificate with no specific information, you can proceed directly with the community.crypto.x509_certificate module:

+
- name: Create simple self-signed certificate
+  community.crypto.x509_certificate:
+    path: /path/to/certificate.pem
+    privatekey_path: /path/to/certificate.key
+    provider: selfsigned
+
+
+

(If you used passphrase for the private key, you have to provide privatekey_passphrase.)

+

You can use selfsigned_not_after to define when the certificate expires (default: in roughly 10 years), and selfsigned_not_before to define from when the certificate is valid (default: now).

+

To define further properties of the certificate, like the subject, Subject Alternative Names (SANs), key usages, name constraints, etc., you need to first create a Certificate Signing Request (CSR) and provide it to the community.crypto.x509_certificate module. If you do not need the CSR file, you can use the community.crypto.openssl_csr_pipe module as in the example below. (To store it to disk, use the community.crypto.openssl_csr module instead.)

+
- name: Create certificate signing request (CSR) for self-signed certificate
+  community.crypto.openssl_csr_pipe:
+    privatekey_path: /path/to/certificate.key
+    common_name: ansible.com
+    organization_name: Ansible, Inc.
+    subject_alt_name:
+      - "DNS:ansible.com"
+      - "DNS:www.ansible.com"
+      - "DNS:docs.ansible.com"
+  register: csr
+
+- name: Create self-signed certificate from CSR
+  community.crypto.x509_certificate:
+    path: /path/to/certificate.pem
+    csr_content: "{{ csr.csr }}"
+    privatekey_path: /path/to/certificate.key
+    provider: selfsigned
+
+
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/ecs_certificate_module.html b/tag/2.18.0/ecs_certificate_module.html new file mode 100644 index 000000000..beab16c22 --- /dev/null +++ b/tag/2.18.0/ecs_certificate_module.html @@ -0,0 +1,1104 @@ + + + + + + + + community.crypto.ecs_certificate module – Request SSL/TLS certificates with the Entrust Certificate Services (ECS) API — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.ecs_certificate module – Request SSL/TLS certificates with the Entrust Certificate Services (ECS) API

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.ecs_certificate.

+
+ +
+

Synopsis

+
    +
  • Create, reissue, and renew certificates with the Entrust Certificate Services (ECS) API.

  • +
  • Requires credentials for the Entrust Certificate Services (ECS) API.

  • +
  • In order to request a certificate, the domain and organization used in the certificate signing request must be already validated in the ECS system. It is not the responsibility of this module to perform those steps.

  • +
+
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+
    +
  • PyYAML >= 3.11

  • +
  • cryptography >= 1.6

  • +
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

Comments

+

additional_emails

+

list / elements=string

+

A list of additional email addresses to receive the delivery notice and expiry notification for the certificate.

+
+

backup

+

boolean

+

Whether a backup should be made for the certificate in path.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

cert_expiry

+

string

+

The date the certificate should be set to expire, in RFC3339 compliant date or date-time format. For example, 2020-02-23, 2020-02-23T15:00:00.05Z.

+

cert_expiry is only supported for requests of request_type=new or request_type=renew. If request_type=reissue, cert_expiry will be used for the first certificate issuance, but subsequent issuances will have the same expiry as the initial certificate.

+

A reissued certificate will always have the same expiry as the original certificate.

+

Note that only the date (day, month, year) is supported for specifying the expiry date. If you choose to specify an expiry time with the expiry date, the time will be adjusted to Eastern Standard Time (EST). This could have the unintended effect of moving your expiry date to the previous day.

+

Applies only to accounts with a pooling inventory model.

+

Only one of cert_expiry or cert_lifetime may be specified.

+
+

cert_lifetime

+

string

+

The lifetime of the certificate.

+

Applies to all certificates for accounts with a non-pooling inventory model.

+

cert_lifetime is only supported for requests of request_type=new or request_type=renew. If request_type=reissue, cert_lifetime will be used for the first certificate issuance, but subsequent issuances will have the same expiry as the initial certificate.

+

Applies to certificates of cert_type=CDS_INDIVIDUAL, CDS_GROUP, CDS_ENT_LITE, CDS_ENT_PRO, or SMIME_ENT for accounts with a pooling inventory model.

+

P1Y is a certificate with a 1 year lifetime.

+

P2Y is a certificate with a 2 year lifetime.

+

P3Y is a certificate with a 3 year lifetime.

+

Only one of cert_expiry or cert_lifetime may be specified.

+

Choices:

+
    +
  • "P1Y"

  • +
  • "P2Y"

  • +
  • "P3Y"

  • +
+
+

cert_type

+

string

+

Specify the type of certificate requested.

+

If a certificate is being reissued or renewed, this parameter is ignored, and the cert_type of the initial certificate is used.

+

Choices:

+
    +
  • "STANDARD_SSL"

  • +
  • "ADVANTAGE_SSL"

  • +
  • "UC_SSL"

  • +
  • "EV_SSL"

  • +
  • "WILDCARD_SSL"

  • +
  • "PRIVATE_SSL"

  • +
  • "PD_SSL"

  • +
  • "CODE_SIGNING"

  • +
  • "EV_CODE_SIGNING"

  • +
  • "CDS_INDIVIDUAL"

  • +
  • "CDS_GROUP"

  • +
  • "CDS_ENT_LITE"

  • +
  • "CDS_ENT_PRO"

  • +
  • "SMIME_ENT"

  • +
+
+

client_id

+

integer

+

The client ID to submit the Certificate Signing Request under.

+

If no client ID is specified, the certificate will be submitted under the primary client with ID of 1.

+

When using a client other than the primary client, the org parameter cannot be specified.

+

The issued certificate will have an organization value in the subject distinguished name represented by the client.

+

Default: 1

+
+

csr

+

string

+

Base-64 encoded Certificate Signing Request (CSR). csr is accepted with or without PEM formatting around the Base-64 string.

+

If no csr is provided when request_type=reissue or request_type=renew, the certificate will be generated with the same public key as the certificate being renewed or reissued.

+

If subject_alt_name is specified, it will override the subject alternate names in the CSR.

+

If eku is specified, it will override the extended key usage in the CSR.

+

If ou is specified, it will override the organizational units “ou=” present in the subject distinguished name of the CSR, if any.

+

The organization “O=” field from the CSR will not be used. It will be replaced in the issued certificate by org if present, and if not present, the organization tied to client_id.

+
+

ct_log

+

boolean

+

In compliance with browser requirements, this certificate may be posted to the Certificate Transparency (CT) logs. This is a best practice technique that helps domain owners monitor certificates issued to their domains. Note that not all certificates are eligible for CT logging.

+

If ct_log is not specified, the certificate uses the account default.

+

If ct_log is specified and the account settings allow it, ct_log overrides the account default.

+

If ct_log is set to false, but the account settings are set to “always log”, the certificate generation will fail.

+

Choices:

+
    +
  • false

  • +
  • true

  • +
+
+

custom_fields

+

dictionary

+

Mapping of custom fields to associate with the certificate request and certificate.

+

Only supported if custom fields are enabled for your account.

+

Each custom field specified must be a custom field you have defined for your account.

+
+

date1

+

string

+

Custom date field.

+
+

date2

+

string

+

Custom date field.

+
+

date3

+

string

+

Custom date field.

+
+

date4

+

string

+

Custom date field.

+
+

date5

+

string

+

Custom date field.

+
+

dropdown1

+

string

+

Custom dropdown field.

+
+

dropdown2

+

string

+

Custom dropdown field.

+
+

dropdown3

+

string

+

Custom dropdown field.

+
+

dropdown4

+

string

+

Custom dropdown field.

+
+

dropdown5

+

string

+

Custom dropdown field.

+
+

email1

+

string

+

Custom email field.

+
+

email2

+

string

+

Custom email field.

+
+

email3

+

string

+

Custom email field.

+
+

email4

+

string

+

Custom email field.

+
+

email5

+

string

+

Custom email field.

+
+

number1

+

float

+

Custom number field.

+
+

number2

+

float

+

Custom number field.

+
+

number3

+

float

+

Custom number field.

+
+

number4

+

float

+

Custom number field.

+
+

number5

+

float

+

Custom number field.

+
+

text1

+

string

+

Custom text field (maximum 500 characters)

+
+

text10

+

string

+

Custom text field (maximum 500 characters)

+
+

text11

+

string

+

Custom text field (maximum 500 characters)

+
+

text12

+

string

+

Custom text field (maximum 500 characters)

+
+

text13

+

string

+

Custom text field (maximum 500 characters)

+
+

text14

+

string

+

Custom text field (maximum 500 characters)

+
+

text15

+

string

+

Custom text field (maximum 500 characters)

+
+

text2

+

string

+

Custom text field (maximum 500 characters)

+
+

text3

+

string

+

Custom text field (maximum 500 characters)

+
+

text4

+

string

+

Custom text field (maximum 500 characters)

+
+

text5

+

string

+

Custom text field (maximum 500 characters)

+
+

text6

+

string

+

Custom text field (maximum 500 characters)

+
+

text7

+

string

+

Custom text field (maximum 500 characters)

+
+

text8

+

string

+

Custom text field (maximum 500 characters)

+
+

text9

+

string

+

Custom text field (maximum 500 characters)

+
+

eku

+

string

+

If specified, overrides the key usage in the csr.

+

Choices:

+
    +
  • "SERVER_AUTH"

  • +
  • "CLIENT_AUTH"

  • +
  • "SERVER_AND_CLIENT_AUTH"

  • +
+
+

end_user_key_storage_agreement

+

boolean

+

The end user of the Code Signing certificate must generate and store the private key for this request on cryptographically secure hardware to be compliant with the Entrust CSP and Subscription agreement. If requesting a certificate of type CODE_SIGNING or EV_CODE_SIGNING, you must set end_user_key_storage_agreement to true if and only if you acknowledge that you will inform the user of this requirement.

+

Applicable only to cert_type of values CODE_SIGNING and EV_CODE_SIGNING.

+

Choices:

+
    +
  • false

  • +
  • true

  • +
+
+

entrust_api_client_cert_key_path

+

path / required

+

The path to the key for the client certificate used to authenticate to the Entrust Certificate Services (ECS) API.

+
+

entrust_api_client_cert_path

+

path / required

+

The path to the client certificate used to authenticate to the Entrust Certificate Services (ECS) API.

+
+

entrust_api_key

+

string / required

+

The key (password) for authentication to the Entrust Certificate Services (ECS) API.

+
+

entrust_api_specification_path

+

path

+

The path to the specification file defining the Entrust Certificate Services (ECS) API configuration.

+

You can use this to keep a local copy of the specification to avoid downloading it every time the module is used.

+

Default: "https://cloud.entrust.net/EntrustCloud/documentation/cms-api-2.1.0.yaml"

+
+

entrust_api_user

+

string / required

+

The username for authentication to the Entrust Certificate Services (ECS) API.

+
+

force

+

boolean

+

If force is used, a certificate is requested regardless of whether path points to an existing valid certificate.

+

If request_type=renew, a forced renew will fail if the certificate being renewed has been issued within the past 30 days, regardless of the value of remaining_days or the return value of cert_days - the ECS API does not support the “renew” operation for certificates that are not at least 30 days old.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

full_chain_path

+

path

+

The destination path for the full certificate chain of the certificate, intermediates, and roots.

+
+

org

+

string

+

Organization “O=” to include in the certificate.

+

If org is not specified, the organization from the client represented by client_id is used.

+

Unless the cert_type is PD_SSL, this field may not be specified if the value of client_id is not “1” (the primary client). non-primary clients, certificates may only be issued with the organization of that client.

+
+

ou

+

list / elements=string

+

Organizational unit “OU=” to include in the certificate.

+

ou behavior is dependent on whether organizational units are enabled for your account. If organizational unit support is disabled for your account, organizational units from the csr and the ou parameter are ignored.

+

If both csr and ou are specified, the value in ou will override the OU fields present in the subject distinguished name in the csr

+

If neither csr nor ou are specified for a renew or reissue operation, the OU fields in the initial certificate are reused.

+

An invalid OU from csr is ignored, but any invalid organizational units in ou will result in an error indicating “Unapproved OU”. The ou parameter can be used to force failure if an unapproved organizational unit is provided.

+

A maximum of one OU may be specified for current products. Multiple OUs are reserved for future products.

+
+

path

+

path / required

+

The destination path for the generated certificate as a PEM encoded cert.

+

If the certificate at this location is not an Entrust issued certificate, a new certificate will always be requested even if the current certificate is technically valid.

+

If there is already an Entrust certificate at this location, whether it is replaced is depends on the remaining_days calculation.

+

If an existing certificate is being replaced (see remaining_days, force, and tracking_id), whether a new certificate is requested or the existing certificate is renewed or reissued is based on request_type.

+
+

remaining_days

+

integer

+

The number of days the certificate must have left being valid. If cert_days < remaining_days then a new certificate will be obtained using request_type.

+

If request_type=renew, a renewal will fail if the certificate being renewed has been issued within the past 30 days, so do not set a remaining_days value that is within 30 days of the full lifetime of the certificate being acted upon.

+

For example, if you are requesting Certificates with a 90 day lifetime, do not set remaining_days to a value 60 or higher).

+

The force option may be used to ensure that a new certificate is always obtained.

+

Default: 30

+
+

request_type

+

string

+

The operation performed if tracking_id references a valid certificate to reissue, or there is already a certificate present in path but either force is specified or cert_days < remaining_days.

+

Specifying request_type=validate_only means the request will be validated against the ECS API, but no certificate will be issued.

+

Specifying request_type=new means a certificate request will always be submitted and a new certificate issued.

+

Specifying request_type=renew means that an existing certificate (specified by tracking_id if present, otherwise path) will be renewed. If there is no certificate to renew, a new certificate is requested.

+

Specifying request_type=reissue means that an existing certificate (specified by tracking_id if present, otherwise path) will be reissued. If there is no certificate to reissue, a new certificate is requested.

+

If a certificate was issued within the past 30 days, the renew operation is not a valid operation and will fail.

+

Note that reissue is an operation that will result in the revocation of the certificate that is reissued, be cautious with its use.

+

check_mode is only supported if request_type=new

+

For example, setting request_type=renew and remaining_days=30 and pointing to the same certificate on multiple playbook runs means that on the first run new certificate will be requested. It will then be left along on future runs until it is within 30 days of expiry, then the ECS “renew” operation will be performed.

+

Choices:

+
    +
  • "new" ← (default)

  • +
  • "renew"

  • +
  • "reissue"

  • +
  • "validate_only"

  • +
+
+

requester_email

+

string / required

+

The requester email to associate with certificate tracking information and receive delivery and expiry notices for the certificate.

+
+

requester_name

+

string / required

+

The requester name to associate with certificate tracking information.

+
+

requester_phone

+

string / required

+

The requester phone number to associate with certificate tracking information.

+
+

subject_alt_name

+

list / elements=string

+

The subject alternative name identifiers, as an array of values (applies to cert_type with a value of STANDARD_SSL, ADVANTAGE_SSL, UC_SSL, EV_SSL, WILDCARD_SSL, PRIVATE_SSL, and PD_SSL).

+

If you are requesting a new SSL certificate, and you pass a subject_alt_name parameter, any SAN names in the CSR are ignored. If no subjectAltName parameter is passed, the SAN names in the CSR are used.

+

See request_type to understand more about SANs during reissues and renewals.

+

In the case of certificates of type STANDARD_SSL certificates, if the CN of the certificate is <domain>.<tld> only the www.<domain>.<tld> value is accepted. If the CN of the certificate is www.<domain>.<tld> only the <domain>.<tld> value is accepted.

+
+

tracking_id

+

integer

+

The tracking ID of the certificate to reissue or renew.

+

tracking_id is invalid if request_type=new or request_type=validate_only.

+

If there is a certificate present in path and it is an ECS certificate, tracking_id will be ignored.

+

If there is no certificate present in path or there is but it is from another provider, the certificate represented by tracking_id will be renewed or reissued and saved to path.

+

If there is no certificate present in path and the force and remaining_days parameters do not indicate a new certificate is needed, the certificate referenced by tracking_id certificate will be saved to path.

+

This can be used when a known certificate is not currently present on a server, but you want to renew or reissue it to be managed by an ansible playbook. For example, if you specify request_type=renew, tracking_id of an issued certificate, and path to a file that does not exist, the first run of a task will download the certificate specified by tracking_id (assuming it is still valid). Future runs of the task will (if applicable - see force and remaining_days) renew the certificate now present in path.

+
+

tracking_info

+

string

+

Free form tracking information to attach to the record for the certificate.

+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

check_mode

+

Support: partial

+

Check mode is only supported if request_type=new.

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: none

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+

safe_file_operations

+

Support: full

+

Uses Ansible’s strict file operation functions to ensure proper permissions and avoid data corruption.

+
+
+
+

Notes

+
+

Note

+
    +
  • path must be specified as the output location of the certificate.

  • +
+
+
+
+

See Also

+
+

See also

+
+
community.crypto.openssl_privatekey

Can be used to create private keys (both for certificates and accounts).

+
+
community.crypto.openssl_csr

Can be used to create a Certificate Signing Request (CSR).

+
+
community.crypto.to_serial filter plugin

Convert an integer to a colon-separated list of hex numbers.

+
+
+
+
+
+

Examples

+
- name: Request a new certificate from Entrust with bare minimum parameters.
+        Will request a new certificate if current one is valid but within 30
+        days of expiry. If replacing an existing file in path, will back it up.
+  community.crypto.ecs_certificate:
+    backup: true
+    path: /etc/ssl/crt/ansible.com.crt
+    full_chain_path: /etc/ssl/crt/ansible.com.chain.crt
+    csr: /etc/ssl/csr/ansible.com.csr
+    cert_type: EV_SSL
+    requester_name: Jo Doe
+    requester_email: jdoe@ansible.com
+    requester_phone: 555-555-5555
+    entrust_api_user: apiusername
+    entrust_api_key: a^lv*32!cd9LnT
+    entrust_api_client_cert_path: /etc/ssl/entrust/ecs-client.crt
+    entrust_api_client_cert_key_path: /etc/ssl/entrust/ecs-client.key
+
+- name: If there is no certificate present in path, request a new certificate
+        of type EV_SSL. Otherwise, if there is an Entrust managed certificate
+        in path and it is within 63 days of expiration, request a renew of that
+        certificate.
+  community.crypto.ecs_certificate:
+    path: /etc/ssl/crt/ansible.com.crt
+    csr: /etc/ssl/csr/ansible.com.csr
+    cert_type: EV_SSL
+    cert_expiry: '2020-08-20'
+    request_type: renew
+    remaining_days: 63
+    requester_name: Jo Doe
+    requester_email: jdoe@ansible.com
+    requester_phone: 555-555-5555
+    entrust_api_user: apiusername
+    entrust_api_key: a^lv*32!cd9LnT
+    entrust_api_client_cert_path: /etc/ssl/entrust/ecs-client.crt
+    entrust_api_client_cert_key_path: /etc/ssl/entrust/ecs-client.key
+
+- name: If there is no certificate present in path, download certificate
+        specified by tracking_id if it is still valid. Otherwise, if the
+        certificate is within 79 days of expiration, request a renew of that
+        certificate and save it in path. This can be used to "migrate" a
+        certificate to be Ansible managed.
+  community.crypto.ecs_certificate:
+    path: /etc/ssl/crt/ansible.com.crt
+    csr: /etc/ssl/csr/ansible.com.csr
+    tracking_id: 2378915
+    request_type: renew
+    remaining_days: 79
+    entrust_api_user: apiusername
+    entrust_api_key: a^lv*32!cd9LnT
+    entrust_api_client_cert_path: /etc/ssl/entrust/ecs-client.crt
+    entrust_api_client_cert_key_path: /etc/ssl/entrust/ecs-client.key
+
+- name: Force a reissue of the certificate specified by tracking_id.
+  community.crypto.ecs_certificate:
+    path: /etc/ssl/crt/ansible.com.crt
+    force: true
+    tracking_id: 2378915
+    request_type: reissue
+    entrust_api_user: apiusername
+    entrust_api_key: a^lv*32!cd9LnT
+    entrust_api_client_cert_path: /etc/ssl/entrust/ecs-client.crt
+    entrust_api_client_cert_key_path: /etc/ssl/entrust/ecs-client.key
+
+- name: Request a new certificate with an alternative client. Note that the
+        issued certificate will have it's Subject Distinguished Name use the
+        organization details associated with that client, rather than what is
+        in the CSR.
+  community.crypto.ecs_certificate:
+    path: /etc/ssl/crt/ansible.com.crt
+    csr: /etc/ssl/csr/ansible.com.csr
+    client_id: 2
+    requester_name: Jo Doe
+    requester_email: jdoe@ansible.com
+    requester_phone: 555-555-5555
+    entrust_api_user: apiusername
+    entrust_api_key: a^lv*32!cd9LnT
+    entrust_api_client_cert_path: /etc/ssl/entrust/ecs-client.crt
+    entrust_api_client_cert_key_path: /etc/ssl/entrust/ecs-client.key
+
+- name: Request a new certificate with a number of CSR parameters overridden
+        and tracking information
+  community.crypto.ecs_certificate:
+    path: /etc/ssl/crt/ansible.com.crt
+    full_chain_path: /etc/ssl/crt/ansible.com.chain.crt
+    csr: /etc/ssl/csr/ansible.com.csr
+    subject_alt_name:
+      - ansible.testcertificates.com
+      - www.testcertificates.com
+    eku: SERVER_AND_CLIENT_AUTH
+    ct_log: true
+    org: Test Organization Inc.
+    ou:
+      - Administration
+    tracking_info: "Submitted via Ansible"
+    additional_emails:
+      - itsupport@testcertificates.com
+      - jsmith@ansible.com
+    custom_fields:
+      text1: Admin
+      text2: Invoice 25
+      number1: 342
+      date1: '2018-01-01'
+      email1: sales@ansible.testcertificates.com
+      dropdown1: red
+    cert_expiry: '2020-08-15'
+    requester_name: Jo Doe
+    requester_email: jdoe@ansible.com
+    requester_phone: 555-555-5555
+    entrust_api_user: apiusername
+    entrust_api_key: a^lv*32!cd9LnT
+    entrust_api_client_cert_path: /etc/ssl/entrust/ecs-client.crt
+    entrust_api_client_cert_key_path: /etc/ssl/entrust/ecs-client.key
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Key

Description

+

backup_file

+

string

+

Name of backup file created for the certificate.

+

Returned: changed and if backup is true

+

Sample: "/path/to/www.ansible.com.crt.2019-03-09@11:22~"

+
+

backup_full_chain_file

+

string

+

Name of the backup file created for the certificate chain.

+

Returned: changed and if backup is true and full_chain_path is set.

+

Sample: "/path/to/ca.chain.crt.2019-03-09@11:22~"

+
+

cert_days

+

integer

+

The number of days the certificate remains valid.

+

Returned: success

+

Sample: 253

+
+

cert_details

+

dictionary

+

The full response JSON from the Get Certificate call of the ECS API.

+

While the response contents are guaranteed to be forwards compatible with new ECS API releases, Entrust recommends that you do not make any playbooks take actions based on the content of this field. However it may be useful for debugging, logging, or auditing purposes.

+

Returned: success

+
+

cert_status

+

string

+

The certificate status in ECS.

+

Current possible values (which may be expanded in the future) are: ACTIVE, APPROVED, DEACTIVATED, DECLINED, EXPIRED, NA, PENDING, PENDING_QUORUM, READY, REISSUED, REISSUING, RENEWED, RENEWING, REVOKED, SUSPENDED

+

Returned: success

+

Sample: "ACTIVE"

+
+

filename

+

string

+

The destination path for the generated certificate.

+

Returned: changed or success

+

Sample: "/etc/ssl/crt/www.ansible.com.crt"

+
+

serial_number

+

integer

+

The serial number of the issued certificate.

+

This return value is an integer. If you need the serial numbers as a colon-separated hex string, such as 11:22:33, you need to convert it to that form with community.crypto.to_serial.

+

Returned: success

+

Sample: 1235262234164342

+
+

tracking_id

+

integer

+

The tracking ID to reference and track the certificate in ECS.

+

Returned: success

+

Sample: 380079

+
+
+

Authors

+
    +
  • Chris Trufan (@ctrufan)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/ecs_domain_module.html b/tag/2.18.0/ecs_domain_module.html new file mode 100644 index 000000000..4a45401f9 --- /dev/null +++ b/tag/2.18.0/ecs_domain_module.html @@ -0,0 +1,588 @@ + + + + + + + + community.crypto.ecs_domain module – Request validation of a domain with the Entrust Certificate Services (ECS) API — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.ecs_domain module – Request validation of a domain with the Entrust Certificate Services (ECS) API

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.ecs_domain.

+
+

New in community.crypto 1.0.0

+ +
+

Synopsis

+ +
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+
    +
  • PyYAML >= 3.11

  • +
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

Comments

+

client_id

+

integer

+

The client ID to request the domain be associated with.

+

If no client ID is specified, the domain will be added under the primary client with ID of 1.

+

Default: 1

+
+

domain_name

+

string / required

+

The domain name to be verified or reverified.

+
+

entrust_api_client_cert_key_path

+

path / required

+

The path to the key for the client certificate used to authenticate to the Entrust Certificate Services (ECS) API.

+
+

entrust_api_client_cert_path

+

path / required

+

The path to the client certificate used to authenticate to the Entrust Certificate Services (ECS) API.

+
+

entrust_api_key

+

string / required

+

The key (password) for authentication to the Entrust Certificate Services (ECS) API.

+
+

entrust_api_specification_path

+

path

+

The path to the specification file defining the Entrust Certificate Services (ECS) API configuration.

+

You can use this to keep a local copy of the specification to avoid downloading it every time the module is used.

+

Default: "https://cloud.entrust.net/EntrustCloud/documentation/cms-api-2.1.0.yaml"

+
+

entrust_api_user

+

string / required

+

The username for authentication to the Entrust Certificate Services (ECS) API.

+
+

verification_email

+

string

+

Email address to be used to verify domain ownership.

+

Email address must be either an email address present in the WHOIS data for domain_name, or one of the following constructed emails: admin@domain_name, administrator@domain_name, webmaster@domain_name, hostmaster@domain_name, postmaster@domain_name.

+

Note that if domain_name includes subdomains, the top level domain should be used. For example, if requesting validation of example1.ansible.com, or test.example2.ansible.com, and you want to use the “admin” preconstructed name, the email address should be admin@ansible.com.

+

If using the email values from the WHOIS data for the domain or its top level namespace, they must be exact matches.

+

If verification_method=email but verification_email is not provided, the first email address found in WHOIS data for the domain will be used.

+

To verify domain ownership, domain owner must follow the instructions in the email they receive.

+

Only allowed if verification_method=email

+
+

verification_method

+

string / required

+

The verification method to be used to prove control of the domain.

+

If verification_method=email and the value verification_email is specified, that value is used for the email validation. If verification_email is not provided, the first value present in WHOIS data will be used. An email will be sent to the address in verification_email with instructions on how to verify control of the domain.

+

If verification_method=dns, the value dns_contents must be stored in location dns_location, with a DNS record type of dns_resource_type. To prove domain ownership, update your DNS records so the text string returned by dns_contents is available at dns_location.

+

If verification_method=web_server, the contents of return value file_contents must be made available on a web server accessible at location file_location.

+

If verification_method=manual, the domain will be validated with a manual process. This is not recommended.

+

Choices:

+
    +
  • "dns"

  • +
  • "email"

  • +
  • "manual"

  • +
  • "web_server"

  • +
+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

check_mode

+

Support: none

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: none

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+
+
+

Notes

+
+

Note

+
    +
  • There is a small delay (typically about 5 seconds, but can be as long as 60 seconds) before obtaining the random values when requesting a validation while verification_method=dns or verification_method=web_server. Be aware of that if doing many domain validation requests.

  • +
+
+
+
+

See Also

+
+

See also

+
+
community.crypto.x509_certificate

Can be used to request certificates from ECS, with provider=entrust.

+
+
community.crypto.ecs_certificate

Can be used to request a Certificate from ECS using a verified domain.

+
+
+
+
+
+

Examples

+
- name: Request domain validation using email validation for client ID of 2.
+  community.crypto.ecs_domain:
+    domain_name: ansible.com
+    client_id: 2
+    verification_method: email
+    verification_email: admin@ansible.com
+    entrust_api_user: apiusername
+    entrust_api_key: a^lv*32!cd9LnT
+    entrust_api_client_cert_path: /etc/ssl/entrust/ecs-client.crt
+    entrust_api_client_cert_key_path: /etc/ssl/entrust/ecs-client.key
+
+- name: Request domain validation using DNS. If domain is already valid,
+        request revalidation if expires within 90 days
+  community.crypto.ecs_domain:
+    domain_name: ansible.com
+    verification_method: dns
+    entrust_api_user: apiusername
+    entrust_api_key: a^lv*32!cd9LnT
+    entrust_api_client_cert_path: /etc/ssl/entrust/ecs-client.crt
+    entrust_api_client_cert_key_path: /etc/ssl/entrust/ecs-client.key
+
+- name: Request domain validation using web server validation, and revalidate
+        if fewer than 60 days remaining of EV eligibility.
+  community.crypto.ecs_domain:
+    domain_name: ansible.com
+    verification_method: web_server
+    entrust_api_user: apiusername
+    entrust_api_key: a^lv*32!cd9LnT
+    entrust_api_client_cert_path: /etc/ssl/entrust/ecs-client.crt
+    entrust_api_client_cert_key_path: /etc/ssl/entrust/ecs-client.key
+
+- name: Request domain validation using manual validation.
+  community.crypto.ecs_domain:
+    domain_name: ansible.com
+    verification_method: manual
+    entrust_api_user: apiusername
+    entrust_api_key: a^lv*32!cd9LnT
+    entrust_api_client_cert_path: /etc/ssl/entrust/ecs-client.crt
+    entrust_api_client_cert_key_path: /etc/ssl/entrust/ecs-client.key
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Key

Description

+

client_id

+

integer

+

Client ID that the domain belongs to. If the input value client_id is specified, this will always be the same as client_id

+

Returned: changed or success

+

Sample: 1

+
+

dns_contents

+

string

+

The value that ECS will be expecting to find in the DNS record located at dns_location.

+

Returned: changed and if verification_method is dns

+

Sample: "AB23CD41432522FF2526920393982FAB"

+
+

dns_location

+

string

+

The location that ECS will be expecting to be able to find the DNS entry for domain verification, containing the contents of dns_contents.

+

Returned: changed and if verification_method is dns

+

Sample: "_pki-validation.ansible.com"

+
+

dns_resource_type

+

string

+

The type of resource record that ECS will be expecting for the DNS record located at dns_location.

+

Returned: changed and if verification_method is dns

+

Sample: "TXT"

+
+

domain_status

+

string

+

Status of the current domain. Will be one of APPROVED, DECLINED, CANCELLED, INITIAL_VERIFICATION, DECLINED, CANCELLED, RE_VERIFICATION, EXPIRED, EXPIRING

+

Returned: changed or success

+

Sample: "APPROVED"

+
+

emails

+

list / elements=string

+

The list of emails used to request validation of this domain.

+

Domains requested using this module will only have a list of size 1.

+

Returned: verification_method is email

+

Sample: ["admin@ansible.com", "administrator@ansible.com"]

+
+

ev_days_remaining

+

integer

+

The number of days the domain remains eligible for submission of “EV” certificates. Will never be greater than the value of ov_days_remaining

+

Returned: success and ev_eligible is true and domain_status is APPROVED, RE_VERIFICATION or EXPIRING.

+

Sample: 94

+
+

ev_eligible

+

boolean

+

Whether the domain is eligible for submission of “EV” certificates. Will never be true if ov_eligible is false

+

Returned: success and domain_status is APPROVED, RE_VERIFICATION or EXPIRING, or EXPIRED.

+

Sample: true

+
+

file_contents

+

string

+

The contents of the file that ECS will be expecting to find at file_location.

+

Returned: verification_method is web_server

+

Sample: "AB23CD41432522FF2526920393982FAB"

+
+

file_location

+

string

+

The location that ECS will be expecting to be able to find the file for domain verification, containing the contents of file_contents.

+

Returned: verification_method is web_server

+

Sample: "http://ansible.com/.well-known/pki-validation/abcd.txt"

+
+

ov_days_remaining

+

integer

+

The number of days the domain remains eligible for submission of “OV” certificates. Will never be less than the value of ev_days_remaining

+

Returned: success and ov_eligible is true and domain_status is APPROVED, RE_VERIFICATION or EXPIRING.

+

Sample: 129

+
+

ov_eligible

+

boolean

+

Whether the domain is eligible for submission of “OV” certificates. Will never be false if ev_eligible is true

+

Returned: success and domain_status is APPROVED, RE_VERIFICATION, EXPIRING, or EXPIRED.

+

Sample: true

+
+

verification_method

+

string

+

Verification method used to request the domain validation. If changed will be the same as verification_method input parameter.

+

Returned: changed or success

+

Sample: "dns"

+
+
+

Authors

+
    +
  • Chris Trufan (@ctrufan)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/environment_variables.html b/tag/2.18.0/environment_variables.html new file mode 100644 index 000000000..38e5928fb --- /dev/null +++ b/tag/2.18.0/environment_variables.html @@ -0,0 +1,190 @@ + + + + + + + + Index of all Collection Environment Variables — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • +
  • +
+
+
+
+ + +
+ +
+

Index of all Collection Environment Variables

+

The following index documents all environment variables declared by plugins in collections. +Environment variables used by the ansible-core configuration are documented in Ansible Configuration Settings.

+

No environment variables have been defined.

+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/get_certificate_module.html b/tag/2.18.0/get_certificate_module.html new file mode 100644 index 000000000..f59ead766 --- /dev/null +++ b/tag/2.18.0/get_certificate_module.html @@ -0,0 +1,577 @@ + + + + + + + + community.crypto.get_certificate module – Get a certificate from a host:port — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.get_certificate module – Get a certificate from a host:port

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.get_certificate.

+
+ +
+

Synopsis

+
    +
  • Makes a secure connection and returns information about the presented certificate

  • +
  • The module uses the cryptography Python library.

  • +
  • Support SNI (Server Name Indication) only with python >= 2.7.

  • +
+
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+
    +
  • python >= 2.7 when using proxy_host

  • +
  • cryptography >= 1.6

  • +
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

Comments

+

asn1_base64

+

boolean

+

added in community.crypto 2.12.0

+

Whether to encode the ASN.1 values in the extensions return value with Base64 or not.

+

The documentation claimed for a long time that the values are Base64 encoded, but they never were. For compatibility this option is set to false.

+

The default value false is deprecated and will change to true in community.crypto 3.0.0.

+

Choices:

+
    +
  • false

  • +
  • true

  • +
+
+

ca_cert

+

path

+

A PEM file containing one or more root certificates; if present, the cert will be validated against these root certs.

+

Note that this only validates the certificate is signed by the chain; not that the cert is valid for the host presenting it.

+
+

ciphers

+

list / elements=string

+

added in community.crypto 2.11.0

+

SSL/TLS Ciphers to use for the request.

+

When a list is provided, all ciphers are joined in order with :.

+

See the OpenSSL Cipher List Format for more details.

+

The available ciphers is dependent on the Python and OpenSSL/LibreSSL versions.

+
+

host

+

string / required

+

The host to get the cert for (IP is fine)

+
+

port

+

integer / required

+

The port to connect to

+
+

proxy_host

+

string

+

Proxy host used when get a certificate.

+
+

proxy_port

+

integer

+

Proxy port used when get a certificate.

+

Default: 8080

+
+

select_crypto_backend

+

string

+

Determines which crypto backend to use.

+

The default choice is auto, which tries to use cryptography if available.

+

If set to cryptography, will try to use the cryptography library.

+

Choices:

+
    +
  • "auto" ← (default)

  • +
  • "cryptography"

  • +
+
+

server_name

+

string

+

added in community.crypto 1.4.0

+

Server name used for SNI (Server Name Indication) when hostname is an IP or is different from server name.

+
+

starttls

+

string

+

added in community.crypto 1.9.0

+

Requests a secure connection for protocols which require clients to initiate encryption.

+

Only available for mysql currently.

+

Choices:

+
    +
  • "mysql"

  • +
+
+

timeout

+

integer

+

The timeout in seconds

+

Default: 10

+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

check_mode

+

Support: none

+

This action does not modify state.

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: N/A

+

This action does not modify state.

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+
+
+

Notes

+
+

Note

+
    +
  • When using ca_cert on OS X it has been reported that in some conditions the validate will always succeed.

  • +
+
+
+
+

See Also

+
+

See also

+
+
community.crypto.to_serial filter plugin

Convert an integer to a colon-separated list of hex numbers.

+
+
+
+
+
+

Examples

+
- name: Get the cert from an RDP port
+  community.crypto.get_certificate:
+    host: "1.2.3.4"
+    port: 3389
+  delegate_to: localhost
+  run_once: true
+  register: cert
+
+- name: Get a cert from an https port
+  community.crypto.get_certificate:
+    host: "www.google.com"
+    port: 443
+  delegate_to: localhost
+  run_once: true
+  register: cert
+
+- name: How many days until cert expires
+  ansible.builtin.debug:
+    msg: "cert expires in: {{ expire_days }} days."
+  vars:
+    expire_days: "{{ (( cert.not_after | to_datetime('%Y%m%d%H%M%SZ')) - (ansible_date_time.iso8601 | to_datetime('%Y-%m-%dT%H:%M:%SZ')) ).days }}"
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Key

Description

+

cert

+

string

+

The certificate retrieved from the port

+

Returned: success

+
+

expired

+

boolean

+

Boolean indicating if the cert is expired

+

Returned: success

+
+

extensions

+

list / elements=dictionary

+

Extensions applied to the cert

+

Returned: success

+
+

asn1_data

+

string

+

The ASN.1 content of the extension.

+

If asn1_base64=true this will be Base64 encoded, otherwise the raw binary value will be returned.

+

Please note that the raw binary value might not survive JSON serialization to the Ansible controller, and also might cause failures when displaying it. See https://github.com/ansible/ansible/issues/80258 for more information.

+

Note that depending on the cryptography version used, it is not possible to extract the ASN.1 content of the extension, but only to provide the re-encoded content of the extension in case it was parsed by cryptography. This should usually result in exactly the same value, except if the original extension value was malformed.

+

Returned: success

+
+

critical

+

boolean

+

Whether the extension is critical.

+

Returned: success

+
+

name

+

string

+

The extension’s name.

+

Returned: success

+
+

issuer

+

dictionary

+

Information about the issuer of the cert.

+

Returned: success

+
+

not_after

+

string

+

Expiration date of the cert.

+

Returned: success

+
+

not_before

+

string

+

Issue date of the cert.

+

Returned: success

+
+

serial_number

+

integer

+

The serial number of the cert.

+

This return value is an integer. If you need the serial numbers as a colon-separated hex string, such as 11:22:33, you need to convert it to that form with community.crypto.to_serial.

+

Returned: success

+
+

signature_algorithm

+

string

+

The algorithm used to sign the cert.

+

Returned: success

+
+

subject

+

dictionary

+

Information about the subject of the cert (OU, CN, etc).

+

Returned: success

+
+

version

+

string

+

The version number of the certificate.

+

Returned: success

+
+
+

Authors

+
    +
  • John Westcott IV (@john-westcott-iv)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/gpg_fingerprint_filter.html b/tag/2.18.0/gpg_fingerprint_filter.html new file mode 100644 index 000000000..e44d28231 --- /dev/null +++ b/tag/2.18.0/gpg_fingerprint_filter.html @@ -0,0 +1,318 @@ + + + + + + + + community.crypto.gpg_fingerprint filter – Retrieve a GPG fingerprint from a GPG public or private key — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.gpg_fingerprint filter – Retrieve a GPG fingerprint from a GPG public or private key

+
+

Note

+

This filter plugin is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this filter plugin, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.gpg_fingerprint.

+
+

New in community.crypto 2.15.0

+ +
+

Synopsis

+
    +
  • Takes the content of a private or public GPG key as input and returns its fingerprint.

  • +
+
+
+

Requirements

+

The below requirements are needed on the local controller node that executes this filter.

+
    +
  • GnuPG (gpg executable)

  • +
+
+
+

Input

+

This describes the input of the filter, the value before | community.crypto.gpg_fingerprint.

+ + + + + + + + + + + +

Parameter

Comments

+

Input

+

string / required

+

The content of a GPG public or private key.

+
+
+
+

See Also

+
+

See also

+
+
community.crypto.gpg_fingerprint lookup plugin

Retrieve a GPG fingerprint from a GPG public or private key file.

+
+
+
+
+
+

Examples

+
- name: Show fingerprint of GPG public key
+  ansible.builtin.debug:
+    msg: "{{ lookup('file', '/path/to/public_key.gpg') | community.crypto.gpg_fingerprint }}"
+
+
+
+
+

Return Value

+ + + + + + + + + + + +

Key

Description

+

Return value

+

string

+

The fingerprint of the provided public or private GPG key.

+

Returned: success

+
+
+

Authors

+
    +
  • Felix Fontein (@felixfontein)

  • +
+
+

Hint

+

Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.

+
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/gpg_fingerprint_lookup.html b/tag/2.18.0/gpg_fingerprint_lookup.html new file mode 100644 index 000000000..38b386de6 --- /dev/null +++ b/tag/2.18.0/gpg_fingerprint_lookup.html @@ -0,0 +1,316 @@ + + + + + + + + community.crypto.gpg_fingerprint lookup – Retrieve a GPG fingerprint from a GPG public or private key file — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.gpg_fingerprint lookup – Retrieve a GPG fingerprint from a GPG public or private key file

+
+

Note

+

This lookup plugin is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this lookup plugin, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.gpg_fingerprint.

+
+

New in community.crypto 2.15.0

+ +
+

Synopsis

+
    +
  • Takes a list of filenames pointing to GPG public or private key files. Returns the fingerprints for each of these keys.

  • +
+
+
+

Requirements

+

The below requirements are needed on the local controller node that executes this lookup.

+
    +
  • GnuPG (gpg executable)

  • +
+
+
+

Terms

+ + + + + + + + + + + +

Parameter

Comments

+

Terms

+

list / elements=path / required

+

A path to a GPG public or private key.

+
+
+
+

See Also

+
+

See also

+
+
community.crypto.gpg_fingerprint filter plugin

Retrieve a GPG fingerprint from a GPG public or private key.

+
+
+
+
+
+

Examples

+
- name: Show fingerprint of GPG public key
+  ansible.builtin.debug:
+    msg: "{{ lookup('community.crypto.gpg_fingerprint', '/path/to/public_key.gpg') }}"
+
+
+
+
+

Return Value

+ + + + + + + + + + + +

Key

Description

+

Return value

+

list / elements=string

+

The fingerprints of the provided public or private GPG keys.

+

The list has one entry for every path provided.

+

Returned: success

+
+
+

Authors

+
    +
  • Felix Fontein (@felixfontein)

  • +
+
+

Hint

+

Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.

+
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/index.html b/tag/2.18.0/index.html new file mode 100644 index 000000000..0a7a4b54c --- /dev/null +++ b/tag/2.18.0/index.html @@ -0,0 +1,304 @@ + + + + + + + + Community.Crypto — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • +
  • +
+
+
+
+ + +
+ +
+

Community.Crypto

+

Collection version 2.18.0

+ +
+

Description

+

Author:

+
    +
  • Ansible (github.com/ansible)

  • +
+

Supported ansible-core versions:

+
    +
  • 2.9.10 or newer

  • +
+ +
+
+

Communication

+ +
+
+
+
+

Scenario Guides

+ +
+
+

Plugin Index

+

These are the plugins in the community.crypto collection:

+
+

Modules

+ +
+
+
+
+

Filter Plugins

+ +
+
+
+
+

Lookup Plugins

+ +
+
+
+
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/luks_device_module.html b/tag/2.18.0/luks_device_module.html new file mode 100644 index 000000000..b75c78df1 --- /dev/null +++ b/tag/2.18.0/luks_device_module.html @@ -0,0 +1,782 @@ + + + + + + + + community.crypto.luks_device module – Manage encrypted (LUKS) devices — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.luks_device module – Manage encrypted (LUKS) devices

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.luks_device.

+
+ +
+

Synopsis

+
    +
  • Module manages LUKS on given device. Supports creating, destroying, opening and closing of LUKS container and adding or removing new keys and passphrases.

  • +
+
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+
    +
  • cryptsetup

  • +
  • wipefs (when state is absent)

  • +
  • lsblk

  • +
  • blkid (when label or uuid options are used)

  • +
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

Comments

+

allow_discards

+

boolean

+

added in community.crypto 2.17.0

+

Allow discards (also known as TRIM) requests for device.

+

Will only be used when opening containers.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

cipher

+

string

+

added in community.crypto 1.1.0

+

This option allows the user to define the cipher specification string for the LUKS container.

+

Will only be used on container creation.

+

For pre-2.6.10 kernels, use aes-plain as they do not understand the new cipher spec strings. To use ESSIV, use aes-cbc-essiv:sha256.

+
+

device

+

string

+

Device to work with (for example /dev/sda1). Needed in most cases. Can be omitted only when state=closed together with name is provided.

+
+

force_remove_last_key

+

boolean

+

If set to true, allows removing the last key from a container.

+

BEWARE that when the last key has been removed from a container, the container can no longer be opened!

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

hash

+

string

+

added in community.crypto 1.1.0

+

This option allows the user to specify the hash function used in LUKS key setup scheme and volume key digest.

+

Will only be used on container creation.

+
+

keyfile

+

path

+

Used to unlock the container. Either a keyfile or a passphrase is needed for most of the operations. Parameter value is the path to the keyfile with the passphrase.

+

BEWARE that working with keyfiles in plaintext is dangerous. Make sure that they are protected.

+
+

keysize

+

integer

+

added in community.crypto 1.0.0

+

Sets the key size only if LUKS container does not exist.

+
+

keyslot

+

integer

+

added in community.crypto 2.16.0

+

Adds the keyfile or passphrase to a specific keyslot when creating a new container on device. Parameter value is the number of the keyslot.

+

Note that a device of type=luks1 supports the keyslot numbers 0-7 and a device of type=luks2 supports the keyslot numbers 0-31. In order to use the keyslots 8-31 when creating a new container, setting type to luks2 is required.

+
+

label

+

string

+

added in community.crypto 1.0.0

+

This option allow the user to create a LUKS2 format container with label support, respectively to identify the container by label on later usages.

+

Will only be used on container creation, or when device is not specified.

+

This cannot be specified if type is set to luks1.

+
+

name

+

string

+

Sets container name when state=opened. Can be used instead of device when closing the existing container (that is, when state=closed).

+
+

new_keyfile

+

path

+

Adds additional key to given container on device. Needs keyfile or passphrase option for authorization. LUKS container supports up to 8 keyslots. Parameter value is the path to the keyfile with the passphrase.

+

NOTE that adding additional keys is idempotent only since community.crypto 1.4.0. For older versions, a new keyslot will be used even if another keyslot already exists for this keyfile.

+

BEWARE that working with keyfiles in plaintext is dangerous. Make sure that they are protected.

+
+

new_keyslot

+

integer

+

added in community.crypto 2.16.0

+

Adds the additional new_keyfile or new_passphrase to a specific keyslot on the given device. Parameter value is the number of the keyslot.

+

Note that a device of type=luks1 supports the keyslot numbers 0-7 and a device of type=luks2 supports the keyslot numbers 0-31.

+
+

new_passphrase

+

string

+

added in community.crypto 1.0.0

+

Adds additional passphrase to given container on device. Needs keyfile or passphrase option for authorization. LUKS container supports up to 8 keyslots. Parameter value is a string with the new passphrase.

+

NOTE that adding additional passphrase is idempotent only since community.crypto 1.4.0. For older versions, a new keyslot will be used even if another keyslot already exists for this passphrase.

+
+

passphrase

+

string

+

added in community.crypto 1.0.0

+

Used to unlock the container. Either a passphrase or a keyfile is needed for most of the operations. Parameter value is a string with the passphrase.

+
+

pbkdf

+

dictionary

+

added in community.crypto 1.4.0

+

This option allows the user to configure the Password-Based Key Derivation Function (PBKDF) used.

+

Will only be used on container creation, and when adding keys to an existing container.

+
+

algorithm

+

string

+

The algorithm to use.

+

Only available for the LUKS 2 format.

+

Choices:

+
    +
  • "argon2i"

  • +
  • "argon2id"

  • +
  • "pbkdf2"

  • +
+
+

iteration_count

+

integer

+

Specify the iteration count used for the PBKDF.

+

Mutually exclusive with pbkdf.iteration_time.

+
+

iteration_time

+

float

+

Specify the iteration time used for the PBKDF.

+

Note that this is in seconds, not in milliseconds as on the command line.

+

Mutually exclusive with pbkdf.iteration_count.

+
+

memory

+

integer

+

The memory cost limit in kilobytes for the PBKDF.

+

This is not used for PBKDF2, but only for the Argon PBKDFs.

+
+

parallel

+

integer

+

The parallel cost for the PBKDF. This is the number of threads that run in parallel.

+

This is not used for PBKDF2, but only for the Argon PBKDFs.

+
+

perf_no_read_workqueue

+

boolean

+

added in community.crypto 2.3.0

+

Allows the user to bypass dm-crypt internal workqueue and process read requests synchronously.

+

Will only be used when opening containers.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

perf_no_write_workqueue

+

boolean

+

added in community.crypto 2.3.0

+

Allows the user to bypass dm-crypt internal workqueue and process write requests synchronously.

+

Will only be used when opening containers.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

perf_same_cpu_crypt

+

boolean

+

added in community.crypto 2.3.0

+

Allows the user to perform encryption using the same CPU that IO was submitted on.

+

The default is to use an unbound workqueue so that encryption work is automatically balanced between available CPUs.

+

Will only be used when opening containers.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

perf_submit_from_crypt_cpus

+

boolean

+

added in community.crypto 2.3.0

+

Allows the user to disable offloading writes to a separate thread after encryption.

+

There are some situations where offloading block write IO operations from the encryption threads to a single thread degrades performance significantly.

+

The default is to offload block write IO operations to the same thread.

+

Will only be used when opening containers.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

persistent

+

boolean

+

added in community.crypto 2.3.0

+

Allows the user to store options into container’s metadata persistently and automatically use them next time. Only perf_same_cpu_crypt, perf_submit_from_crypt_cpus, perf_no_read_workqueue, perf_no_write_workqueue, and allow_discards can be stored persistently.

+

Will only work with LUKS2 containers.

+

Will only be used when opening containers.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

remove_keyfile

+

path

+

Removes given key from the container on device. Does not remove the keyfile from filesystem. Parameter value is the path to the keyfile with the passphrase.

+

NOTE that removing keys is idempotent only since community.crypto 1.4.0. For older versions, trying to remove a key which no longer exists results in an error.

+

NOTE that to remove the last key from a LUKS container, the force_remove_last_key option must be set to true.

+

BEWARE that working with keyfiles in plaintext is dangerous. Make sure that they are protected.

+
+

remove_keyslot

+

integer

+

added in community.crypto 2.16.0

+

Removes the key in the given slot on device. Needs keyfile or passphrase for authorization.

+

Note that a device of type=luks1 supports the keyslot numbers 0-7 and a device of type=luks2 supports the keyslot numbers 0-31.

+

Note that the given keyfile or passphrase must not be in the slot to be removed.

+
+

remove_passphrase

+

string

+

added in community.crypto 1.0.0

+

Removes given passphrase from the container on device. Parameter value is a string with the passphrase to remove.

+

NOTE that removing passphrases is idempotent only since community.crypto 1.4.0. For older versions, trying to remove a passphrase which no longer exists results in an error.

+

NOTE that to remove the last keyslot from a LUKS container, the force_remove_last_key option must be set to true.

+
+

sector_size

+

integer

+

added in community.crypto 1.5.0

+

This option allows the user to specify the sector size (in bytes) used for LUKS2 containers.

+

Will only be used on container creation.

+
+

state

+

string

+

Desired state of the LUKS container. Based on its value creates, destroys, opens or closes the LUKS container on a given device.

+

present will create LUKS container unless already present. Requires device and either keyfile or passphrase options to be provided.

+

absent will remove existing LUKS container if it exists. Requires device or name to be specified.

+

opened will unlock the LUKS container. If it does not exist it will be created first. Requires device and either keyfile or passphrase to be specified. Use the name option to set the name of the opened container. Otherwise the name will be generated automatically and returned as a part of the result.

+

closed will lock the LUKS container. However if the container does not exist it will be created. Requires device and either keyfile or passphrase options to be provided. If container does already exist device or name will suffice.

+

Choices:

+
    +
  • "present" ← (default)

  • +
  • "absent"

  • +
  • "opened"

  • +
  • "closed"

  • +
+
+

type

+

string

+

added in community.crypto 1.0.0

+

This option allow the user explicit define the format of LUKS container that wants to work with. Options are luks1 or luks2

+

Choices:

+
    +
  • "luks1"

  • +
  • "luks2"

  • +
+
+

uuid

+

string

+

added in community.crypto 1.0.0

+

With this option user can identify the LUKS container by UUID.

+

Will only be used when device and label are not specified.

+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

check_mode

+

Support: full

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: none

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+
+
+

Examples

+
- name: Create LUKS container (remains unchanged if it already exists)
+  community.crypto.luks_device:
+    device: "/dev/loop0"
+    state: "present"
+    keyfile: "/vault/keyfile"
+
+- name: Create LUKS container with a passphrase
+  community.crypto.luks_device:
+    device: "/dev/loop0"
+    state: "present"
+    passphrase: "foo"
+
+- name: Create LUKS container with specific encryption
+  community.crypto.luks_device:
+    device: "/dev/loop0"
+    state: "present"
+    cipher: "aes"
+    hash: "sha256"
+
+- name: (Create and) open the LUKS container; name it "mycrypt"
+  community.crypto.luks_device:
+    device: "/dev/loop0"
+    state: "opened"
+    name: "mycrypt"
+    keyfile: "/vault/keyfile"
+
+- name: Close the existing LUKS container "mycrypt"
+  community.crypto.luks_device:
+    state: "closed"
+    name: "mycrypt"
+
+- name: Make sure LUKS container exists and is closed
+  community.crypto.luks_device:
+    device: "/dev/loop0"
+    state: "closed"
+    keyfile: "/vault/keyfile"
+
+- name: Create container if it does not exist and add new key to it
+  community.crypto.luks_device:
+    device: "/dev/loop0"
+    state: "present"
+    keyfile: "/vault/keyfile"
+    new_keyfile: "/vault/keyfile2"
+
+- name: Add new key to the LUKS container (container has to exist)
+  community.crypto.luks_device:
+    device: "/dev/loop0"
+    keyfile: "/vault/keyfile"
+    new_keyfile: "/vault/keyfile2"
+
+- name: Add new passphrase to the LUKS container
+  community.crypto.luks_device:
+    device: "/dev/loop0"
+    keyfile: "/vault/keyfile"
+    new_passphrase: "foo"
+
+- name: Remove existing keyfile from the LUKS container
+  community.crypto.luks_device:
+    device: "/dev/loop0"
+    remove_keyfile: "/vault/keyfile2"
+
+- name: Remove existing passphrase from the LUKS container
+  community.crypto.luks_device:
+    device: "/dev/loop0"
+    remove_passphrase: "foo"
+
+- name: Completely remove the LUKS container and its contents
+  community.crypto.luks_device:
+    device: "/dev/loop0"
+    state: "absent"
+
+- name: Create a container with label
+  community.crypto.luks_device:
+    device: "/dev/loop0"
+    state: "present"
+    keyfile: "/vault/keyfile"
+    label: personalLabelName
+
+- name: Open the LUKS container based on label without device; name it "mycrypt"
+  community.crypto.luks_device:
+    label: "personalLabelName"
+    state: "opened"
+    name: "mycrypt"
+    keyfile: "/vault/keyfile"
+
+- name: Close container based on UUID
+  community.crypto.luks_device:
+    uuid: 03ecd578-fad4-4e6c-9348-842e3e8fa340
+    state: "closed"
+    name: "mycrypt"
+
+- name: Create a container using luks2 format
+  community.crypto.luks_device:
+    device: "/dev/loop0"
+    state: "present"
+    keyfile: "/vault/keyfile"
+    type: luks2
+
+- name: Create a container with key in slot 4
+  community.crypto.luks_device:
+    device: "/dev/loop0"
+    state: "present"
+    keyfile: "/vault/keyfile"
+    keyslot: 4
+
+- name: Add a new key in slot 5
+  community.crypto.luks_device:
+    device: "/dev/loop0"
+    keyfile: "/vault/keyfile"
+    new_keyfile: "/vault/keyfile"
+    new_keyslot: 5
+
+- name: Remove the key from slot 4 (given keyfile must not be slot 4)
+  community.crypto.luks_device:
+    device: "/dev/loop0"
+    keyfile: "/vault/keyfile"
+    remove_keyslot: 4
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + +

Key

Description

+

name

+

string

+

When state=opened returns (generated or given) name of LUKS container. Returns None if no name is supplied.

+

Returned: success

+

Sample: "luks-c1da9a58-2fde-4256-9d9f-6ab008b4dd1b"

+
+
+

Authors

+
    +
  • Jan Pokorny (@japokorn)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/objects.inv b/tag/2.18.0/objects.inv new file mode 100644 index 000000000..4e184e37d Binary files /dev/null and b/tag/2.18.0/objects.inv differ diff --git a/tag/2.18.0/openssh_cert_module.html b/tag/2.18.0/openssh_cert_module.html new file mode 100644 index 000000000..41b96ba3a --- /dev/null +++ b/tag/2.18.0/openssh_cert_module.html @@ -0,0 +1,719 @@ + + + + + + + + community.crypto.openssh_cert module – Generate OpenSSH host or user certificates. — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.openssh_cert module – Generate OpenSSH host or user certificates.

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.openssh_cert.

+
+ +
+

Synopsis

+
    +
  • Generate and regenerate OpenSSH host or user certificates.

  • +
+
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+
    +
  • ssh-keygen

  • +
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

Comments

+
+

attributes

+

aliases: attr

+

string

+

The attributes the resulting filesystem object should have.

+

To get supported flags look at the man page for chattr on the target system.

+

This string should contain the attributes in the same order as the one displayed by lsattr.

+

The = operator is assumed as default, otherwise + or - operators need to be included in the string.

+
+

force

+

boolean

+

Should the certificate be regenerated even if it already exists and is valid.

+

Equivalent to regenerate=always.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

group

+

string

+

Name of the group that should own the filesystem object, as would be fed to chown.

+

When left unspecified, it uses the current group of the current user unless you are root, in which case it can preserve the previous ownership.

+
+

identifier

+

string

+

Specify the key identity when signing a public key. The identifier that is logged by the server when the certificate is used for authentication.

+
+

ignore_timestamps

+

boolean

+

added in community.crypto 2.2.0

+

Whether the valid_from and valid_to timestamps should be ignored for idempotency checks.

+

However, the values will still be applied to a new certificate if it meets any other necessary conditions for generation/regeneration.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

mode

+

any

+

The permissions the resulting filesystem object should have.

+

For those used to /usr/bin/chmod remember that modes are actually octal numbers. You must give Ansible enough information to parse them correctly. For consistent results, quote octal numbers (for example, '644' or '1777') so Ansible receives a string and can do its own conversion from string into number. Adding a leading zero (for example, 0755) works sometimes, but can fail in loops and some other circumstances.

+

Giving Ansible a number without following either of these rules will end up with a decimal number which will have unexpected results.

+

As of Ansible 1.8, the mode may be specified as a symbolic mode (for example, u+rwx or u=rw,g=r,o=r).

+

If mode is not specified and the destination filesystem object does not exist, the default umask on the system will be used when setting the mode for the newly created filesystem object.

+

If mode is not specified and the destination filesystem object does exist, the mode of the existing filesystem object will be used.

+

Specifying mode is the best way to ensure filesystem objects are created with the correct permissions. See CVE-2020-1736 for further details.

+
+

options

+

list / elements=string

+

Specify certificate options when signing a key. The option that are valid for user certificates are:

+

clear: Clear all enabled permissions. This is useful for clearing the default set of permissions so permissions may be added individually.

+

force-command=command: Forces the execution of command instead of any shell or command specified by the user when the certificate is used for authentication.

+

no-agent-forwarding: Disable ssh-agent forwarding (permitted by default).

+

no-port-forwarding: Disable port forwarding (permitted by default).

+

no-pty: Disable PTY allocation (permitted by default).

+

no-user-rc: Disable execution of ~/.ssh/rc by sshd (permitted by default).

+

no-x11-forwarding: Disable X11 forwarding (permitted by default)

+

permit-agent-forwarding: Allows ssh-agent forwarding.

+

permit-port-forwarding: Allows port forwarding.

+

permit-pty: Allows PTY allocation.

+

permit-user-rc: Allows execution of ~/.ssh/rc by sshd.

+

permit-x11-forwarding: Allows X11 forwarding.

+

source-address=address_list: Restrict the source addresses from which the certificate is considered valid. The address_list is a comma-separated list of one or more address/netmask pairs in CIDR format.

+

At present, no options are valid for host keys.

+
+

owner

+

string

+

Name of the user that should own the filesystem object, as would be fed to chown.

+

When left unspecified, it uses the current user unless you are root, in which case it can preserve the previous ownership.

+

Specifying a numeric username will be assumed to be a user ID and not a username. Avoid numeric usernames to avoid this confusion.

+
+

path

+

path / required

+

Path of the file containing the certificate.

+
+

pkcs11_provider

+

string

+

added in community.crypto 1.1.0

+

To use a signing key that resides on a PKCS#11 token, set this to the name (or full path) of the shared library to use with the token. Usually libpkcs11.so.

+

If this is set, signing_key needs to point to a file containing the public key of the CA.

+
+

principals

+

list / elements=string

+

Certificates may be limited to be valid for a set of principal (user/host) names. By default, generated certificates are valid for all users or hosts.

+
+

public_key

+

path

+

The path to the public key that will be signed with the signing key in order to generate the certificate.

+

Required if state is present.

+
+

regenerate

+

string

+

added in community.crypto 1.8.0

+

When never the task will fail if a certificate already exists at path and is unreadable otherwise a new certificate will only be generated if there is no existing certificate.

+

When fail the task will fail if a certificate already exists at path and does not match the module’s options.

+

When partial_idempotence an existing certificate will be regenerated based on serial_number, signature_algorithm, type, valid_from, valid_to, valid_at, and principals. valid_from and valid_to can be excluded by ignore_timestamps=true.

+

When full_idempotence identifier, options, public_key, and signing_key are also considered when compared against an existing certificate.

+

always is equivalent to force=true.

+

Choices:

+
    +
  • "never"

  • +
  • "fail"

  • +
  • "partial_idempotence" ← (default)

  • +
  • "full_idempotence"

  • +
  • "always"

  • +
+
+

selevel

+

string

+

The level part of the SELinux filesystem object context.

+

This is the MLS/MCS attribute, sometimes known as the range.

+

When set to _default, it will use the level portion of the policy if available.

+
+

serial_number

+

integer

+

Specify the certificate serial number. The serial number is logged by the server when the certificate is used for authentication. The certificate serial number may be used in a KeyRevocationList. The serial number may be omitted for checks, but must be specified again for a new certificate. Note: The default value set by ssh-keygen is 0.

+

This option accepts an integer. If you want to provide serial numbers as colon-separated hex strings, such as 11:22:33, you need to convert them to an integer with community.crypto.parse_serial.

+
+

serole

+

string

+

The role part of the SELinux filesystem object context.

+

When set to _default, it will use the role portion of the policy if available.

+
+

setype

+

string

+

The type part of the SELinux filesystem object context.

+

When set to _default, it will use the type portion of the policy if available.

+
+

seuser

+

string

+

The user part of the SELinux filesystem object context.

+

By default it uses the system policy, where applicable.

+

When set to _default, it will use the user portion of the policy if available.

+
+

signature_algorithm

+

string

+

added in community.crypto 1.10.0

+

As of OpenSSH 8.2 the SHA-1 signature algorithm for RSA keys has been disabled and ssh will refuse host certificates signed with the SHA-1 algorithm. OpenSSH 8.1 made rsa-sha2-512 the default algorithm when acting as a CA and signing certificates with a RSA key. However, for OpenSSH versions less than 8.1 the SHA-2 signature algorithms, rsa-sha2-256 or rsa-sha2-512, must be specified using this option if compatibility with newer ssh clients is required. Conversely if hosts using OpenSSH version 8.2 or greater must remain compatible with ssh clients using OpenSSH less than 7.2, then ssh-rsa can be used when generating host certificates (a corresponding change to the sshd_config to add ssh-rsa to the CASignatureAlgorithms keyword is also required).

+

Using any value for this option with a non-RSA signing_key will cause this module to fail.

+

Note: OpenSSH versions prior to 7.2 do not support SHA-2 signature algorithms for RSA keys and OpenSSH versions prior to 7.3 do not support SHA-2 signature algorithms for certificates.

+

See https://www.openssh.com/txt/release-8.2 for more information.

+

Choices:

+
    +
  • "ssh-rsa"

  • +
  • "rsa-sha2-256"

  • +
  • "rsa-sha2-512"

  • +
+
+

signing_key

+

path

+

The path to the private openssh key that is used for signing the public key in order to generate the certificate.

+

If the private key is on a PKCS#11 token (pkcs11_provider), set this to the path to the public key instead.

+

Required if state is present.

+
+

state

+

string

+

Whether the host or user certificate should exist or not, taking action if the state is different from what is stated.

+

Choices:

+
    +
  • "present" ← (default)

  • +
  • "absent"

  • +
+
+

type

+

string

+

Whether the module should generate a host or a user certificate.

+

Required if state is present.

+

Choices:

+
    +
  • "host"

  • +
  • "user"

  • +
+
+

unsafe_writes

+

boolean

+

Influence when to use atomic operation to prevent data corruption or inconsistent reads from the target filesystem object.

+

By default this module uses atomic operations to prevent data corruption or inconsistent reads from the target filesystem objects, but sometimes systems are configured or just broken in ways that prevent this. One example is docker mounted filesystem objects, which cannot be updated atomically from inside the container and can only be written in an unsafe manner.

+

This option allows Ansible to fall back to unsafe methods of updating filesystem objects when atomic operations fail (however, it doesn’t force Ansible to perform unsafe writes).

+

IMPORTANT! Unsafe writes are subject to race conditions and can lead to data corruption.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

use_agent

+

boolean

+

added in community.crypto 1.3.0

+

Should the ssh-keygen use a CA key residing in a ssh-agent.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

valid_at

+

string

+

Check if the certificate is valid at a certain point in time. If it is not the certificate will be regenerated. Time will always be interpreted as UTC. Mainly to be used with relative timespec for valid_from and / or valid_to. Note that if using relative time this module is NOT idempotent.

+
+

valid_from

+

string

+

The point in time the certificate is valid from. Time can be specified either as relative time or as absolute timestamp. Time will always be interpreted as UTC. Valid formats are: [+-]timespec | YYYY-MM-DD | YYYY-MM-DDTHH:MM:SS | YYYY-MM-DD HH:MM:SS | always where timespec can be an integer + [w | d | h | m | s] (for example +32w1d2h). Note that if using relative time this module is NOT idempotent.

+

The value always is only supported for OpenSSH 7.7 and greater, however, the value 1970-01-01T00:00:01 can be used with earlier versions as an equivalent expression.

+

To ignore this value during comparison with an existing certificate set ignore_timestamps=true.

+

Required if state is present.

+
+

valid_to

+

string

+

The point in time the certificate is valid to. Time can be specified either as relative time or as absolute timestamp. Time will always be interpreted as UTC. Valid formats are: [+-]timespec | YYYY-MM-DD | YYYY-MM-DDTHH:MM:SS | YYYY-MM-DD HH:MM:SS | forever where timespec can be an integer + [w | d | h | m | s] (for example +32w1d2h). Note that if using relative time this module is NOT idempotent.

+

To ignore this value during comparison with an existing certificate set ignore_timestamps=true.

+

Required if state is present.

+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

check_mode

+

Support: full

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: full

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+

safe_file_operations

+

Support: full

+

Uses Ansible’s strict file operation functions to ensure proper permissions and avoid data corruption.

+
+
+
+

See Also

+
+

See also

+
+
community.crypto.parse_serial filter plugin

Convert a serial number as a colon-separated list of hex numbers to an integer.

+
+
+
+
+
+

Examples

+
- name: Generate an OpenSSH user certificate that is valid forever and for all users
+  community.crypto.openssh_cert:
+    type: user
+    signing_key: /path/to/private_key
+    public_key: /path/to/public_key.pub
+    path: /path/to/certificate
+    valid_from: always
+    valid_to: forever
+
+# Generate an OpenSSH host certificate that is valid for 32 weeks from now and will be regenerated
+# if it is valid for less than 2 weeks from the time the module is being run
+- name: Generate an OpenSSH host certificate with valid_from, valid_to and valid_at parameters
+  community.crypto.openssh_cert:
+    type: host
+    signing_key: /path/to/private_key
+    public_key: /path/to/public_key.pub
+    path: /path/to/certificate
+    valid_from: +0s
+    valid_to: +32w
+    valid_at: +2w
+    ignore_timestamps: true
+
+- name: Generate an OpenSSH host certificate that is valid forever and only for example.com and examplehost
+  community.crypto.openssh_cert:
+    type: host
+    signing_key: /path/to/private_key
+    public_key: /path/to/public_key.pub
+    path: /path/to/certificate
+    valid_from: always
+    valid_to: forever
+    principals:
+        - example.com
+        - examplehost
+
+- name: Generate an OpenSSH host Certificate that is valid from 21.1.2001 to 21.1.2019
+  community.crypto.openssh_cert:
+    type: host
+    signing_key: /path/to/private_key
+    public_key: /path/to/public_key.pub
+    path: /path/to/certificate
+    valid_from: "2001-01-21"
+    valid_to: "2019-01-21"
+
+- name: Generate an OpenSSH user Certificate with clear and force-command option
+  community.crypto.openssh_cert:
+    type: user
+    signing_key: /path/to/private_key
+    public_key: /path/to/public_key.pub
+    path: /path/to/certificate
+    valid_from: always
+    valid_to: forever
+    options:
+        - "clear"
+        - "force-command=/tmp/bla/foo"
+
+- name: Generate an OpenSSH user certificate using a PKCS#11 token
+  community.crypto.openssh_cert:
+    type: user
+    signing_key: /path/to/ca_public_key.pub
+    pkcs11_provider: libpkcs11.so
+    public_key: /path/to/public_key.pub
+    path: /path/to/certificate
+    valid_from: always
+    valid_to: forever
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + + + + + + + +

Key

Description

+

filename

+

string

+

path to the certificate

+

Returned: changed or success

+

Sample: "/tmp/certificate-cert.pub"

+
+

info

+

list / elements=string

+

Information about the certificate. Output of ssh-keygen -L -f.

+

Returned: change or success

+
+

type

+

string

+

type of the certificate (host or user)

+

Returned: changed or success

+

Sample: "host"

+
+
+

Authors

+
    +
  • David Kainz (@lolcube)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/openssh_keypair_module.html b/tag/2.18.0/openssh_keypair_module.html new file mode 100644 index 000000000..3187187de --- /dev/null +++ b/tag/2.18.0/openssh_keypair_module.html @@ -0,0 +1,631 @@ + + + + + + + + community.crypto.openssh_keypair module – Generate OpenSSH private and public keys — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.openssh_keypair module – Generate OpenSSH private and public keys

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.openssh_keypair.

+
+ +
+

Synopsis

+
    +
  • This module allows one to (re)generate OpenSSH private and public keys. It uses ssh-keygen to generate keys. One can generate rsa, dsa, rsa1, ed25519 or ecdsa private keys.

  • +
+
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+ +
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

Comments

+
+

attributes

+

aliases: attr

+

string

+

The attributes the resulting filesystem object should have.

+

To get supported flags look at the man page for chattr on the target system.

+

This string should contain the attributes in the same order as the one displayed by lsattr.

+

The = operator is assumed as default, otherwise + or - operators need to be included in the string.

+
+

backend

+

string

+

added in community.crypto 1.7.0

+

Selects between the cryptography library or the OpenSSH binary opensshbin.

+

auto will default to opensshbin unless the OpenSSH binary is not installed or when using passphrase.

+

Choices:

+
    +
  • "auto" ← (default)

  • +
  • "cryptography"

  • +
  • "opensshbin"

  • +
+
+

comment

+

string

+

Provides a new comment to the public key.

+
+

force

+

boolean

+

Should the key be regenerated even if it already exists

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

group

+

string

+

Name of the group that should own the filesystem object, as would be fed to chown.

+

When left unspecified, it uses the current group of the current user unless you are root, in which case it can preserve the previous ownership.

+
+

mode

+

any

+

The permissions the resulting filesystem object should have.

+

For those used to /usr/bin/chmod remember that modes are actually octal numbers. You must give Ansible enough information to parse them correctly. For consistent results, quote octal numbers (for example, '644' or '1777') so Ansible receives a string and can do its own conversion from string into number. Adding a leading zero (for example, 0755) works sometimes, but can fail in loops and some other circumstances.

+

Giving Ansible a number without following either of these rules will end up with a decimal number which will have unexpected results.

+

As of Ansible 1.8, the mode may be specified as a symbolic mode (for example, u+rwx or u=rw,g=r,o=r).

+

If mode is not specified and the destination filesystem object does not exist, the default umask on the system will be used when setting the mode for the newly created filesystem object.

+

If mode is not specified and the destination filesystem object does exist, the mode of the existing filesystem object will be used.

+

Specifying mode is the best way to ensure filesystem objects are created with the correct permissions. See CVE-2020-1736 for further details.

+
+

owner

+

string

+

Name of the user that should own the filesystem object, as would be fed to chown.

+

When left unspecified, it uses the current user unless you are root, in which case it can preserve the previous ownership.

+

Specifying a numeric username will be assumed to be a user ID and not a username. Avoid numeric usernames to avoid this confusion.

+
+

passphrase

+

string

+

added in community.crypto 1.7.0

+

Passphrase used to decrypt an existing private key or encrypt a newly generated private key.

+

Passphrases are not supported for type=rsa1.

+

Can only be used when backend=cryptography, or when backend=auto and a required cryptography version is installed.

+
+

path

+

path / required

+

Name of the files containing the public and private key. The file containing the public key will have the extension .pub.

+
+

private_key_format

+

string

+

added in community.crypto 1.7.0

+

Used when backend=cryptography to select a format for the private key at the provided path.

+

When set to auto this module will match the key format of the installed OpenSSH version.

+

For OpenSSH < 7.8 private keys will be in PKCS1 format except ed25519 keys which will be in OpenSSH format.

+

For OpenSSH >= 7.8 all private key types will be in the OpenSSH format.

+

Using this option when regenerate=partial_idempotence or regenerate=full_idempotence will cause a new keypair to be generated if the private key’s format does not match the value of private_key_format. This module will not however convert existing private keys between formats.

+

Choices:

+
    +
  • "auto" ← (default)

  • +
  • "pkcs1"

  • +
  • "pkcs8"

  • +
  • "ssh"

  • +
+
+

regenerate

+

string

+

added in community.crypto 1.0.0

+

Allows to configure in which situations the module is allowed to regenerate private keys. The module will always generate a new key if the destination file does not exist.

+

By default, the key will be regenerated when it does not match the module’s options, except when the key cannot be read or the passphrase does not match. Please note that this changed for Ansible 2.10. For Ansible 2.9, the behavior was as if full_idempotence is specified.

+

If set to never, the module will fail if the key cannot be read or the passphrase is not matching, and will never regenerate an existing key.

+

If set to fail, the module will fail if the key does not correspond to the module’s options.

+

If set to partial_idempotence, the key will be regenerated if it does not conform to the module’s options. The key is not regenerated if it cannot be read (broken file), the key is protected by an unknown passphrase, or when they key is not protected by a passphrase, but a passphrase is specified.

+

If set to full_idempotence, the key will be regenerated if it does not conform to the module’s options. This is also the case if the key cannot be read (broken file), the key is protected by an unknown passphrase, or when they key is not protected by a passphrase, but a passphrase is specified. Make sure you have a backup when using this option!

+

If set to always, the module will always regenerate the key. This is equivalent to setting force to true.

+

Note that adjusting the comment and the permissions can be changed without regeneration. Therefore, even for never, the task can result in changed.

+

Choices:

+
    +
  • "never"

  • +
  • "fail"

  • +
  • "partial_idempotence" ← (default)

  • +
  • "full_idempotence"

  • +
  • "always"

  • +
+
+

selevel

+

string

+

The level part of the SELinux filesystem object context.

+

This is the MLS/MCS attribute, sometimes known as the range.

+

When set to _default, it will use the level portion of the policy if available.

+
+

serole

+

string

+

The role part of the SELinux filesystem object context.

+

When set to _default, it will use the role portion of the policy if available.

+
+

setype

+

string

+

The type part of the SELinux filesystem object context.

+

When set to _default, it will use the type portion of the policy if available.

+
+

seuser

+

string

+

The user part of the SELinux filesystem object context.

+

By default it uses the system policy, where applicable.

+

When set to _default, it will use the user portion of the policy if available.

+
+

size

+

integer

+

Specifies the number of bits in the private key to create. For RSA keys, the minimum size is 1024 bits and the default is 4096 bits. Generally, 2048 bits is considered sufficient. DSA keys must be exactly 1024 bits as specified by FIPS 186-2. For ECDSA keys, size determines the key length by selecting from one of three elliptic curve sizes: 256, 384 or 521 bits. Attempting to use bit lengths other than these three values for ECDSA keys will cause this module to fail. Ed25519 keys have a fixed length and the size will be ignored.

+
+

state

+

string

+

Whether the private and public keys should exist or not, taking action if the state is different from what is stated.

+

Choices:

+
    +
  • "present" ← (default)

  • +
  • "absent"

  • +
+
+

type

+

string

+

The algorithm used to generate the SSH private key. rsa1 is for protocol version 1. rsa1 is deprecated and may not be supported by every version of ssh-keygen.

+

Choices:

+
    +
  • "rsa" ← (default)

  • +
  • "dsa"

  • +
  • "rsa1"

  • +
  • "ecdsa"

  • +
  • "ed25519"

  • +
+
+

unsafe_writes

+

boolean

+

Influence when to use atomic operation to prevent data corruption or inconsistent reads from the target filesystem object.

+

By default this module uses atomic operations to prevent data corruption or inconsistent reads from the target filesystem objects, but sometimes systems are configured or just broken in ways that prevent this. One example is docker mounted filesystem objects, which cannot be updated atomically from inside the container and can only be written in an unsafe manner.

+

This option allows Ansible to fall back to unsafe methods of updating filesystem objects when atomic operations fail (however, it doesn’t force Ansible to perform unsafe writes).

+

IMPORTANT! Unsafe writes are subject to race conditions and can lead to data corruption.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

check_mode

+

Support: full

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: full

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+

safe_file_operations

+

Support: full

+

Uses Ansible’s strict file operation functions to ensure proper permissions and avoid data corruption.

+
+
+
+

Notes

+
+

Note

+
    +
  • In case the ssh key is broken or password protected, the module will fail. Set the force option to true if you want to regenerate the keypair.

  • +
  • In the case a custom mode, group, owner, or other file attribute is provided it will be applied to both key files.

  • +
+
+
+
+

Examples

+
- name: Generate an OpenSSH keypair with the default values (4096 bits, rsa)
+  community.crypto.openssh_keypair:
+    path: /tmp/id_ssh_rsa
+
+- name: Generate an OpenSSH keypair with the default values (4096 bits, rsa) and encrypted private key
+  community.crypto.openssh_keypair:
+    path: /tmp/id_ssh_rsa
+    passphrase: super_secret_password
+
+- name: Generate an OpenSSH rsa keypair with a different size (2048 bits)
+  community.crypto.openssh_keypair:
+    path: /tmp/id_ssh_rsa
+    size: 2048
+
+- name: Force regenerate an OpenSSH keypair if it already exists
+  community.crypto.openssh_keypair:
+    path: /tmp/id_ssh_rsa
+    force: true
+
+- name: Generate an OpenSSH keypair with a different algorithm (dsa)
+  community.crypto.openssh_keypair:
+    path: /tmp/id_ssh_dsa
+    type: dsa
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + + + + + + + + + + + + + + + + +

Key

Description

+

comment

+

string

+

The comment of the generated key.

+

Returned: changed or success

+

Sample: "test@comment"

+
+

filename

+

string

+

Path to the generated SSH private key file.

+

Returned: changed or success

+

Sample: "/tmp/id_ssh_rsa"

+
+

fingerprint

+

string

+

The fingerprint of the key.

+

Returned: changed or success

+

Sample: "SHA256:r4YCZxihVjedH2OlfjVGI6Y5xAYtdCwk8VxKyzVyYfM"

+
+

public_key

+

string

+

The public key of the generated SSH private key.

+

Returned: changed or success

+

Sample: "ssh-rsa AAAAB3Nza(...omitted...)veL4E3Xcw=="

+
+

size

+

integer

+

Size (in bits) of the SSH private key.

+

Returned: changed or success

+

Sample: 4096

+
+

type

+

string

+

Algorithm used to generate the SSH private key.

+

Returned: changed or success

+

Sample: "rsa"

+
+
+

Authors

+
    +
  • David Kainz (@lolcube)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/openssl_certificate_info_module.html b/tag/2.18.0/openssl_certificate_info_module.html new file mode 100644 index 000000000..c5b01df11 --- /dev/null +++ b/tag/2.18.0/openssl_certificate_info_module.html @@ -0,0 +1,194 @@ + + + + + + + + community.crypto.openssl_certificate_info — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • +
  • +
+
+
+
+ + +
+ +
+

community.crypto.openssl_certificate_info

+
+

Note

+

This plugin was part of the community.crypto collection (version 2.18.0).

+
+

This module has been removed +in version 2.0.0 of community.crypto. +The ‘community.crypto.openssl_certificate_info’ module has been renamed to ‘community.crypto.x509_certificate_info’

+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/openssl_certificate_module.html b/tag/2.18.0/openssl_certificate_module.html new file mode 100644 index 000000000..23de108f8 --- /dev/null +++ b/tag/2.18.0/openssl_certificate_module.html @@ -0,0 +1,194 @@ + + + + + + + + community.crypto.openssl_certificate — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • +
  • +
+
+
+
+ + +
+ +
+

community.crypto.openssl_certificate

+
+

Note

+

This plugin was part of the community.crypto collection (version 2.18.0).

+
+

This module has been removed +in version 2.0.0 of community.crypto. +The ‘community.crypto.openssl_certificate’ module has been renamed to ‘community.crypto.x509_certificate’

+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/openssl_csr_info_filter.html b/tag/2.18.0/openssl_csr_info_filter.html new file mode 100644 index 000000000..4361adbe2 --- /dev/null +++ b/tag/2.18.0/openssl_csr_info_filter.html @@ -0,0 +1,695 @@ + + + + + + + + community.crypto.openssl_csr_info filter – Retrieve information from OpenSSL Certificate Signing Requests (CSR) — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.openssl_csr_info filter – Retrieve information from OpenSSL Certificate Signing Requests (CSR)

+
+

Note

+

This filter plugin is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this filter plugin, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.openssl_csr_info.

+
+

New in community.crypto 2.10.0

+ +
+

Synopsis

+ +
+
+

Requirements

+

The below requirements are needed on the local controller node that executes this filter.

+ +
+
+

Input

+

This describes the input of the filter, the value before | community.crypto.openssl_csr_info.

+ + + + + + + + + + + +

Parameter

Comments

+

Input

+

string / required

+

The content of the OpenSSL CSR.

+
+
+
+

Keyword parameters

+

This describes keyword parameters of the filter. These are the values key1=value1, key2=value2 and so on in the following +example: input | community.crypto.openssl_csr_info(key1=value1, key2=value2, ...)

+ + + + + + + + + + + +

Parameter

Comments

+

name_encoding

+

string

+

How to encode names (DNS names, URIs, email addresses) in return values.

+

ignore will use the encoding returned by the backend.

+

idna will convert all labels of domain names to IDNA encoding. IDNA2008 will be preferred, and IDNA2003 will be used if IDNA2008 encoding fails.

+

unicode will convert all labels of domain names to Unicode. IDNA2008 will be preferred, and IDNA2003 will be used if IDNA2008 decoding fails.

+

Note that idna and unicode require the idna Python library to be installed.

+

Choices:

+
    +
  • "ignore" ← (default)

  • +
  • "idna"

  • +
  • "unicode"

  • +
+
+
+
+

See Also

+
+

See also

+
+
community.crypto.openssl_csr_info

Provide information of OpenSSL Certificate Signing Requests (CSR).

+
+
community.crypto.to_serial filter plugin

Convert an integer to a colon-separated list of hex numbers.

+
+
+
+
+
+

Examples

+
- name: Show the Subject Alt Names of the CSR
+  ansible.builtin.debug:
+    msg: >-
+      {{
+        (
+          lookup('ansible.builtin.file', '/path/to/cert.csr')
+          | community.crypto.openssl_csr_info
+        ).subject_alt_name | join(', ')
+      }}
+
+
+
+
+

Return Value

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Key

Description

+

Return value

+

dictionary

+

Information on the certificate.

+

Returned: success

+
+

authority_cert_issuer

+

list / elements=string

+

The CSR’s authority cert issuer as a list of general names.

+

Is none if the AuthorityKeyIdentifier extension is not present.

+

See name_encoding for how IDNs are handled.

+

Returned: success

+

Sample: ["DNS:www.ansible.com", "IP:1.2.3.4"]

+
+

authority_cert_serial_number

+

integer

+

The CSR’s authority cert serial number.

+

Is none if the AuthorityKeyIdentifier extension is not present.

+

This return value is an integer. If you need the serial numbers as a colon-separated hex string, such as 11:22:33, you need to convert it to that form with community.crypto.to_serial.

+

Returned: success

+

Sample: 12345

+
+

authority_key_identifier

+

string

+

The CSR’s authority key identifier.

+

The identifier is returned in hexadecimal, with : used to separate bytes.

+

Is none if the AuthorityKeyIdentifier extension is not present.

+

Returned: success

+

Sample: "00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff:00:11:22:33"

+
+

basic_constraints

+

list / elements=string

+

Entries in the basic_constraints extension, or none if extension is not present.

+

Returned: success

+

Sample: ["CA:TRUE", "pathlen:1"]

+
+

basic_constraints_critical

+

boolean

+

Whether the basic_constraints extension is critical.

+

Returned: success

+
+

extended_key_usage

+

list / elements=string

+

Entries in the extended_key_usage extension, or none if extension is not present.

+

Returned: success

+

Sample: ["Biometric Info", "DVCS", "Time Stamping"]

+
+

extended_key_usage_critical

+

boolean

+

Whether the extended_key_usage extension is critical.

+

Returned: success

+
+

extensions_by_oid

+

dictionary

+

Returns a dictionary for every extension OID

+

Returned: success

+

Sample: {"1.3.6.1.5.5.7.1.24": {"critical": false, "value": "MAMCAQU="}}

+
+

critical

+

boolean

+

Whether the extension is critical.

+

Returned: success

+
+

value

+

string

+

The Base64 encoded value (in DER format) of the extension.

+

Note that depending on the cryptography version used, it is not possible to extract the ASN.1 content of the extension, but only to provide the re-encoded content of the extension in case it was parsed by cryptography. This should usually result in exactly the same value, except if the original extension value was malformed.

+

Returned: success

+

Sample: "MAMCAQU="

+
+

key_usage

+

string

+

Entries in the key_usage extension, or none if extension is not present.

+

Returned: success

+

Sample: "['Key Agreement', 'Data Encipherment']"

+
+

key_usage_critical

+

boolean

+

Whether the key_usage extension is critical.

+

Returned: success

+
+

name_constraints_critical

+

boolean

+

Whether the name_constraints extension is critical.

+

Is none if extension is not present.

+

Returned: success

+
+

name_constraints_excluded

+

list / elements=string

+

List of excluded subtrees the CA cannot sign certificates for.

+

Is none if extension is not present.

+

See name_encoding for how IDNs are handled.

+

Returned: success

+

Sample: ["email:.com"]

+
+

name_constraints_permitted

+

list / elements=string

+

List of permitted subtrees to sign certificates for.

+

Returned: success

+

Sample: ["email:.somedomain.com"]

+
+

ocsp_must_staple

+

boolean

+

true if the OCSP Must Staple extension is present, none otherwise.

+

Returned: success

+
+

ocsp_must_staple_critical

+

boolean

+

Whether the ocsp_must_staple extension is critical.

+

Returned: success

+
+

public_key

+

string

+

CSR’s public key in PEM format

+

Returned: success

+

Sample: "-----BEGIN PUBLIC KEY----- MIICIjANBgkqhkiG9w0BAQEFAAOCAg8A..."

+
+

public_key_data

+

dictionary

+

Public key data. Depends on the public key’s type.

+

Returned: success

+
+

curve

+

string

+

The curve’s name for ECC.

+

Returned: When _value.public_key_type=ECC

+
+

exponent

+

integer

+

The RSA key’s public exponent.

+

Returned: When _value.public_key_type=RSA

+
+

exponent_size

+

integer

+

The maximum number of bits of a private key. This is basically the bit size of the subgroup used.

+

Returned: When _value.public_key_type=ECC

+
+

g

+

integer

+

The g value for DSA.

+

This is the element spanning the subgroup of the multiplicative group of the prime field used.

+

Returned: When _value.public_key_type=DSA

+
+

modulus

+

integer

+

The RSA key’s modulus.

+

Returned: When _value.public_key_type=RSA

+
+

p

+

integer

+

The p value for DSA.

+

This is the prime modulus upon which arithmetic takes place.

+

Returned: When _value.public_key_type=DSA

+
+

q

+

integer

+

The q value for DSA.

+

This is a prime that divides p - 1, and at the same time the order of the subgroup of the multiplicative group of the prime field used.

+

Returned: When _value.public_key_type=DSA

+
+

size

+

integer

+

Bit size of modulus (RSA) or prime number (DSA).

+

Returned: When _value.public_key_type=RSA or _value.public_key_type=DSA

+
+

x

+

integer

+

The x coordinate for the public point on the elliptic curve.

+

Returned: When _value.public_key_type=ECC

+
+

y

+

integer

+

For _value.public_key_type=ECC, this is the y coordinate for the public point on the elliptic curve.

+

For _value.public_key_type=DSA, this is the publicly known group element whose discrete logarithm with respect to g is the private key.

+

Returned: When _value.public_key_type=DSA or _value.public_key_type=ECC

+
+

public_key_fingerprints

+

dictionary

+

Fingerprints of CSR’s public key.

+

For every hash algorithm available, the fingerprint is computed.

+

Returned: success

+

Sample: "{'sha256': 'd4:b3:aa:6d:c8:04:ce:4e:ba:f6:29:4d:92:a3:94:b0:c2:ff:bd:bf:33:63:11:43:34:0f:51:b0:95:09:2f:63', 'sha512': 'f7:07:4a:f0:b0:f0:e6:8b:95:5f:f9:e6:61:0a:32:68:f1..."

+
+

public_key_type

+

string

+

The CSR’s public key’s type.

+

One of RSA, DSA, ECC, Ed25519, X25519, Ed448, or X448.

+

Will start with unknown if the key type cannot be determined.

+

Returned: success

+

Sample: "RSA"

+
+

signature_valid

+

boolean

+

Whether the CSR’s signature is valid.

+

In case the check returns false, the module will fail.

+

Returned: success

+
+

subject

+

dictionary

+

The CSR’s subject as a dictionary.

+

Note that for repeated values, only the last one will be returned.

+

Returned: success

+

Sample: {"commonName": "www.example.com", "emailAddress": "test@example.com"}

+
+

subject_alt_name

+

list / elements=string

+

Entries in the subject_alt_name extension, or none if extension is not present.

+

See name_encoding for how IDNs are handled.

+

Returned: success

+

Sample: ["DNS:www.ansible.com", "IP:1.2.3.4"]

+
+

subject_alt_name_critical

+

boolean

+

Whether the subject_alt_name extension is critical.

+

Returned: success

+
+

subject_key_identifier

+

string

+

The CSR’s subject key identifier.

+

The identifier is returned in hexadecimal, with : used to separate bytes.

+

Is none if the SubjectKeyIdentifier extension is not present.

+

Returned: success

+

Sample: "00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff:00:11:22:33"

+
+

subject_ordered

+

list / elements=list

+

The CSR’s subject as an ordered list of tuples.

+

Returned: success

+

Sample: [["commonName", "www.example.com"], [{"emailAddress": "test@example.com"}]]

+
+
+

Authors

+
    +
  • Felix Fontein (@felixfontein)

  • +
+
+

Hint

+

Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.

+
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/openssl_csr_info_module.html b/tag/2.18.0/openssl_csr_info_module.html new file mode 100644 index 000000000..f894445e3 --- /dev/null +++ b/tag/2.18.0/openssl_csr_info_module.html @@ -0,0 +1,740 @@ + + + + + + + + community.crypto.openssl_csr_info module – Provide information of OpenSSL Certificate Signing Requests (CSR) — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.openssl_csr_info module – Provide information of OpenSSL Certificate Signing Requests (CSR)

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.openssl_csr_info.

+
+ +
+

Synopsis

+
    +
  • This module allows one to query information on OpenSSL Certificate Signing Requests (CSR).

  • +
  • In case the CSR signature cannot be validated, the module will fail. In this case, all return variables are still returned.

  • +
  • It uses the cryptography python library to interact with OpenSSL.

  • +
+
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+ +
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + +

Parameter

Comments

+

content

+

string

+

added in community.crypto 1.0.0

+

Content of the CSR file.

+

Either path or content must be specified, but not both.

+
+

name_encoding

+

string

+

How to encode names (DNS names, URIs, email addresses) in return values.

+

ignore will use the encoding returned by the backend.

+

idna will convert all labels of domain names to IDNA encoding. IDNA2008 will be preferred, and IDNA2003 will be used if IDNA2008 encoding fails.

+

unicode will convert all labels of domain names to Unicode. IDNA2008 will be preferred, and IDNA2003 will be used if IDNA2008 decoding fails.

+

Note that idna and unicode require the idna Python library to be installed.

+

Choices:

+
    +
  • "ignore" ← (default)

  • +
  • "idna"

  • +
  • "unicode"

  • +
+
+

path

+

path

+

Remote absolute path where the CSR file is loaded from.

+

Either path or content must be specified, but not both.

+
+

select_crypto_backend

+

string

+

Determines which crypto backend to use.

+

The default choice is auto, which tries to use cryptography if available.

+

If set to cryptography, will try to use the cryptography library.

+

Choices:

+
    +
  • "auto" ← (default)

  • +
  • "cryptography"

  • +
+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

check_mode

+

Support: full

+

This action does not modify state.

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: N/A

+

This action does not modify state.

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+
+
+

See Also

+
+

See also

+
+
community.crypto.openssl_csr

Generate OpenSSL Certificate Signing Request (CSR).

+
+
community.crypto.openssl_csr_pipe

Generate OpenSSL Certificate Signing Request (CSR).

+
+
community.crypto.openssl_csr_info filter plugin

A filter variant of this module.

+
+
community.crypto.to_serial filter plugin

Convert an integer to a colon-separated list of hex numbers.

+
+
+
+
+
+

Examples

+
- name: Generate an OpenSSL Certificate Signing Request
+  community.crypto.openssl_csr:
+    path: /etc/ssl/csr/www.ansible.com.csr
+    privatekey_path: /etc/ssl/private/ansible.com.pem
+    common_name: www.ansible.com
+
+- name: Get information on the CSR
+  community.crypto.openssl_csr_info:
+    path: /etc/ssl/csr/www.ansible.com.csr
+  register: result
+
+- name: Dump information
+  ansible.builtin.debug:
+    var: result
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Key

Description

+

authority_cert_issuer

+

list / elements=string

+

The CSR’s authority cert issuer as a list of general names.

+

Is none if the AuthorityKeyIdentifier extension is not present.

+

See name_encoding for how IDNs are handled.

+

Returned: success

+

Sample: ["DNS:www.ansible.com", "IP:1.2.3.4"]

+
+

authority_cert_serial_number

+

integer

+

The CSR’s authority cert serial number.

+

Is none if the AuthorityKeyIdentifier extension is not present.

+

This return value is an integer. If you need the serial numbers as a colon-separated hex string, such as 11:22:33, you need to convert it to that form with community.crypto.to_serial.

+

Returned: success

+

Sample: 12345

+
+

authority_key_identifier

+

string

+

The CSR’s authority key identifier.

+

The identifier is returned in hexadecimal, with : used to separate bytes.

+

Is none if the AuthorityKeyIdentifier extension is not present.

+

Returned: success

+

Sample: "00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff:00:11:22:33"

+
+

basic_constraints

+

list / elements=string

+

Entries in the basic_constraints extension, or none if extension is not present.

+

Returned: success

+

Sample: ["CA:TRUE", "pathlen:1"]

+
+

basic_constraints_critical

+

boolean

+

Whether the basic_constraints extension is critical.

+

Returned: success

+
+

extended_key_usage

+

list / elements=string

+

Entries in the extended_key_usage extension, or none if extension is not present.

+

Returned: success

+

Sample: ["Biometric Info", "DVCS", "Time Stamping"]

+
+

extended_key_usage_critical

+

boolean

+

Whether the extended_key_usage extension is critical.

+

Returned: success

+
+

extensions_by_oid

+

dictionary

+

Returns a dictionary for every extension OID

+

Returned: success

+

Sample: {"1.3.6.1.5.5.7.1.24": {"critical": false, "value": "MAMCAQU="}}

+
+

critical

+

boolean

+

Whether the extension is critical.

+

Returned: success

+
+

value

+

string

+

The Base64 encoded value (in DER format) of the extension.

+

Note that depending on the cryptography version used, it is not possible to extract the ASN.1 content of the extension, but only to provide the re-encoded content of the extension in case it was parsed by cryptography. This should usually result in exactly the same value, except if the original extension value was malformed.

+

Returned: success

+

Sample: "MAMCAQU="

+
+

key_usage

+

string

+

Entries in the key_usage extension, or none if extension is not present.

+

Returned: success

+

Sample: "['Key Agreement', 'Data Encipherment']"

+
+

key_usage_critical

+

boolean

+

Whether the key_usage extension is critical.

+

Returned: success

+
+

name_constraints_critical

+

boolean

+

added in community.crypto 1.1.0

+

Whether the name_constraints extension is critical.

+

Is none if extension is not present.

+

Returned: success

+
+

name_constraints_excluded

+

list / elements=string

+

added in community.crypto 1.1.0

+

List of excluded subtrees the CA cannot sign certificates for.

+

Is none if extension is not present.

+

See name_encoding for how IDNs are handled.

+

Returned: success

+

Sample: ["email:.com"]

+
+

name_constraints_permitted

+

list / elements=string

+

added in community.crypto 1.1.0

+

List of permitted subtrees to sign certificates for.

+

Returned: success

+

Sample: ["email:.somedomain.com"]

+
+

ocsp_must_staple

+

boolean

+

true if the OCSP Must Staple extension is present, none otherwise.

+

Returned: success

+
+

ocsp_must_staple_critical

+

boolean

+

Whether the ocsp_must_staple extension is critical.

+

Returned: success

+
+

public_key

+

string

+

CSR’s public key in PEM format

+

Returned: success

+

Sample: "-----BEGIN PUBLIC KEY-----\nMIICIjANBgkqhkiG9w0BAQEFAAOCAg8A..."

+
+

public_key_data

+

dictionary

+

added in community.crypto 1.7.0

+

Public key data. Depends on the public key’s type.

+

Returned: success

+
+

curve

+

string

+

The curve’s name for ECC.

+

Returned: When public_key_type=ECC

+
+

exponent

+

integer

+

The RSA key’s public exponent.

+

Returned: When public_key_type=RSA

+
+

exponent_size

+

integer

+

The maximum number of bits of a private key. This is basically the bit size of the subgroup used.

+

Returned: When public_key_type=ECC

+
+

g

+

integer

+

The g value for DSA.

+

This is the element spanning the subgroup of the multiplicative group of the prime field used.

+

Returned: When public_key_type=DSA

+
+

modulus

+

integer

+

The RSA key’s modulus.

+

Returned: When public_key_type=RSA

+
+

p

+

integer

+

The p value for DSA.

+

This is the prime modulus upon which arithmetic takes place.

+

Returned: When public_key_type=DSA

+
+

q

+

integer

+

The q value for DSA.

+

This is a prime that divides p - 1, and at the same time the order of the subgroup of the multiplicative group of the prime field used.

+

Returned: When public_key_type=DSA

+
+

size

+

integer

+

Bit size of modulus (RSA) or prime number (DSA).

+

Returned: When public_key_type=RSA or public_key_type=DSA

+
+

x

+

integer

+

The x coordinate for the public point on the elliptic curve.

+

Returned: When public_key_type=ECC

+
+

y

+

integer

+

For public_key_type=ECC, this is the y coordinate for the public point on the elliptic curve.

+

For public_key_type=DSA, this is the publicly known group element whose discrete logarithm w.r.t. g is the private key.

+

Returned: When public_key_type=DSA or public_key_type=ECC

+
+

public_key_fingerprints

+

dictionary

+

Fingerprints of CSR’s public key.

+

For every hash algorithm available, the fingerprint is computed.

+

Returned: success

+

Sample: "{'sha256': 'd4:b3:aa:6d:c8:04:ce:4e:ba:f6:29:4d:92:a3:94:b0:c2:ff:bd:bf:33:63:11:43:34:0f:51:b0:95:09:2f:63', 'sha512': 'f7:07:4a:f0:b0:f0:e6:8b:95:5f:f9:e6:61:0a:32:68:f1..."

+
+

public_key_type

+

string

+

added in community.crypto 1.7.0

+

The CSR’s public key’s type.

+

One of RSA, DSA, ECC, Ed25519, X25519, Ed448, or X448.

+

Will start with unknown if the key type cannot be determined.

+

Returned: success

+

Sample: "RSA"

+
+

signature_valid

+

boolean

+

Whether the CSR’s signature is valid.

+

In case the check returns false, the module will fail.

+

Returned: success

+
+

subject

+

dictionary

+

The CSR’s subject as a dictionary.

+

Note that for repeated values, only the last one will be returned.

+

Returned: success

+

Sample: {"commonName": "www.example.com", "emailAddress": "test@example.com"}

+
+

subject_alt_name

+

list / elements=string

+

Entries in the subject_alt_name extension, or none if extension is not present.

+

See name_encoding for how IDNs are handled.

+

Returned: success

+

Sample: ["DNS:www.ansible.com", "IP:1.2.3.4"]

+
+

subject_alt_name_critical

+

boolean

+

Whether the subject_alt_name extension is critical.

+

Returned: success

+
+

subject_key_identifier

+

string

+

The CSR’s subject key identifier.

+

The identifier is returned in hexadecimal, with : used to separate bytes.

+

Is none if the SubjectKeyIdentifier extension is not present.

+

Returned: success

+

Sample: "00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff:00:11:22:33"

+
+

subject_ordered

+

list / elements=list

+

The CSR’s subject as an ordered list of tuples.

+

Returned: success

+

Sample: [["commonName", "www.example.com"], [{"emailAddress": "test@example.com"}]]

+
+
+

Authors

+
    +
  • Felix Fontein (@felixfontein)

  • +
  • Yanis Guenane (@Spredzy)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/openssl_csr_module.html b/tag/2.18.0/openssl_csr_module.html new file mode 100644 index 000000000..1e6656869 --- /dev/null +++ b/tag/2.18.0/openssl_csr_module.html @@ -0,0 +1,1151 @@ + + + + + + + + community.crypto.openssl_csr module – Generate OpenSSL Certificate Signing Request (CSR) — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.openssl_csr module – Generate OpenSSL Certificate Signing Request (CSR)

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.openssl_csr.

+
+ +
+

Synopsis

+
    +
  • Please note that the module regenerates an existing CSR if it does not match the module’s options, or if it seems to be corrupt. If you are concerned that this could overwrite your existing CSR, consider using the backup option.

  • +
  • This module allows one to (re)generate OpenSSL certificate signing requests.

  • +
  • This module supports the subjectAltName, keyUsage, extendedKeyUsage, basicConstraints and OCSP Must Staple extensions.

  • +
+
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+
    +
  • cryptography >= 1.3

  • +
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

Comments

+
+

attributes

+

aliases: attr

+

string

+

The attributes the resulting filesystem object should have.

+

To get supported flags look at the man page for chattr on the target system.

+

This string should contain the attributes in the same order as the one displayed by lsattr.

+

The = operator is assumed as default, otherwise + or - operators need to be included in the string.

+
+

authority_cert_issuer

+

list / elements=string

+

Names that will be present in the authority cert issuer field of the certificate signing request.

+

Values must be prefixed by their options. (That is, email, URI, DNS, RID, IP, dirName, otherName, and the ones specific to your CA)

+

Example: DNS:ca.example.org

+

If specified, authority_cert_serial_number must also be specified.

+

Please note that commercial CAs ignore this value, respectively use a value of their own choice. Specifying this option is mostly useful for self-signed certificates or for own CAs.

+

Note that this is only supported if the cryptography backend is used!

+

The AuthorityKeyIdentifier extension will only be added if at least one of authority_key_identifier, authority_cert_issuer and authority_cert_serial_number is specified.

+
+

authority_cert_serial_number

+

integer

+

The authority cert serial number.

+

If specified, authority_cert_issuer must also be specified.

+

Note that this is only supported if the cryptography backend is used!

+

Please note that commercial CAs ignore this value, respectively use a value of their own choice. Specifying this option is mostly useful for self-signed certificates or for own CAs.

+

The AuthorityKeyIdentifier extension will only be added if at least one of authority_key_identifier, authority_cert_issuer and authority_cert_serial_number is specified.

+

This option accepts an integer. If you want to provide serial numbers as colon-separated hex strings, such as 11:22:33, you need to convert them to an integer with community.crypto.parse_serial.

+
+

authority_key_identifier

+

string

+

The authority key identifier as a hex string, where two bytes are separated by colons.

+

Example: 00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff:00:11:22:33

+

Please note that commercial CAs ignore this value, respectively use a value of their own choice. Specifying this option is mostly useful for self-signed certificates or for own CAs.

+

Note that this is only supported if the cryptography backend is used!

+

The AuthorityKeyIdentifier extension will only be added if at least one of authority_key_identifier, authority_cert_issuer and authority_cert_serial_number is specified.

+
+

backup

+

boolean

+

Create a backup file including a timestamp so you can get the original CSR back if you overwrote it with a new one by accident.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+
+

basic_constraints

+

aliases: basicConstraints

+

list / elements=string

+

Indicates basic constraints, such as if the certificate is a CA.

+
+
+

basic_constraints_critical

+

aliases: basicConstraints_critical

+

boolean

+

Should the basicConstraints extension be considered as critical.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+
+
+

common_name

+

aliases: CN, commonName

+

string

+

The commonName field of the certificate signing request subject.

+
+
+
+

country_name

+

aliases: C, countryName

+

string

+

The countryName field of the certificate signing request subject.

+
+

create_subject_key_identifier

+

boolean

+

Create the Subject Key Identifier from the public key.

+

Please note that commercial CAs can ignore the value, respectively use a value of their own choice instead. Specifying this option is mostly useful for self-signed certificates or for own CAs.

+

Note that this is only supported if the cryptography backend is used!

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

crl_distribution_points

+

list / elements=dictionary

+

added in community.crypto 1.4.0

+

Allows to specify one or multiple CRL distribution points.

+

Only supported by the cryptography backend.

+
+

crl_issuer

+

list / elements=string

+

Information about the issuer of the CRL.

+
+

full_name

+

list / elements=string

+

Describes how the CRL can be retrieved.

+

Mutually exclusive with crl_distribution_points[].relative_name.

+

Example: URI:https://ca.example.com/revocations.crl.

+
+

reasons

+

list / elements=string

+

List of reasons that this distribution point can be used for when performing revocation checks.

+

Choices:

+
    +
  • "key_compromise"

  • +
  • "ca_compromise"

  • +
  • "affiliation_changed"

  • +
  • "superseded"

  • +
  • "cessation_of_operation"

  • +
  • "certificate_hold"

  • +
  • "privilege_withdrawn"

  • +
  • "aa_compromise"

  • +
+
+

relative_name

+

list / elements=string

+

Describes how the CRL can be retrieved relative to the CRL issuer.

+

Mutually exclusive with crl_distribution_points[].full_name.

+

Example: /CN=example.com.

+

Can only be used when cryptography >= 1.6 is installed.

+
+

digest

+

string

+

The digest used when signing the certificate signing request with the private key.

+

Default: "sha256"

+
+
+
+

email_address

+

aliases: E, emailAddress

+

string

+

The emailAddress field of the certificate signing request subject.

+
+
+
+

extended_key_usage

+

aliases: extKeyUsage, extendedKeyUsage

+

list / elements=string

+

Additional restrictions (for example client authentication, server authentication) on the allowed purposes for which the public key may be used.

+
+
+
+

extended_key_usage_critical

+

aliases: extKeyUsage_critical, extendedKeyUsage_critical

+

boolean

+

Should the extkeyUsage extension be considered as critical.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

force

+

boolean

+

Should the certificate signing request be forced regenerated by this ansible module.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

group

+

string

+

Name of the group that should own the filesystem object, as would be fed to chown.

+

When left unspecified, it uses the current group of the current user unless you are root, in which case it can preserve the previous ownership.

+
+
+

key_usage

+

aliases: keyUsage

+

list / elements=string

+

This defines the purpose (for example encipherment, signature, certificate signing) of the key contained in the certificate.

+
+
+

key_usage_critical

+

aliases: keyUsage_critical

+

boolean

+

Should the keyUsage extension be considered as critical.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+
+
+

locality_name

+

aliases: L, localityName

+

string

+

The localityName field of the certificate signing request subject.

+
+

mode

+

any

+

The permissions the resulting filesystem object should have.

+

For those used to /usr/bin/chmod remember that modes are actually octal numbers. You must give Ansible enough information to parse them correctly. For consistent results, quote octal numbers (for example, '644' or '1777') so Ansible receives a string and can do its own conversion from string into number. Adding a leading zero (for example, 0755) works sometimes, but can fail in loops and some other circumstances.

+

Giving Ansible a number without following either of these rules will end up with a decimal number which will have unexpected results.

+

As of Ansible 1.8, the mode may be specified as a symbolic mode (for example, u+rwx or u=rw,g=r,o=r).

+

If mode is not specified and the destination filesystem object does not exist, the default umask on the system will be used when setting the mode for the newly created filesystem object.

+

If mode is not specified and the destination filesystem object does exist, the mode of the existing filesystem object will be used.

+

Specifying mode is the best way to ensure filesystem objects are created with the correct permissions. See CVE-2020-1736 for further details.

+
+

name_constraints_critical

+

boolean

+

added in community.crypto 1.1.0

+

Should the Name Constraints extension be considered as critical.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

name_constraints_excluded

+

list / elements=string

+

added in community.crypto 1.1.0

+

For CA certificates, this specifies a list of identifiers which describe subtrees of names that this CA is not allowed to issue certificates for.

+

Values must be prefixed by their options. (That is, email, URI, DNS, RID, IP, dirName, otherName, and the ones specific to your CA).

+
+

name_constraints_permitted

+

list / elements=string

+

added in community.crypto 1.1.0

+

For CA certificates, this specifies a list of identifiers which describe subtrees of names that this CA is allowed to issue certificates for.

+

Values must be prefixed by their options. (That is, email, URI, DNS, RID, IP, dirName, otherName, and the ones specific to your CA).

+
+
+

ocsp_must_staple

+

aliases: ocspMustStaple

+

boolean

+

Indicates that the certificate should contain the OCSP Must Staple extension (https://tools.ietf.org/html/rfc7633).

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+
+

ocsp_must_staple_critical

+

aliases: ocspMustStaple_critical

+

boolean

+

Should the OCSP Must Staple extension be considered as critical.

+

Note that according to the RFC, this extension should not be marked as critical, as old clients not knowing about OCSP Must Staple are required to reject such certificates (see https://tools.ietf.org/html/rfc7633#section-4).

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+
+
+

organization_name

+

aliases: O, organizationName

+

string

+

The organizationName field of the certificate signing request subject.

+
+
+
+

organizational_unit_name

+

aliases: OU, organizationalUnitName

+

string

+

The organizationalUnitName field of the certificate signing request subject.

+
+

owner

+

string

+

Name of the user that should own the filesystem object, as would be fed to chown.

+

When left unspecified, it uses the current user unless you are root, in which case it can preserve the previous ownership.

+

Specifying a numeric username will be assumed to be a user ID and not a username. Avoid numeric usernames to avoid this confusion.

+
+

path

+

path / required

+

The name of the file into which the generated OpenSSL certificate signing request will be written.

+
+

privatekey_content

+

string

+

added in community.crypto 1.0.0

+

The content of the private key to use when signing the certificate signing request.

+

Either privatekey_path or privatekey_content must be specified if state is present, but not both.

+
+

privatekey_passphrase

+

string

+

The passphrase for the private key.

+

This is required if the private key is password protected.

+
+

privatekey_path

+

path

+

The path to the private key to use when signing the certificate signing request.

+

Either privatekey_path or privatekey_content must be specified if state is present, but not both.

+
+

return_content

+

boolean

+

added in community.crypto 1.0.0

+

If set to true, will return the (current or generated) CSR’s content as csr.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

select_crypto_backend

+

string

+

Determines which crypto backend to use.

+

The default choice is auto, which tries to use cryptography if available.

+

If set to cryptography, will try to use the cryptography library.

+

Choices:

+
    +
  • "auto" ← (default)

  • +
  • "cryptography"

  • +
+
+

selevel

+

string

+

The level part of the SELinux filesystem object context.

+

This is the MLS/MCS attribute, sometimes known as the range.

+

When set to _default, it will use the level portion of the policy if available.

+
+

serole

+

string

+

The role part of the SELinux filesystem object context.

+

When set to _default, it will use the role portion of the policy if available.

+
+

setype

+

string

+

The type part of the SELinux filesystem object context.

+

When set to _default, it will use the type portion of the policy if available.

+
+

seuser

+

string

+

The user part of the SELinux filesystem object context.

+

By default it uses the system policy, where applicable.

+

When set to _default, it will use the user portion of the policy if available.

+
+

state

+

string

+

Whether the certificate signing request should exist or not, taking action if the state is different from what is stated.

+

Choices:

+
    +
  • "absent"

  • +
  • "present" ← (default)

  • +
+
+
+
+

state_or_province_name

+

aliases: ST, stateOrProvinceName

+

string

+

The stateOrProvinceName field of the certificate signing request subject.

+
+

subject

+

dictionary

+

Key/value pairs that will be present in the subject name field of the certificate signing request.

+

If you need to specify more than one value with the same key, use a list as value.

+

If the order of the components is important, use subject_ordered.

+

Mutually exclusive with subject_ordered.

+
+
+

subject_alt_name

+

aliases: subjectAltName

+

list / elements=string

+

Subject Alternative Name (SAN) extension to attach to the certificate signing request.

+

Values must be prefixed by their options. (These are email, URI, DNS, RID, IP, dirName, otherName, and the ones specific to your CA).

+

Note that if no SAN is specified, but a common name, the common name will be added as a SAN except if use_common_name_for_san is set to false.

+

More at https://tools.ietf.org/html/rfc5280#section-4.2.1.6.

+
+
+

subject_alt_name_critical

+

aliases: subjectAltName_critical

+

boolean

+

Should the subjectAltName extension be considered as critical.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

subject_key_identifier

+

string

+

The subject key identifier as a hex string, where two bytes are separated by colons.

+

Example: 00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff:00:11:22:33

+

Please note that commercial CAs ignore this value, respectively use a value of their own choice. Specifying this option is mostly useful for self-signed certificates or for own CAs.

+

Note that this option can only be used if create_subject_key_identifier is false.

+

Note that this is only supported if the cryptography backend is used!

+
+

subject_ordered

+

list / elements=dictionary

+

added in community.crypto 2.0.0

+

A list of dictionaries, where every dictionary must contain one key/value pair. This key/value pair will be present in the subject name field of the certificate signing request.

+

If you want to specify more than one value with the same key in a row, you can use a list as value.

+

Mutually exclusive with subject, and any other subject field option, such as country_name, state_or_province_name, locality_name, organization_name, organizational_unit_name, common_name, or email_address.

+
+

unsafe_writes

+

boolean

+

Influence when to use atomic operation to prevent data corruption or inconsistent reads from the target filesystem object.

+

By default this module uses atomic operations to prevent data corruption or inconsistent reads from the target filesystem objects, but sometimes systems are configured or just broken in ways that prevent this. One example is docker mounted filesystem objects, which cannot be updated atomically from inside the container and can only be written in an unsafe manner.

+

This option allows Ansible to fall back to unsafe methods of updating filesystem objects when atomic operations fail (however, it doesn’t force Ansible to perform unsafe writes).

+

IMPORTANT! Unsafe writes are subject to race conditions and can lead to data corruption.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+
+

use_common_name_for_san

+

aliases: useCommonNameForSAN

+

boolean

+

If set to true, the module will fill the common name in for subject_alt_name with DNS: prefix if no SAN is specified.

+

Choices:

+
    +
  • false

  • +
  • true ← (default)

  • +
+
+

version

+

integer

+

The version of the certificate signing request.

+

The only allowed value according to RFC 2986 is 1.

+

This option no longer accepts unsupported values since community.crypto 2.0.0.

+

Choices:

+
    +
  • 1 ← (default)

  • +
+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

check_mode

+

Support: full

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: full

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+

safe_file_operations

+

Support: full

+

Uses Ansible’s strict file operation functions to ensure proper permissions and avoid data corruption.

+
+
+
+

Notes

+
+

Note

+
    +
  • If the certificate signing request already exists it will be checked whether subjectAltName, keyUsage, extendedKeyUsage and basicConstraints only contain the requested values, whether OCSP Must Staple is as requested, and if the request was signed by the given private key.

  • +
+
+
+
+

See Also

+
+

See also

+
+
community.crypto.openssl_csr_pipe

Generate OpenSSL Certificate Signing Request (CSR).

+
+
community.crypto.x509_certificate

Generate and/or check OpenSSL certificates.

+
+
community.crypto.x509_certificate_pipe

Generate and/or check OpenSSL certificates.

+
+
community.crypto.openssl_dhparam

Generate OpenSSL Diffie-Hellman Parameters.

+
+
community.crypto.openssl_pkcs12

Generate OpenSSL PKCS#12 archive.

+
+
community.crypto.openssl_privatekey

Generate OpenSSL private keys.

+
+
community.crypto.openssl_privatekey_pipe

Generate OpenSSL private keys without disk access.

+
+
community.crypto.openssl_publickey

Generate an OpenSSL public key from its private key.

+
+
community.crypto.openssl_csr_info

Provide information of OpenSSL Certificate Signing Requests (CSR).

+
+
community.crypto.parse_serial filter plugin

Convert a serial number as a colon-separated list of hex numbers to an integer.

+
+
+
+
+
+

Examples

+
- name: Generate an OpenSSL Certificate Signing Request
+  community.crypto.openssl_csr:
+    path: /etc/ssl/csr/www.ansible.com.csr
+    privatekey_path: /etc/ssl/private/ansible.com.pem
+    common_name: www.ansible.com
+
+- name: Generate an OpenSSL Certificate Signing Request with an inline key
+  community.crypto.openssl_csr:
+    path: /etc/ssl/csr/www.ansible.com.csr
+    privatekey_content: "{{ private_key_content }}"
+    common_name: www.ansible.com
+
+- name: Generate an OpenSSL Certificate Signing Request with a passphrase protected private key
+  community.crypto.openssl_csr:
+    path: /etc/ssl/csr/www.ansible.com.csr
+    privatekey_path: /etc/ssl/private/ansible.com.pem
+    privatekey_passphrase: ansible
+    common_name: www.ansible.com
+
+- name: Generate an OpenSSL Certificate Signing Request with Subject information
+  community.crypto.openssl_csr:
+    path: /etc/ssl/csr/www.ansible.com.csr
+    privatekey_path: /etc/ssl/private/ansible.com.pem
+    country_name: FR
+    organization_name: Ansible
+    email_address: jdoe@ansible.com
+    common_name: www.ansible.com
+
+- name: Generate an OpenSSL Certificate Signing Request with subjectAltName extension
+  community.crypto.openssl_csr:
+    path: /etc/ssl/csr/www.ansible.com.csr
+    privatekey_path: /etc/ssl/private/ansible.com.pem
+    subject_alt_name: 'DNS:www.ansible.com,DNS:m.ansible.com'
+
+- name: Generate an OpenSSL CSR with subjectAltName extension with dynamic list
+  community.crypto.openssl_csr:
+    path: /etc/ssl/csr/www.ansible.com.csr
+    privatekey_path: /etc/ssl/private/ansible.com.pem
+    subject_alt_name: "{{ item.value | map('regex_replace', '^', 'DNS:') | list }}"
+  with_dict:
+    dns_server:
+    - www.ansible.com
+    - m.ansible.com
+
+- name: Force regenerate an OpenSSL Certificate Signing Request
+  community.crypto.openssl_csr:
+    path: /etc/ssl/csr/www.ansible.com.csr
+    privatekey_path: /etc/ssl/private/ansible.com.pem
+    force: true
+    common_name: www.ansible.com
+
+- name: Generate an OpenSSL Certificate Signing Request with special key usages
+  community.crypto.openssl_csr:
+    path: /etc/ssl/csr/www.ansible.com.csr
+    privatekey_path: /etc/ssl/private/ansible.com.pem
+    common_name: www.ansible.com
+    key_usage:
+      - digitalSignature
+      - keyAgreement
+    extended_key_usage:
+      - clientAuth
+
+- name: Generate an OpenSSL Certificate Signing Request with OCSP Must Staple
+  community.crypto.openssl_csr:
+    path: /etc/ssl/csr/www.ansible.com.csr
+    privatekey_path: /etc/ssl/private/ansible.com.pem
+    common_name: www.ansible.com
+    ocsp_must_staple: true
+
+- name: Generate an OpenSSL Certificate Signing Request for WinRM Certificate authentication
+  community.crypto.openssl_csr:
+    path: /etc/ssl/csr/winrm.auth.csr
+    privatekey_path: /etc/ssl/private/winrm.auth.pem
+    common_name: username
+    extended_key_usage:
+    - clientAuth
+    subject_alt_name: otherName:1.3.6.1.4.1.311.20.2.3;UTF8:username@localhost
+
+- name: Generate an OpenSSL Certificate Signing Request with a CRL distribution point
+  community.crypto.openssl_csr:
+    path: /etc/ssl/csr/www.ansible.com.csr
+    privatekey_path: /etc/ssl/private/ansible.com.pem
+    common_name: www.ansible.com
+    crl_distribution_points:
+      - full_name:
+          - "URI:https://ca.example.com/revocations.crl"
+        crl_issuer:
+          - "URI:https://ca.example.com/"
+        reasons:
+          - key_compromise
+          - ca_compromise
+          - cessation_of_operation
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Key

Description

+

backup_file

+

string

+

Name of backup file created.

+

Returned: changed and if backup is true

+

Sample: "/path/to/www.ansible.com.csr.2019-03-09@11:22~"

+
+

basicConstraints

+

list / elements=string

+

Indicates if the certificate belongs to a CA

+

Returned: changed or success

+

Sample: ["CA:TRUE", "pathLenConstraint:0"]

+
+

csr

+

string

+

added in community.crypto 1.0.0

+

The (current or generated) CSR’s content.

+

Returned: if state is present and return_content is true

+
+

extendedKeyUsage

+

list / elements=string

+

Additional restriction on the public key purposes

+

Returned: changed or success

+

Sample: ["clientAuth"]

+
+

filename

+

string

+

Path to the generated Certificate Signing Request

+

Returned: changed or success

+

Sample: "/etc/ssl/csr/www.ansible.com.csr"

+
+

keyUsage

+

list / elements=string

+

Purpose for which the public key may be used

+

Returned: changed or success

+

Sample: ["digitalSignature", "keyAgreement"]

+
+

name_constraints_excluded

+

list / elements=string

+

added in community.crypto 1.1.0

+

List of excluded subtrees the CA cannot sign certificates for.

+

Returned: changed or success

+

Sample: ["email:.com"]

+
+

name_constraints_permitted

+

list / elements=string

+

added in community.crypto 1.1.0

+

List of permitted subtrees to sign certificates for.

+

Returned: changed or success

+

Sample: ["email:.somedomain.com"]

+
+

ocsp_must_staple

+

boolean

+

Indicates whether the certificate has the OCSP Must Staple feature enabled

+

Returned: changed or success

+

Sample: false

+
+

privatekey

+

string

+

Path to the TLS/SSL private key the CSR was generated for

+

Will be none if the private key has been provided in privatekey_content.

+

Returned: changed or success

+

Sample: "/etc/ssl/private/ansible.com.pem"

+
+

subject

+

list / elements=list

+

A list of the subject tuples attached to the CSR

+

Returned: changed or success

+

Sample: [["CN", "www.ansible.com"], ["O", "Ansible"]]

+
+

subjectAltName

+

list / elements=string

+

The alternative names this CSR is valid for

+

Returned: changed or success

+

Sample: ["DNS:www.ansible.com", "DNS:m.ansible.com"]

+
+
+

Authors

+
    +
  • Yanis Guenane (@Spredzy)

  • +
  • Felix Fontein (@felixfontein)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/openssl_csr_pipe_module.html b/tag/2.18.0/openssl_csr_pipe_module.html new file mode 100644 index 000000000..efd459b1f --- /dev/null +++ b/tag/2.18.0/openssl_csr_pipe_module.html @@ -0,0 +1,909 @@ + + + + + + + + community.crypto.openssl_csr_pipe module – Generate OpenSSL Certificate Signing Request (CSR) — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.openssl_csr_pipe module – Generate OpenSSL Certificate Signing Request (CSR)

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.openssl_csr_pipe.

+
+

New in community.crypto 1.3.0

+ +
+

Synopsis

+
    +
  • Please note that the module regenerates an existing CSR if it does not match the module’s options, or if it seems to be corrupt.

  • +
  • This module allows one to (re)generate OpenSSL certificate signing requests.

  • +
  • This module supports the subjectAltName, keyUsage, extendedKeyUsage, basicConstraints and OCSP Must Staple extensions.

  • +
+
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+
    +
  • cryptography >= 1.3

  • +
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

Comments

+

authority_cert_issuer

+

list / elements=string

+

Names that will be present in the authority cert issuer field of the certificate signing request.

+

Values must be prefixed by their options. (That is, email, URI, DNS, RID, IP, dirName, otherName, and the ones specific to your CA)

+

Example: DNS:ca.example.org

+

If specified, authority_cert_serial_number must also be specified.

+

Please note that commercial CAs ignore this value, respectively use a value of their own choice. Specifying this option is mostly useful for self-signed certificates or for own CAs.

+

Note that this is only supported if the cryptography backend is used!

+

The AuthorityKeyIdentifier extension will only be added if at least one of authority_key_identifier, authority_cert_issuer and authority_cert_serial_number is specified.

+
+

authority_cert_serial_number

+

integer

+

The authority cert serial number.

+

If specified, authority_cert_issuer must also be specified.

+

Note that this is only supported if the cryptography backend is used!

+

Please note that commercial CAs ignore this value, respectively use a value of their own choice. Specifying this option is mostly useful for self-signed certificates or for own CAs.

+

The AuthorityKeyIdentifier extension will only be added if at least one of authority_key_identifier, authority_cert_issuer and authority_cert_serial_number is specified.

+

This option accepts an integer. If you want to provide serial numbers as colon-separated hex strings, such as 11:22:33, you need to convert them to an integer with community.crypto.parse_serial.

+
+

authority_key_identifier

+

string

+

The authority key identifier as a hex string, where two bytes are separated by colons.

+

Example: 00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff:00:11:22:33

+

Please note that commercial CAs ignore this value, respectively use a value of their own choice. Specifying this option is mostly useful for self-signed certificates or for own CAs.

+

Note that this is only supported if the cryptography backend is used!

+

The AuthorityKeyIdentifier extension will only be added if at least one of authority_key_identifier, authority_cert_issuer and authority_cert_serial_number is specified.

+
+
+

basic_constraints

+

aliases: basicConstraints

+

list / elements=string

+

Indicates basic constraints, such as if the certificate is a CA.

+
+
+

basic_constraints_critical

+

aliases: basicConstraints_critical

+

boolean

+

Should the basicConstraints extension be considered as critical.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+
+
+

common_name

+

aliases: CN, commonName

+

string

+

The commonName field of the certificate signing request subject.

+
+

content

+

string

+

The existing CSR.

+
+
+
+

country_name

+

aliases: C, countryName

+

string

+

The countryName field of the certificate signing request subject.

+
+

create_subject_key_identifier

+

boolean

+

Create the Subject Key Identifier from the public key.

+

Please note that commercial CAs can ignore the value, respectively use a value of their own choice instead. Specifying this option is mostly useful for self-signed certificates or for own CAs.

+

Note that this is only supported if the cryptography backend is used!

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

crl_distribution_points

+

list / elements=dictionary

+

added in community.crypto 1.4.0

+

Allows to specify one or multiple CRL distribution points.

+

Only supported by the cryptography backend.

+
+

crl_issuer

+

list / elements=string

+

Information about the issuer of the CRL.

+
+

full_name

+

list / elements=string

+

Describes how the CRL can be retrieved.

+

Mutually exclusive with crl_distribution_points[].relative_name.

+

Example: URI:https://ca.example.com/revocations.crl.

+
+

reasons

+

list / elements=string

+

List of reasons that this distribution point can be used for when performing revocation checks.

+

Choices:

+
    +
  • "key_compromise"

  • +
  • "ca_compromise"

  • +
  • "affiliation_changed"

  • +
  • "superseded"

  • +
  • "cessation_of_operation"

  • +
  • "certificate_hold"

  • +
  • "privilege_withdrawn"

  • +
  • "aa_compromise"

  • +
+
+

relative_name

+

list / elements=string

+

Describes how the CRL can be retrieved relative to the CRL issuer.

+

Mutually exclusive with crl_distribution_points[].full_name.

+

Example: /CN=example.com.

+

Can only be used when cryptography >= 1.6 is installed.

+
+

digest

+

string

+

The digest used when signing the certificate signing request with the private key.

+

Default: "sha256"

+
+
+
+

email_address

+

aliases: E, emailAddress

+

string

+

The emailAddress field of the certificate signing request subject.

+
+
+
+

extended_key_usage

+

aliases: extKeyUsage, extendedKeyUsage

+

list / elements=string

+

Additional restrictions (for example client authentication, server authentication) on the allowed purposes for which the public key may be used.

+
+
+
+

extended_key_usage_critical

+

aliases: extKeyUsage_critical, extendedKeyUsage_critical

+

boolean

+

Should the extkeyUsage extension be considered as critical.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+
+

key_usage

+

aliases: keyUsage

+

list / elements=string

+

This defines the purpose (for example encipherment, signature, certificate signing) of the key contained in the certificate.

+
+
+

key_usage_critical

+

aliases: keyUsage_critical

+

boolean

+

Should the keyUsage extension be considered as critical.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+
+
+

locality_name

+

aliases: L, localityName

+

string

+

The localityName field of the certificate signing request subject.

+
+

name_constraints_critical

+

boolean

+

Should the Name Constraints extension be considered as critical.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

name_constraints_excluded

+

list / elements=string

+

For CA certificates, this specifies a list of identifiers which describe subtrees of names that this CA is not allowed to issue certificates for.

+

Values must be prefixed by their options. (That is, email, URI, DNS, RID, IP, dirName, otherName, and the ones specific to your CA).

+
+

name_constraints_permitted

+

list / elements=string

+

For CA certificates, this specifies a list of identifiers which describe subtrees of names that this CA is allowed to issue certificates for.

+

Values must be prefixed by their options. (That is, email, URI, DNS, RID, IP, dirName, otherName, and the ones specific to your CA).

+
+
+

ocsp_must_staple

+

aliases: ocspMustStaple

+

boolean

+

Indicates that the certificate should contain the OCSP Must Staple extension (https://tools.ietf.org/html/rfc7633).

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+
+

ocsp_must_staple_critical

+

aliases: ocspMustStaple_critical

+

boolean

+

Should the OCSP Must Staple extension be considered as critical.

+

Note that according to the RFC, this extension should not be marked as critical, as old clients not knowing about OCSP Must Staple are required to reject such certificates (see https://tools.ietf.org/html/rfc7633#section-4).

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+
+
+

organization_name

+

aliases: O, organizationName

+

string

+

The organizationName field of the certificate signing request subject.

+
+
+
+

organizational_unit_name

+

aliases: OU, organizationalUnitName

+

string

+

The organizationalUnitName field of the certificate signing request subject.

+
+

privatekey_content

+

string

+

The content of the private key to use when signing the certificate signing request.

+

Either privatekey_path or privatekey_content must be specified, but not both.

+
+

privatekey_passphrase

+

string

+

The passphrase for the private key.

+

This is required if the private key is password protected.

+
+

privatekey_path

+

path

+

The path to the private key to use when signing the certificate signing request.

+

Either privatekey_path or privatekey_content must be specified, but not both.

+
+

select_crypto_backend

+

string

+

Determines which crypto backend to use.

+

The default choice is auto, which tries to use cryptography if available.

+

If set to cryptography, will try to use the cryptography library.

+

Choices:

+
    +
  • "auto" ← (default)

  • +
  • "cryptography"

  • +
+
+
+
+

state_or_province_name

+

aliases: ST, stateOrProvinceName

+

string

+

The stateOrProvinceName field of the certificate signing request subject.

+
+

subject

+

dictionary

+

Key/value pairs that will be present in the subject name field of the certificate signing request.

+

If you need to specify more than one value with the same key, use a list as value.

+

If the order of the components is important, use subject_ordered.

+

Mutually exclusive with subject_ordered.

+
+
+

subject_alt_name

+

aliases: subjectAltName

+

list / elements=string

+

Subject Alternative Name (SAN) extension to attach to the certificate signing request.

+

Values must be prefixed by their options. (These are email, URI, DNS, RID, IP, dirName, otherName, and the ones specific to your CA).

+

Note that if no SAN is specified, but a common name, the common name will be added as a SAN except if use_common_name_for_san is set to false.

+

More at https://tools.ietf.org/html/rfc5280#section-4.2.1.6.

+
+
+

subject_alt_name_critical

+

aliases: subjectAltName_critical

+

boolean

+

Should the subjectAltName extension be considered as critical.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

subject_key_identifier

+

string

+

The subject key identifier as a hex string, where two bytes are separated by colons.

+

Example: 00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff:00:11:22:33

+

Please note that commercial CAs ignore this value, respectively use a value of their own choice. Specifying this option is mostly useful for self-signed certificates or for own CAs.

+

Note that this option can only be used if create_subject_key_identifier is false.

+

Note that this is only supported if the cryptography backend is used!

+
+

subject_ordered

+

list / elements=dictionary

+

added in community.crypto 2.0.0

+

A list of dictionaries, where every dictionary must contain one key/value pair. This key/value pair will be present in the subject name field of the certificate signing request.

+

If you want to specify more than one value with the same key in a row, you can use a list as value.

+

Mutually exclusive with subject, and any other subject field option, such as country_name, state_or_province_name, locality_name, organization_name, organizational_unit_name, common_name, or email_address.

+
+
+

use_common_name_for_san

+

aliases: useCommonNameForSAN

+

boolean

+

If set to true, the module will fill the common name in for subject_alt_name with DNS: prefix if no SAN is specified.

+

Choices:

+
    +
  • false

  • +
  • true ← (default)

  • +
+
+

version

+

integer

+

The version of the certificate signing request.

+

The only allowed value according to RFC 2986 is 1.

+

This option no longer accepts unsupported values since community.crypto 2.0.0.

+

Choices:

+
    +
  • 1 ← (default)

  • +
+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

check_mode

+

Support: full

+

Currently in check mode, private keys will not be (re-)generated, only the changed status is set. This will change in community.crypto 3.0.0.

+

From community.crypto 3.0.0 on, the module will ignore check mode and always behave as if check mode is not active. If you think this breaks your use-case of this module, please create an issue in the community.crypto repository.

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: full

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+
+
+

Notes

+
+

Note

+
    +
  • If the certificate signing request already exists it will be checked whether subjectAltName, keyUsage, extendedKeyUsage and basicConstraints only contain the requested values, whether OCSP Must Staple is as requested, and if the request was signed by the given private key.

  • +
+
+
+
+

See Also

+
+

See also

+
+
community.crypto.openssl_csr

Generate OpenSSL Certificate Signing Request (CSR).

+
+
community.crypto.x509_certificate

Generate and/or check OpenSSL certificates.

+
+
community.crypto.x509_certificate_pipe

Generate and/or check OpenSSL certificates.

+
+
community.crypto.openssl_dhparam

Generate OpenSSL Diffie-Hellman Parameters.

+
+
community.crypto.openssl_pkcs12

Generate OpenSSL PKCS#12 archive.

+
+
community.crypto.openssl_privatekey

Generate OpenSSL private keys.

+
+
community.crypto.openssl_privatekey_pipe

Generate OpenSSL private keys without disk access.

+
+
community.crypto.openssl_publickey

Generate an OpenSSL public key from its private key.

+
+
community.crypto.openssl_csr_info

Provide information of OpenSSL Certificate Signing Requests (CSR).

+
+
community.crypto.parse_serial filter plugin

Convert a serial number as a colon-separated list of hex numbers to an integer.

+
+
+
+
+
+

Examples

+
- name: Generate an OpenSSL Certificate Signing Request
+  community.crypto.openssl_csr_pipe:
+    privatekey_path: /etc/ssl/private/ansible.com.pem
+    common_name: www.ansible.com
+  register: result
+- name: Print CSR
+  ansible.builtin.debug:
+    var: result.csr
+
+- name: Generate an OpenSSL Certificate Signing Request with an inline CSR
+  community.crypto.openssl_csr:
+    content: "{{ lookup('ansible.builtin.file', '/etc/ssl/csr/www.ansible.com.csr') }}"
+    privatekey_content: "{{ private_key_content }}"
+    common_name: www.ansible.com
+  register: result
+- name: Store CSR
+  ansible.builtin.copy:
+    dest: /etc/ssl/csr/www.ansible.com.csr
+    content: "{{ result.csr }}"
+  when: result is changed
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Key

Description

+

basicConstraints

+

list / elements=string

+

Indicates if the certificate belongs to a CA

+

Returned: changed or success

+

Sample: ["CA:TRUE", "pathLenConstraint:0"]

+
+

csr

+

string

+

The (current or generated) CSR’s content.

+

Returned: changed or success

+
+

extendedKeyUsage

+

list / elements=string

+

Additional restriction on the public key purposes

+

Returned: changed or success

+

Sample: ["clientAuth"]

+
+

keyUsage

+

list / elements=string

+

Purpose for which the public key may be used

+

Returned: changed or success

+

Sample: ["digitalSignature", "keyAgreement"]

+
+

name_constraints_excluded

+

list / elements=string

+

List of excluded subtrees the CA cannot sign certificates for.

+

Returned: changed or success

+

Sample: ["email:.com"]

+
+

name_constraints_permitted

+

list / elements=string

+

List of permitted subtrees to sign certificates for.

+

Returned: changed or success

+

Sample: ["email:.somedomain.com"]

+
+

ocsp_must_staple

+

boolean

+

Indicates whether the certificate has the OCSP Must Staple feature enabled

+

Returned: changed or success

+

Sample: false

+
+

privatekey

+

string

+

Path to the TLS/SSL private key the CSR was generated for

+

Will be none if the private key has been provided in privatekey_content.

+

Returned: changed or success

+

Sample: "/etc/ssl/private/ansible.com.pem"

+
+

subject

+

list / elements=list

+

A list of the subject tuples attached to the CSR

+

Returned: changed or success

+

Sample: [["CN", "www.ansible.com"], ["O", "Ansible"]]

+
+

subjectAltName

+

list / elements=string

+

The alternative names this CSR is valid for

+

Returned: changed or success

+

Sample: ["DNS:www.ansible.com", "DNS:m.ansible.com"]

+
+
+

Authors

+
    +
  • Yanis Guenane (@Spredzy)

  • +
  • Felix Fontein (@felixfontein)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/openssl_dhparam_module.html b/tag/2.18.0/openssl_dhparam_module.html new file mode 100644 index 000000000..75b874f90 --- /dev/null +++ b/tag/2.18.0/openssl_dhparam_module.html @@ -0,0 +1,567 @@ + + + + + + + + community.crypto.openssl_dhparam module – Generate OpenSSL Diffie-Hellman Parameters — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.openssl_dhparam module – Generate OpenSSL Diffie-Hellman Parameters

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.openssl_dhparam.

+
+ +
+

Synopsis

+
    +
  • This module allows one to (re)generate OpenSSL DH-params.

  • +
  • This module uses file common arguments to specify generated file permissions.

  • +
  • Please note that the module regenerates existing DH params if they do not match the module’s options. If you are concerned that this could overwrite your existing DH params, consider using the backup option.

  • +
  • The module can use the cryptography Python library, or the openssl executable. By default, it tries to detect which one is available. This can be overridden with the select_crypto_backend option.

  • +
+
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+
    +
  • Either cryptography >= 2.0

  • +
  • Or OpenSSL binary openssl

  • +
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

Comments

+
+

attributes

+

aliases: attr

+

string

+

The attributes the resulting filesystem object should have.

+

To get supported flags look at the man page for chattr on the target system.

+

This string should contain the attributes in the same order as the one displayed by lsattr.

+

The = operator is assumed as default, otherwise + or - operators need to be included in the string.

+
+

backup

+

boolean

+

Create a backup file including a timestamp so you can get the original DH params back if you overwrote them with new ones by accident.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

force

+

boolean

+

Should the parameters be regenerated even it it already exists.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

group

+

string

+

Name of the group that should own the filesystem object, as would be fed to chown.

+

When left unspecified, it uses the current group of the current user unless you are root, in which case it can preserve the previous ownership.

+
+

mode

+

any

+

The permissions the resulting filesystem object should have.

+

For those used to /usr/bin/chmod remember that modes are actually octal numbers. You must give Ansible enough information to parse them correctly. For consistent results, quote octal numbers (for example, '644' or '1777') so Ansible receives a string and can do its own conversion from string into number. Adding a leading zero (for example, 0755) works sometimes, but can fail in loops and some other circumstances.

+

Giving Ansible a number without following either of these rules will end up with a decimal number which will have unexpected results.

+

As of Ansible 1.8, the mode may be specified as a symbolic mode (for example, u+rwx or u=rw,g=r,o=r).

+

If mode is not specified and the destination filesystem object does not exist, the default umask on the system will be used when setting the mode for the newly created filesystem object.

+

If mode is not specified and the destination filesystem object does exist, the mode of the existing filesystem object will be used.

+

Specifying mode is the best way to ensure filesystem objects are created with the correct permissions. See CVE-2020-1736 for further details.

+
+

owner

+

string

+

Name of the user that should own the filesystem object, as would be fed to chown.

+

When left unspecified, it uses the current user unless you are root, in which case it can preserve the previous ownership.

+

Specifying a numeric username will be assumed to be a user ID and not a username. Avoid numeric usernames to avoid this confusion.

+
+

path

+

path / required

+

Name of the file in which the generated parameters will be saved.

+
+

return_content

+

boolean

+

added in community.crypto 1.0.0

+

If set to true, will return the (current or generated) DH parameter’s content as dhparams.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

select_crypto_backend

+

string

+

added in community.crypto 1.0.0

+

Determines which crypto backend to use.

+

The default choice is auto, which tries to use cryptography if available, and falls back to openssl.

+

If set to openssl, will try to use the OpenSSL openssl executable.

+

If set to cryptography, will try to use the cryptography library.

+

Choices:

+
    +
  • "auto" ← (default)

  • +
  • "cryptography"

  • +
  • "openssl"

  • +
+
+

selevel

+

string

+

The level part of the SELinux filesystem object context.

+

This is the MLS/MCS attribute, sometimes known as the range.

+

When set to _default, it will use the level portion of the policy if available.

+
+

serole

+

string

+

The role part of the SELinux filesystem object context.

+

When set to _default, it will use the role portion of the policy if available.

+
+

setype

+

string

+

The type part of the SELinux filesystem object context.

+

When set to _default, it will use the type portion of the policy if available.

+
+

seuser

+

string

+

The user part of the SELinux filesystem object context.

+

By default it uses the system policy, where applicable.

+

When set to _default, it will use the user portion of the policy if available.

+
+

size

+

integer

+

Size (in bits) of the generated DH-params.

+

Default: 4096

+
+

state

+

string

+

Whether the parameters should exist or not, taking action if the state is different from what is stated.

+

Choices:

+
    +
  • "absent"

  • +
  • "present" ← (default)

  • +
+
+

unsafe_writes

+

boolean

+

Influence when to use atomic operation to prevent data corruption or inconsistent reads from the target filesystem object.

+

By default this module uses atomic operations to prevent data corruption or inconsistent reads from the target filesystem objects, but sometimes systems are configured or just broken in ways that prevent this. One example is docker mounted filesystem objects, which cannot be updated atomically from inside the container and can only be written in an unsafe manner.

+

This option allows Ansible to fall back to unsafe methods of updating filesystem objects when atomic operations fail (however, it doesn’t force Ansible to perform unsafe writes).

+

IMPORTANT! Unsafe writes are subject to race conditions and can lead to data corruption.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

check_mode

+

Support: full

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: none

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+

safe_file_operations

+

Support: full

+

Uses Ansible’s strict file operation functions to ensure proper permissions and avoid data corruption.

+
+
+
+

See Also

+
+

See also

+
+
community.crypto.x509_certificate

Generate and/or check OpenSSL certificates.

+
+
community.crypto.openssl_csr

Generate OpenSSL Certificate Signing Request (CSR).

+
+
community.crypto.openssl_pkcs12

Generate OpenSSL PKCS#12 archive.

+
+
community.crypto.openssl_privatekey

Generate OpenSSL private keys.

+
+
community.crypto.openssl_publickey

Generate an OpenSSL public key from its private key.

+
+
+
+
+
+

Examples

+
- name: Generate Diffie-Hellman parameters with the default size (4096 bits)
+  community.crypto.openssl_dhparam:
+    path: /etc/ssl/dhparams.pem
+
+- name: Generate DH Parameters with a different size (2048 bits)
+  community.crypto.openssl_dhparam:
+    path: /etc/ssl/dhparams.pem
+    size: 2048
+
+- name: Force regenerate an DH parameters if they already exist
+  community.crypto.openssl_dhparam:
+    path: /etc/ssl/dhparams.pem
+    force: true
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + + + + + + + + + + +

Key

Description

+

backup_file

+

string

+

Name of backup file created.

+

Returned: changed and if backup is true

+

Sample: "/path/to/dhparams.pem.2019-03-09@11:22~"

+
+

dhparams

+

string

+

added in community.crypto 1.0.0

+

The (current or generated) DH params’ content.

+

Returned: if state is present and return_content is true

+
+

filename

+

string

+

Path to the generated Diffie-Hellman parameters.

+

Returned: changed or success

+

Sample: "/etc/ssl/dhparams.pem"

+
+

size

+

integer

+

Size (in bits) of the Diffie-Hellman parameters.

+

Returned: changed or success

+

Sample: 4096

+
+
+

Authors

+
    +
  • Thom Wiggers (@thomwiggers)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/openssl_pkcs12_module.html b/tag/2.18.0/openssl_pkcs12_module.html new file mode 100644 index 000000000..0996debc3 --- /dev/null +++ b/tag/2.18.0/openssl_pkcs12_module.html @@ -0,0 +1,735 @@ + + + + + + + + community.crypto.openssl_pkcs12 module – Generate OpenSSL PKCS#12 archive — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.openssl_pkcs12 module – Generate OpenSSL PKCS#12 archive

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.openssl_pkcs12.

+
+ +
+

Synopsis

+
    +
  • This module allows one to (re-)generate PKCS#12.

  • +
  • The module can use the cryptography Python library, or the pyOpenSSL Python library. By default, it tries to detect which one is available, assuming none of the iter_size and maciter_size options are used. This can be overridden with the select_crypto_backend option.

  • +
+
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+
    +
  • PyOpenSSL >= 0.15, < 23.3.0 or cryptography >= 3.0

  • +
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

Comments

+

action

+

string

+

export or parse a PKCS#12.

+

Choices:

+
    +
  • "export" ← (default)

  • +
  • "parse"

  • +
+
+
+

attributes

+

aliases: attr

+

string

+

The attributes the resulting filesystem object should have.

+

To get supported flags look at the man page for chattr on the target system.

+

This string should contain the attributes in the same order as the one displayed by lsattr.

+

The = operator is assumed as default, otherwise + or - operators need to be included in the string.

+
+

backup

+

boolean

+

Create a backup file including a timestamp so you can get the original output file back if you overwrote it with a new one by accident.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

certificate_path

+

path

+

The path to read certificates and private keys from.

+

Must be in PEM format.

+
+

encryption_level

+

string

+

added in community.crypto 2.8.0

+

Determines the encryption level used.

+

auto uses the default of the selected backend. For cryptography, this is what the cryptography library’s specific version considers the best available encryption.

+

compatibility2022 uses compatibility settings for older software in 2022. This is only supported by the cryptography backend if cryptography >= 38.0.0 is available.

+

Note that this option is not used for idempotency.

+

Choices:

+
    +
  • "auto" ← (default)

  • +
  • "compatibility2022"

  • +
+
+

force

+

boolean

+

Should the file be regenerated even if it already exists.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+
+

friendly_name

+

aliases: name

+

string

+

Specifies the friendly name for the certificate and private key.

+
+

group

+

string

+

Name of the group that should own the filesystem object, as would be fed to chown.

+

When left unspecified, it uses the current group of the current user unless you are root, in which case it can preserve the previous ownership.

+
+

iter_size

+

integer

+

Number of times to repeat the encryption step.

+

This is not considered during idempotency checks.

+

This is only used by the pyopenssl backend, or when encryption_level=compatibility2022.

+

When using it, the default is 2048 for pyopenssl and 50000 for cryptography.

+
+

maciter_size

+

integer

+

Number of times to repeat the MAC step.

+

This is not considered during idempotency checks.

+

This is only used by the pyopenssl backend. When using it, the default is 1.

+
+

mode

+

any

+

The permissions the resulting filesystem object should have.

+

For those used to /usr/bin/chmod remember that modes are actually octal numbers. You must give Ansible enough information to parse them correctly. For consistent results, quote octal numbers (for example, '644' or '1777') so Ansible receives a string and can do its own conversion from string into number. Adding a leading zero (for example, 0755) works sometimes, but can fail in loops and some other circumstances.

+

Giving Ansible a number without following either of these rules will end up with a decimal number which will have unexpected results.

+

As of Ansible 1.8, the mode may be specified as a symbolic mode (for example, u+rwx or u=rw,g=r,o=r).

+

If mode is not specified and the destination filesystem object does not exist, the default umask on the system will be used when setting the mode for the newly created filesystem object.

+

If mode is not specified and the destination filesystem object does exist, the mode of the existing filesystem object will be used.

+

Specifying mode is the best way to ensure filesystem objects are created with the correct permissions. See CVE-2020-1736 for further details.

+
+
+

other_certificates

+

aliases: ca_certificates

+

list / elements=path

+

List of other certificates to include. Pre Ansible 2.8 this parameter was called ca_certificates.

+

Assumes there is one PEM-encoded certificate per file. If a file contains multiple PEM certificates, set other_certificates_parse_all to true.

+
+

other_certificates_parse_all

+

boolean

+

added in community.crypto 1.4.0

+

If set to true, assumes that the files mentioned in other_certificates can contain more than one certificate per file (or even none per file).

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

owner

+

string

+

Name of the user that should own the filesystem object, as would be fed to chown.

+

When left unspecified, it uses the current user unless you are root, in which case it can preserve the previous ownership.

+

Specifying a numeric username will be assumed to be a user ID and not a username. Avoid numeric usernames to avoid this confusion.

+
+

passphrase

+

string

+

The PKCS#12 password.

+

Note: PKCS12 encryption is not secure and should not be used as a security mechanism. If you need to store or send a PKCS12 file safely, you should additionally encrypt it with something else.

+
+

path

+

path / required

+

Filename to write the PKCS#12 file to.

+
+

privatekey_content

+

string

+

added in community.crypto 2.3.0

+

Content of the private key file.

+

Mutually exclusive with privatekey_path.

+
+

privatekey_passphrase

+

string

+

Passphrase source to decrypt any input private keys with.

+
+

privatekey_path

+

path

+

File to read private key from.

+

Mutually exclusive with privatekey_content.

+
+

return_content

+

boolean

+

added in community.crypto 1.0.0

+

If set to true, will return the (current or generated) PKCS#12’s content as pkcs12.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

select_crypto_backend

+

string

+

added in community.crypto 1.7.0

+

Determines which crypto backend to use.

+

The default choice is auto, which tries to use cryptography if available, and falls back to pyopenssl. If iter_size is used together with encryption_level is not compatibility2022, or if maciter_size is used, auto will always result in pyopenssl to be chosen for backwards compatibility.

+

If set to pyopenssl, will try to use the pyOpenSSL library.

+

If set to cryptography, will try to use the cryptography library.

+

Choices:

+
    +
  • "auto" ← (default)

  • +
  • "cryptography"

  • +
  • "pyopenssl"

  • +
+
+

selevel

+

string

+

The level part of the SELinux filesystem object context.

+

This is the MLS/MCS attribute, sometimes known as the range.

+

When set to _default, it will use the level portion of the policy if available.

+
+

serole

+

string

+

The role part of the SELinux filesystem object context.

+

When set to _default, it will use the role portion of the policy if available.

+
+

setype

+

string

+

The type part of the SELinux filesystem object context.

+

When set to _default, it will use the type portion of the policy if available.

+
+

seuser

+

string

+

The user part of the SELinux filesystem object context.

+

By default it uses the system policy, where applicable.

+

When set to _default, it will use the user portion of the policy if available.

+
+

src

+

path

+

PKCS#12 file path to parse.

+
+

state

+

string

+

Whether the file should exist or not. All parameters except path are ignored when state is absent.

+

Choices:

+
    +
  • "absent"

  • +
  • "present" ← (default)

  • +
+
+

unsafe_writes

+

boolean

+

Influence when to use atomic operation to prevent data corruption or inconsistent reads from the target filesystem object.

+

By default this module uses atomic operations to prevent data corruption or inconsistent reads from the target filesystem objects, but sometimes systems are configured or just broken in ways that prevent this. One example is docker mounted filesystem objects, which cannot be updated atomically from inside the container and can only be written in an unsafe manner.

+

This option allows Ansible to fall back to unsafe methods of updating filesystem objects when atomic operations fail (however, it doesn’t force Ansible to perform unsafe writes).

+

IMPORTANT! Unsafe writes are subject to race conditions and can lead to data corruption.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

check_mode

+

Support: full

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: none

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+

safe_file_operations

+

Support: full

+

Uses Ansible’s strict file operation functions to ensure proper permissions and avoid data corruption.

+
+
+
+

See Also

+
+

See also

+
+
community.crypto.x509_certificate

Generate and/or check OpenSSL certificates.

+
+
community.crypto.openssl_csr

Generate OpenSSL Certificate Signing Request (CSR).

+
+
community.crypto.openssl_dhparam

Generate OpenSSL Diffie-Hellman Parameters.

+
+
community.crypto.openssl_privatekey

Generate OpenSSL private keys.

+
+
community.crypto.openssl_publickey

Generate an OpenSSL public key from its private key.

+
+
+
+
+
+

Examples

+
- name: Generate PKCS#12 file
+  community.crypto.openssl_pkcs12:
+    action: export
+    path: /opt/certs/ansible.p12
+    friendly_name: raclette
+    privatekey_path: /opt/certs/keys/key.pem
+    certificate_path: /opt/certs/cert.pem
+    other_certificates: /opt/certs/ca.pem
+    # Note that if /opt/certs/ca.pem contains multiple certificates,
+    # only the first one will be used. See the other_certificates_parse_all
+    # option for changing this behavior.
+    state: present
+
+- name: Generate PKCS#12 file
+  community.crypto.openssl_pkcs12:
+    action: export
+    path: /opt/certs/ansible.p12
+    friendly_name: raclette
+    privatekey_content: '{{ private_key_contents }}'
+    certificate_path: /opt/certs/cert.pem
+    other_certificates_parse_all: true
+    other_certificates:
+      - /opt/certs/ca_bundle.pem
+        # Since we set other_certificates_parse_all to true, all
+        # certificates in the CA bundle are included and not just
+        # the first one.
+      - /opt/certs/intermediate.pem
+        # In case this file has multiple certificates in it,
+        # all will be included as well.
+    state: present
+
+- name: Change PKCS#12 file permission
+  community.crypto.openssl_pkcs12:
+    action: export
+    path: /opt/certs/ansible.p12
+    friendly_name: raclette
+    privatekey_path: /opt/certs/keys/key.pem
+    certificate_path: /opt/certs/cert.pem
+    other_certificates: /opt/certs/ca.pem
+    state: present
+    mode: '0600'
+
+- name: Regen PKCS#12 file
+  community.crypto.openssl_pkcs12:
+    action: export
+    src: /opt/certs/ansible.p12
+    path: /opt/certs/ansible.p12
+    friendly_name: raclette
+    privatekey_path: /opt/certs/keys/key.pem
+    certificate_path: /opt/certs/cert.pem
+    other_certificates: /opt/certs/ca.pem
+    state: present
+    mode: '0600'
+    force: true
+
+- name: Dump/Parse PKCS#12 file
+  community.crypto.openssl_pkcs12:
+    action: parse
+    src: /opt/certs/ansible.p12
+    path: /opt/certs/ansible.pem
+    state: present
+
+- name: Remove PKCS#12 file
+  community.crypto.openssl_pkcs12:
+    path: /opt/certs/ansible.p12
+    state: absent
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + + + + + + + + + + +

Key

Description

+

backup_file

+

string

+

Name of backup file created.

+

Returned: changed and if backup is true

+

Sample: "/path/to/ansible.com.pem.2019-03-09@11:22~"

+
+

filename

+

string

+

Path to the generate PKCS#12 file.

+

Returned: changed or success

+

Sample: "/opt/certs/ansible.p12"

+
+

pkcs12

+

string

+

added in community.crypto 1.0.0

+

The (current or generated) PKCS#12’s content Base64 encoded.

+

Returned: if state is present and return_content is true

+
+

privatekey

+

string

+

Path to the TLS/SSL private key the public key was generated from.

+

Returned: changed or success

+

Sample: "/etc/ssl/private/ansible.com.pem"

+
+
+

Authors

+
    +
  • Guillaume Delpierre (@gdelpierre)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/openssl_privatekey_convert_module.html b/tag/2.18.0/openssl_privatekey_convert_module.html new file mode 100644 index 000000000..b07949902 --- /dev/null +++ b/tag/2.18.0/openssl_privatekey_convert_module.html @@ -0,0 +1,509 @@ + + + + + + + + community.crypto.openssl_privatekey_convert module – Convert OpenSSL private keys — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.openssl_privatekey_convert module – Convert OpenSSL private keys

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.openssl_privatekey_convert.

+
+

New in community.crypto 2.1.0

+ +
+

Synopsis

+
    +
  • This module allows one to convert OpenSSL private keys.

  • +
  • The default mode for the private key file will be 0600 if mode is not explicitly set.

  • +
+
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+
    +
  • cryptography >= 1.2.3 (older versions might work as well)

  • +
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

Comments

+
+

attributes

+

aliases: attr

+

string

+

The attributes the resulting filesystem object should have.

+

To get supported flags look at the man page for chattr on the target system.

+

This string should contain the attributes in the same order as the one displayed by lsattr.

+

The = operator is assumed as default, otherwise + or - operators need to be included in the string.

+
+

backup

+

boolean

+

Create a backup file including a timestamp so you can get the original private key back if you overwrote it with a new one by accident.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

dest_passphrase

+

string

+

The passphrase for the private key to store.

+
+

dest_path

+

path / required

+

Name of the file in which the generated TLS/SSL private key will be written. It will have 0600 mode if mode is not explicitly set.

+
+

format

+

string / required

+

Determines which format the destination private key should be written in.

+

Please note that not every key can be exported in any format, and that not every format supports encryption.

+

Choices:

+
    +
  • "pkcs1"

  • +
  • "pkcs8"

  • +
  • "raw"

  • +
+
+

group

+

string

+

Name of the group that should own the filesystem object, as would be fed to chown.

+

When left unspecified, it uses the current group of the current user unless you are root, in which case it can preserve the previous ownership.

+
+

mode

+

any

+

The permissions the resulting filesystem object should have.

+

For those used to /usr/bin/chmod remember that modes are actually octal numbers. You must give Ansible enough information to parse them correctly. For consistent results, quote octal numbers (for example, '644' or '1777') so Ansible receives a string and can do its own conversion from string into number. Adding a leading zero (for example, 0755) works sometimes, but can fail in loops and some other circumstances.

+

Giving Ansible a number without following either of these rules will end up with a decimal number which will have unexpected results.

+

As of Ansible 1.8, the mode may be specified as a symbolic mode (for example, u+rwx or u=rw,g=r,o=r).

+

If mode is not specified and the destination filesystem object does not exist, the default umask on the system will be used when setting the mode for the newly created filesystem object.

+

If mode is not specified and the destination filesystem object does exist, the mode of the existing filesystem object will be used.

+

Specifying mode is the best way to ensure filesystem objects are created with the correct permissions. See CVE-2020-1736 for further details.

+
+

owner

+

string

+

Name of the user that should own the filesystem object, as would be fed to chown.

+

When left unspecified, it uses the current user unless you are root, in which case it can preserve the previous ownership.

+

Specifying a numeric username will be assumed to be a user ID and not a username. Avoid numeric usernames to avoid this confusion.

+
+

selevel

+

string

+

The level part of the SELinux filesystem object context.

+

This is the MLS/MCS attribute, sometimes known as the range.

+

When set to _default, it will use the level portion of the policy if available.

+
+

serole

+

string

+

The role part of the SELinux filesystem object context.

+

When set to _default, it will use the role portion of the policy if available.

+
+

setype

+

string

+

The type part of the SELinux filesystem object context.

+

When set to _default, it will use the type portion of the policy if available.

+
+

seuser

+

string

+

The user part of the SELinux filesystem object context.

+

By default it uses the system policy, where applicable.

+

When set to _default, it will use the user portion of the policy if available.

+
+

src_content

+

string

+

The content of the file containing the OpenSSL private key to convert.

+

Exactly one of src_path or src_content must be specified.

+
+

src_passphrase

+

string

+

The passphrase for the private key to load.

+
+

src_path

+

path

+

Name of the file containing the OpenSSL private key to convert.

+

Exactly one of src_path or src_content must be specified.

+
+

unsafe_writes

+

boolean

+

Influence when to use atomic operation to prevent data corruption or inconsistent reads from the target filesystem object.

+

By default this module uses atomic operations to prevent data corruption or inconsistent reads from the target filesystem objects, but sometimes systems are configured or just broken in ways that prevent this. One example is docker mounted filesystem objects, which cannot be updated atomically from inside the container and can only be written in an unsafe manner.

+

This option allows Ansible to fall back to unsafe methods of updating filesystem objects when atomic operations fail (however, it doesn’t force Ansible to perform unsafe writes).

+

IMPORTANT! Unsafe writes are subject to race conditions and can lead to data corruption.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

check_mode

+

Support: full

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: none

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+

safe_file_operations

+

Support: full

+

Uses Ansible’s strict file operation functions to ensure proper permissions and avoid data corruption.

+
+
+
+

See Also

+
+

See also

+
+
community.crypto.openssl_privatekey

Generate OpenSSL private keys.

+
+
community.crypto.openssl_privatekey_pipe

Generate OpenSSL private keys without disk access.

+
+
community.crypto.openssl_publickey

Generate an OpenSSL public key from its private key.

+
+
+
+
+
+

Examples

+
- name: Convert private key to PKCS8 format with passphrase
+  community.crypto.openssl_privatekey_convert:
+    src_path: /etc/ssl/private/ansible.com.pem
+    dest_path: /etc/ssl/private/ansible.com.key
+    dest_passphrase: '{{ private_key_passphrase }}'
+    format: pkcs8
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + +

Key

Description

+

backup_file

+

string

+

Name of backup file created.

+

Returned: changed and if backup is true

+

Sample: "/path/to/privatekey.pem.2019-03-09@11:22~"

+
+
+

Authors

+
    +
  • Felix Fontein (@felixfontein)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/openssl_privatekey_info_filter.html b/tag/2.18.0/openssl_privatekey_info_filter.html new file mode 100644 index 000000000..f234aa8d0 --- /dev/null +++ b/tag/2.18.0/openssl_privatekey_info_filter.html @@ -0,0 +1,509 @@ + + + + + + + + community.crypto.openssl_privatekey_info filter – Retrieve information from OpenSSL private keys — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.openssl_privatekey_info filter – Retrieve information from OpenSSL private keys

+
+

Note

+

This filter plugin is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this filter plugin, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.openssl_privatekey_info.

+
+

New in community.crypto 2.10.0

+ +
+

Synopsis

+ +
+
+

Requirements

+

The below requirements are needed on the local controller node that executes this filter.

+ +
+
+

Input

+

This describes the input of the filter, the value before | community.crypto.openssl_privatekey_info.

+ + + + + + + + + + + +

Parameter

Comments

+

Input

+

string / required

+

The content of the OpenSSL private key.

+
+
+
+

Keyword parameters

+

This describes keyword parameters of the filter. These are the values key1=value1, key2=value2 and so on in the following +example: input | community.crypto.openssl_privatekey_info(key1=value1, key2=value2, ...)

+ + + + + + + + + + + + + + + + + +

Parameter

Comments

+

name_encoding

+

string

+

How to encode names (DNS names, URIs, email addresses) in return values.

+

ignore will use the encoding returned by the backend.

+

idna will convert all labels of domain names to IDNA encoding. IDNA2008 will be preferred, and IDNA2003 will be used if IDNA2008 encoding fails.

+

unicode will convert all labels of domain names to Unicode. IDNA2008 will be preferred, and IDNA2003 will be used if IDNA2008 decoding fails.

+

Note that idna and unicode require the idna Python library to be installed.

+

Choices:

+
    +
  • "ignore" ← (default)

  • +
  • "idna"

  • +
  • "unicode"

  • +
+
+

passphrase

+

string

+

The passphrase for the private key.

+
+

return_private_key_data

+

boolean

+

Whether to return private key data.

+

Only set this to true when you want private information about this key to be extracted.

+

WARNING: you have to make sure that private key data is not accidentally logged!

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+
+
+

See Also

+
+

See also

+
+
community.crypto.openssl_privatekey_info

Provide information for OpenSSL private keys.

+
+
+
+
+
+

Examples

+
- name: Show the Subject Alt Names of the CSR
+  ansible.builtin.debug:
+    msg: >-
+      {{
+        (
+          lookup('ansible.builtin.file', '/path/to/cert.csr')
+          | community.crypto.openssl_privatekey_info
+        ).subject_alt_name | join(', ')
+      }}
+
+
+
+
+

Return Value

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Key

Description

+

Return value

+

dictionary

+

Information on the certificate.

+

Returned: success

+
+

private_data

+

dictionary

+

Private key data. Depends on key type.

+

Returned: success and when return_private_key_data is set to true

+
+

public_data

+

dictionary

+

Public key data. Depends on key type.

+

Returned: success

+
+

curve

+

string

+

The curve’s name for ECC.

+

Returned: When _value.type=ECC

+
+

exponent

+

integer

+

The RSA key’s public exponent.

+

Returned: When _value.type=RSA

+
+

exponent_size

+

integer

+

The maximum number of bits of a private key. This is basically the bit size of the subgroup used.

+

Returned: When _value.type=ECC

+
+

g

+

integer

+

The g value for DSA.

+

This is the element spanning the subgroup of the multiplicative group of the prime field used.

+

Returned: When _value.type=DSA

+
+

modulus

+

integer

+

The RSA key’s modulus.

+

Returned: When _value.type=RSA

+
+

p

+

integer

+

The p value for DSA.

+

This is the prime modulus upon which arithmetic takes place.

+

Returned: When _value.type=DSA

+
+

q

+

integer

+

The q value for DSA.

+

This is a prime that divides p - 1, and at the same time the order of the subgroup of the multiplicative group of the prime field used.

+

Returned: When _value.type=DSA

+
+

size

+

integer

+

Bit size of modulus (RSA) or prime number (DSA).

+

Returned: When _value.type=RSA or _value.type=DSA

+
+

x

+

integer

+

The x coordinate for the public point on the elliptic curve.

+

Returned: When _value.type=ECC

+
+

y

+

integer

+

For _value.type=ECC, this is the y coordinate for the public point on the elliptic curve.

+

For _value.type=DSA, this is the publicly known group element whose discrete logarithm with respect to g is the private key.

+

Returned: When _value.type=DSA or _value.type=ECC

+
+

public_key

+

string

+

Private key’s public key in PEM format.

+

Returned: success

+

Sample: "-----BEGIN PUBLIC KEY----- MIICIjANBgkqhkiG9w0BAQEFAAOCAg8A..."

+
+

public_key_fingerprints

+

dictionary

+

Fingerprints of private key’s public key.

+

For every hash algorithm available, the fingerprint is computed.

+

Returned: success

+

Sample: "{'sha256': 'd4:b3:aa:6d:c8:04:ce:4e:ba:f6:29:4d:92:a3:94:b0:c2:ff:bd:bf:33:63:11:43:34:0f:51:b0:95:09:2f:63', 'sha512': 'f7:07:4a:f0:b0:f0:e6:8b:95:5f:f9:e6:61:0a:32:68:f1..."

+
+

type

+

string

+

The key’s type.

+

One of RSA, DSA, ECC, Ed25519, X25519, Ed448, or X448.

+

Will start with unknown if the key type cannot be determined.

+

Returned: success

+

Sample: "RSA"

+
+
+

Authors

+
    +
  • Felix Fontein (@felixfontein)

  • +
+
+

Hint

+

Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.

+
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/openssl_privatekey_info_module.html b/tag/2.18.0/openssl_privatekey_info_module.html new file mode 100644 index 000000000..bf54f3609 --- /dev/null +++ b/tag/2.18.0/openssl_privatekey_info_module.html @@ -0,0 +1,569 @@ + + + + + + + + community.crypto.openssl_privatekey_info module – Provide information for OpenSSL private keys — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.openssl_privatekey_info module – Provide information for OpenSSL private keys

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.openssl_privatekey_info.

+
+ +
+

Synopsis

+
    +
  • This module allows one to query information on OpenSSL private keys.

  • +
  • In case the key consistency checks fail, the module will fail as this indicates a faked private key. In this case, all return variables are still returned. Note that key consistency checks are not available all key types; if none is available, none is returned for key_is_consistent.

  • +
  • It uses the cryptography python library to interact with OpenSSL.

  • +
+
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+
    +
  • cryptography >= 1.2.3

  • +
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

Comments

+

check_consistency

+

boolean

+

added in community.crypto 2.0.0

+

Whether to check consistency of the private key.

+

In community.crypto < 2.0.0, consistency was always checked.

+

Since community.crypto 2.0.0, the consistency check has been disabled by default to avoid private key material to be transported around and computed with, and only do so when requested explicitly. This can potentially prevent side-channel attacks.

+

Note that consistency checks only work for certain key types, and might depend on the version of the cryptography library. For example, with cryptography 42.0.0 and newer consistency of RSA keys can no longer be checked.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

content

+

string

+

added in community.crypto 1.0.0

+

Content of the private key file.

+

Either path or content must be specified, but not both.

+
+

passphrase

+

string

+

The passphrase for the private key.

+
+

path

+

path

+

Remote absolute path where the private key file is loaded from.

+
+

return_private_key_data

+

boolean

+

Whether to return private key data.

+

Only set this to true when you want private information about this key to leave the remote machine.

+

WARNING: you have to make sure that private key data is not accidentally logged!

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

select_crypto_backend

+

string

+

Determines which crypto backend to use.

+

The default choice is auto, which tries to use cryptography if available.

+

If set to cryptography, will try to use the cryptography library.

+

Choices:

+
    +
  • "auto" ← (default)

  • +
  • "cryptography"

  • +
+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

check_mode

+

Support: full

+

This action does not modify state.

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: N/A

+

This action does not modify state.

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+
+
+

See Also

+
+

See also

+
+
community.crypto.openssl_privatekey

Generate OpenSSL private keys.

+
+
community.crypto.openssl_privatekey_pipe

Generate OpenSSL private keys without disk access.

+
+
community.crypto.openssl_privatekey_info filter plugin

A filter variant of this module.

+
+
+
+
+
+

Examples

+
- name: Generate an OpenSSL private key with the default values (4096 bits, RSA)
+  community.crypto.openssl_privatekey:
+    path: /etc/ssl/private/ansible.com.pem
+
+- name: Get information on generated key
+  community.crypto.openssl_privatekey_info:
+    path: /etc/ssl/private/ansible.com.pem
+  register: result
+
+- name: Dump information
+  ansible.builtin.debug:
+    var: result
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Key

Description

+

can_load_key

+

boolean

+

Whether the module was able to load the private key from disk.

+

Returned: always

+
+

can_parse_key

+

boolean

+

Whether the module was able to parse the private key.

+

Returned: always

+
+

key_is_consistent

+

boolean

+

Whether the key is consistent. Can also return none next to true and false, to indicate that consistency could not be checked.

+

In case the check returns false, the module will fail.

+

Returned: when check_consistency=true

+
+

private_data

+

dictionary

+

Private key data. Depends on key type.

+

Returned: success and when return_private_key_data is set to true

+
+

public_data

+

dictionary

+

Public key data. Depends on key type.

+

Returned: success

+
+

curve

+

string

+

The curve’s name for ECC.

+

Returned: When type=ECC

+
+

exponent

+

integer

+

The RSA key’s public exponent.

+

Returned: When type=RSA

+
+

exponent_size

+

integer

+

The maximum number of bits of a private key. This is basically the bit size of the subgroup used.

+

Returned: When type=ECC

+
+

g

+

integer

+

The g value for DSA.

+

This is the element spanning the subgroup of the multiplicative group of the prime field used.

+

Returned: When type=DSA

+
+

modulus

+

integer

+

The RSA key’s modulus.

+

Returned: When type=RSA

+
+

p

+

integer

+

The p value for DSA.

+

This is the prime modulus upon which arithmetic takes place.

+

Returned: When type=DSA

+
+

q

+

integer

+

The q value for DSA.

+

This is a prime that divides p - 1, and at the same time the order of the subgroup of the multiplicative group of the prime field used.

+

Returned: When type=DSA

+
+

size

+

integer

+

Bit size of modulus (RSA) or prime number (DSA).

+

Returned: When type=RSA or type=DSA

+
+

x

+

integer

+

The x coordinate for the public point on the elliptic curve.

+

Returned: When type=ECC

+
+

y

+

integer

+

For type=ECC, this is the y coordinate for the public point on the elliptic curve.

+

For type=DSA, this is the publicly known group element whose discrete logarithm w.r.t. g is the private key.

+

Returned: When type=DSA or type=ECC

+
+

public_key

+

string

+

Private key’s public key in PEM format.

+

Returned: success

+

Sample: "-----BEGIN PUBLIC KEY-----\nMIICIjANBgkqhkiG9w0BAQEFAAOCAg8A..."

+
+

public_key_fingerprints

+

dictionary

+

Fingerprints of private key’s public key.

+

For every hash algorithm available, the fingerprint is computed.

+

Returned: success

+

Sample: "{'sha256': 'd4:b3:aa:6d:c8:04:ce:4e:ba:f6:29:4d:92:a3:94:b0:c2:ff:bd:bf:33:63:11:43:34:0f:51:b0:95:09:2f:63', 'sha512': 'f7:07:4a:f0:b0:f0:e6:8b:95:5f:f9:e6:61:0a:32:68:f1..."

+
+

type

+

string

+

The key’s type.

+

One of RSA, DSA, ECC, Ed25519, X25519, Ed448, or X448.

+

Will start with unknown if the key type cannot be determined.

+

Returned: success

+

Sample: "RSA"

+
+
+

Authors

+
    +
  • Felix Fontein (@felixfontein)

  • +
  • Yanis Guenane (@Spredzy)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/openssl_privatekey_module.html b/tag/2.18.0/openssl_privatekey_module.html new file mode 100644 index 000000000..457cb1193 --- /dev/null +++ b/tag/2.18.0/openssl_privatekey_module.html @@ -0,0 +1,741 @@ + + + + + + + + community.crypto.openssl_privatekey module – Generate OpenSSL private keys — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.openssl_privatekey module – Generate OpenSSL private keys

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.openssl_privatekey.

+
+ +
+

Synopsis

+
    +
  • Keys are generated in PEM format.

  • +
  • One can generate RSA, DSA, ECC or EdDSA private keys.

  • +
  • Please note that the module regenerates private keys if they do not match the module’s options. In particular, if you provide another passphrase (or specify none), change the keysize, etc., the private key will be regenerated. If you are concerned that this could overwrite your private key, consider using the backup option.

  • +
  • The default mode for the private key file will be 0600 if mode is not explicitly set.

  • +
  • This module allows one to (re)generate OpenSSL private keys.

  • +
+
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+
    +
  • cryptography >= 1.2.3 (older versions might work as well)

  • +
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

Comments

+
+

attributes

+

aliases: attr

+

string

+

The attributes the resulting filesystem object should have.

+

To get supported flags look at the man page for chattr on the target system.

+

This string should contain the attributes in the same order as the one displayed by lsattr.

+

The = operator is assumed as default, otherwise + or - operators need to be included in the string.

+
+

backup

+

boolean

+

Create a backup file including a timestamp so you can get the original private key back if you overwrote it with a new one by accident.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

cipher

+

string

+

The cipher to encrypt the private key. Must be auto.

+
+

curve

+

string

+

Note that not all curves are supported by all versions of cryptography.

+

For maximal interoperability, secp384r1 or secp256r1 should be used.

+

We use the curve names as defined in the IANA registry for TLS.

+

Please note that all curves except secp224r1, secp256k1, secp256r1, secp384r1, and secp521r1 are discouraged for new private keys.

+

Choices:

+
    +
  • "secp224r1"

  • +
  • "secp256k1"

  • +
  • "secp256r1"

  • +
  • "secp384r1"

  • +
  • "secp521r1"

  • +
  • "secp192r1"

  • +
  • "brainpoolP256r1"

  • +
  • "brainpoolP384r1"

  • +
  • "brainpoolP512r1"

  • +
  • "sect163k1"

  • +
  • "sect163r2"

  • +
  • "sect233k1"

  • +
  • "sect233r1"

  • +
  • "sect283k1"

  • +
  • "sect283r1"

  • +
  • "sect409k1"

  • +
  • "sect409r1"

  • +
  • "sect571k1"

  • +
  • "sect571r1"

  • +
+
+

force

+

boolean

+

Should the key be regenerated even if it already exists.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

format

+

string

+

added in community.crypto 1.0.0

+

Determines which format the private key is written in. By default, PKCS1 (traditional OpenSSL format) is used for all keys which support it. Please note that not every key can be exported in any format.

+

The value auto selects a format based on the key format. The value auto_ignore does the same, but for existing private key files, it will not force a regenerate when its format is not the automatically selected one for generation.

+

Note that if the format for an existing private key mismatches, the key is regenerated by default. To change this behavior, use the format_mismatch option.

+

Choices:

+
    +
  • "pkcs1"

  • +
  • "pkcs8"

  • +
  • "raw"

  • +
  • "auto"

  • +
  • "auto_ignore" ← (default)

  • +
+
+

format_mismatch

+

string

+

added in community.crypto 1.0.0

+

Determines behavior of the module if the format of a private key does not match the expected format, but all other parameters are as expected.

+

If set to regenerate (default), generates a new private key.

+

If set to convert, the key will be converted to the new format instead.

+

Only supported by the cryptography backend.

+

Choices:

+
    +
  • "regenerate" ← (default)

  • +
  • "convert"

  • +
+
+

group

+

string

+

Name of the group that should own the filesystem object, as would be fed to chown.

+

When left unspecified, it uses the current group of the current user unless you are root, in which case it can preserve the previous ownership.

+
+

mode

+

any

+

The permissions the resulting filesystem object should have.

+

For those used to /usr/bin/chmod remember that modes are actually octal numbers. You must give Ansible enough information to parse them correctly. For consistent results, quote octal numbers (for example, '644' or '1777') so Ansible receives a string and can do its own conversion from string into number. Adding a leading zero (for example, 0755) works sometimes, but can fail in loops and some other circumstances.

+

Giving Ansible a number without following either of these rules will end up with a decimal number which will have unexpected results.

+

As of Ansible 1.8, the mode may be specified as a symbolic mode (for example, u+rwx or u=rw,g=r,o=r).

+

If mode is not specified and the destination filesystem object does not exist, the default umask on the system will be used when setting the mode for the newly created filesystem object.

+

If mode is not specified and the destination filesystem object does exist, the mode of the existing filesystem object will be used.

+

Specifying mode is the best way to ensure filesystem objects are created with the correct permissions. See CVE-2020-1736 for further details.

+
+

owner

+

string

+

Name of the user that should own the filesystem object, as would be fed to chown.

+

When left unspecified, it uses the current user unless you are root, in which case it can preserve the previous ownership.

+

Specifying a numeric username will be assumed to be a user ID and not a username. Avoid numeric usernames to avoid this confusion.

+
+

passphrase

+

string

+

The passphrase for the private key.

+
+

path

+

path / required

+

Name of the file in which the generated TLS/SSL private key will be written. It will have 0600 mode if mode is not explicitly set.

+
+

regenerate

+

string

+

added in community.crypto 1.0.0

+

Allows to configure in which situations the module is allowed to regenerate private keys. The module will always generate a new key if the destination file does not exist.

+

By default, the key will be regenerated when it does not match the module’s options, except when the key cannot be read or the passphrase does not match. Please note that this changed for Ansible 2.10. For Ansible 2.9, the behavior was as if full_idempotence is specified.

+

If set to never, the module will fail if the key cannot be read or the passphrase is not matching, and will never regenerate an existing key.

+

If set to fail, the module will fail if the key does not correspond to the module’s options.

+

If set to partial_idempotence, the key will be regenerated if it does not conform to the module’s options. The key is not regenerated if it cannot be read (broken file), the key is protected by an unknown passphrase, or when they key is not protected by a passphrase, but a passphrase is specified.

+

If set to full_idempotence, the key will be regenerated if it does not conform to the module’s options. This is also the case if the key cannot be read (broken file), the key is protected by an unknown passphrase, or when they key is not protected by a passphrase, but a passphrase is specified. Make sure you have a backup when using this option!

+

If set to always, the module will always regenerate the key. This is equivalent to setting force to true.

+

Note that if format_mismatch is set to convert and everything matches except the format, the key will always be converted, except if regenerate is set to always.

+

Choices:

+
    +
  • "never"

  • +
  • "fail"

  • +
  • "partial_idempotence"

  • +
  • "full_idempotence" ← (default)

  • +
  • "always"

  • +
+
+

return_content

+

boolean

+

added in community.crypto 1.0.0

+

If set to true, will return the (current or generated) private key’s content as privatekey.

+

Note that especially if the private key is not encrypted, you have to make sure that the returned value is treated appropriately and not accidentally written to logs etc.! Use with care!

+

Use Ansible’s no_log task option to avoid the output being shown. See also https://docs.ansible.com/ansible/latest/reference_appendices/faq.html#how-do-i-keep-secret-data-in-my-playbook.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

select_crypto_backend

+

string

+

Determines which crypto backend to use.

+

The default choice is auto, which tries to use cryptography if available.

+

If set to cryptography, will try to use the cryptography library.

+

Choices:

+
    +
  • "auto" ← (default)

  • +
  • "cryptography"

  • +
+
+

selevel

+

string

+

The level part of the SELinux filesystem object context.

+

This is the MLS/MCS attribute, sometimes known as the range.

+

When set to _default, it will use the level portion of the policy if available.

+
+

serole

+

string

+

The role part of the SELinux filesystem object context.

+

When set to _default, it will use the role portion of the policy if available.

+
+

setype

+

string

+

The type part of the SELinux filesystem object context.

+

When set to _default, it will use the type portion of the policy if available.

+
+

seuser

+

string

+

The user part of the SELinux filesystem object context.

+

By default it uses the system policy, where applicable.

+

When set to _default, it will use the user portion of the policy if available.

+
+

size

+

integer

+

Size (in bits) of the TLS/SSL key to generate.

+

Default: 4096

+
+

state

+

string

+

Whether the private key should exist or not, taking action if the state is different from what is stated.

+

Choices:

+
    +
  • "absent"

  • +
  • "present" ← (default)

  • +
+
+

type

+

string

+

The algorithm used to generate the TLS/SSL private key.

+

Note that ECC, X25519, X448, Ed25519, and Ed448 require the cryptography backend. X25519 needs cryptography 2.5 or newer, while X448, Ed25519, and Ed448 require cryptography 2.6 or newer. For ECC, the minimal cryptography version required depends on the curve option.

+

Choices:

+
    +
  • "DSA"

  • +
  • "ECC"

  • +
  • "Ed25519"

  • +
  • "Ed448"

  • +
  • "RSA" ← (default)

  • +
  • "X25519"

  • +
  • "X448"

  • +
+
+

unsafe_writes

+

boolean

+

Influence when to use atomic operation to prevent data corruption or inconsistent reads from the target filesystem object.

+

By default this module uses atomic operations to prevent data corruption or inconsistent reads from the target filesystem objects, but sometimes systems are configured or just broken in ways that prevent this. One example is docker mounted filesystem objects, which cannot be updated atomically from inside the container and can only be written in an unsafe manner.

+

This option allows Ansible to fall back to unsafe methods of updating filesystem objects when atomic operations fail (however, it doesn’t force Ansible to perform unsafe writes).

+

IMPORTANT! Unsafe writes are subject to race conditions and can lead to data corruption.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

check_mode

+

Support: full

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: full

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+

safe_file_operations

+

Support: full

+

Uses Ansible’s strict file operation functions to ensure proper permissions and avoid data corruption.

+
+
+
+

See Also

+
+

See also

+
+
community.crypto.openssl_privatekey_pipe

Generate OpenSSL private keys without disk access.

+
+
community.crypto.openssl_privatekey_info

Provide information for OpenSSL private keys.

+
+
community.crypto.x509_certificate

Generate and/or check OpenSSL certificates.

+
+
community.crypto.x509_certificate_pipe

Generate and/or check OpenSSL certificates.

+
+
community.crypto.openssl_csr

Generate OpenSSL Certificate Signing Request (CSR).

+
+
community.crypto.openssl_csr_pipe

Generate OpenSSL Certificate Signing Request (CSR).

+
+
community.crypto.openssl_dhparam

Generate OpenSSL Diffie-Hellman Parameters.

+
+
community.crypto.openssl_pkcs12

Generate OpenSSL PKCS#12 archive.

+
+
community.crypto.openssl_publickey

Generate an OpenSSL public key from its private key.

+
+
+
+
+
+

Examples

+
- name: Generate an OpenSSL private key with the default values (4096 bits, RSA)
+  community.crypto.openssl_privatekey:
+    path: /etc/ssl/private/ansible.com.pem
+
+- name: Generate an OpenSSL private key with the default values (4096 bits, RSA) and a passphrase
+  community.crypto.openssl_privatekey:
+    path: /etc/ssl/private/ansible.com.pem
+    passphrase: ansible
+    cipher: auto
+
+- name: Generate an OpenSSL private key with a different size (2048 bits)
+  community.crypto.openssl_privatekey:
+    path: /etc/ssl/private/ansible.com.pem
+    size: 2048
+
+- name: Force regenerate an OpenSSL private key if it already exists
+  community.crypto.openssl_privatekey:
+    path: /etc/ssl/private/ansible.com.pem
+    force: true
+
+- name: Generate an OpenSSL private key with a different algorithm (DSA)
+  community.crypto.openssl_privatekey:
+    path: /etc/ssl/private/ansible.com.pem
+    type: DSA
+
+- name: Generate an OpenSSL private key with elliptic curve cryptography (ECC)
+  community.crypto.openssl_privatekey:
+    path: /etc/ssl/private/ansible.com.pem
+    type: ECC
+    curve: secp256r1
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Key

Description

+

backup_file

+

string

+

Name of backup file created.

+

Returned: changed and if backup is true

+

Sample: "/path/to/privatekey.pem.2019-03-09@11:22~"

+
+

curve

+

string

+

Elliptic curve used to generate the TLS/SSL private key.

+

Returned: changed or success, and type is ECC

+

Sample: "secp256r1"

+
+

filename

+

string

+

Path to the generated TLS/SSL private key file.

+

Returned: changed or success

+

Sample: "/etc/ssl/private/ansible.com.pem"

+
+

fingerprint

+

dictionary

+

The fingerprint of the public key. Fingerprint will be generated for each hashlib.algorithms available.

+

Returned: changed or success

+

Sample: {"md5": "84:75:71:72:8d:04:b5:6c:4d:37:6d:66:83:f5:4c:29", "sha1": "51:cc:7c:68:5d:eb:41:43:88:7e:1a:ae:c7:f8:24:72:ee:71:f6:10", "sha224": "b1:19:a6:6c:14:ac:33:1d:ed:18:50:d3:06:5c:b2:32:91:f1:f1:52:8c:cb:d5:75:e9:f5:9b:46", "sha256": "41:ab:c7:cb:d5:5f:30:60:46:99:ac:d4:00:70:cf:a1:76:4f:24:5d:10:24:57:5d:51:6e:09:97:df:2f:de:c7", "sha384": "85:39:50:4e:de:d9:19:33:40:70:ae:10:ab:59:24:19:51:c3:a2:e4:0b:1c:b1:6e:dd:b3:0c:d9:9e:6a:46:af:da:18:f8:ef:ae:2e:c0:9a:75:2c:9b:b3:0f:3a:5f:3d", "sha512": "fd:ed:5e:39:48:5f:9f:fe:7f:25:06:3f:79:08:cd:ee:a5:e7:b3:3d:13:82:87:1f:84:e1:f5:c7:28:77:53:94:86:56:38:69:f0:d9:35:22:01:1e:a6:60:...:0f:9b"}

+
+

privatekey

+

string

+

added in community.crypto 1.0.0

+

The (current or generated) private key’s content.

+

Will be Base64-encoded if the key is in raw format.

+

Returned: if state is present and return_content is true

+
+

size

+

integer

+

Size (in bits) of the TLS/SSL private key.

+

Returned: changed or success

+

Sample: 4096

+
+

type

+

string

+

Algorithm used to generate the TLS/SSL private key.

+

Returned: changed or success

+

Sample: "RSA"

+
+
+

Authors

+
    +
  • Yanis Guenane (@Spredzy)

  • +
  • Felix Fontein (@felixfontein)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/openssl_privatekey_pipe_module.html b/tag/2.18.0/openssl_privatekey_pipe_module.html new file mode 100644 index 000000000..9686500ae --- /dev/null +++ b/tag/2.18.0/openssl_privatekey_pipe_module.html @@ -0,0 +1,619 @@ + + + + + + + + community.crypto.openssl_privatekey_pipe module – Generate OpenSSL private keys without disk access — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.openssl_privatekey_pipe module – Generate OpenSSL private keys without disk access

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.openssl_privatekey_pipe.

+
+

New in community.crypto 1.3.0

+ +
+

Synopsis

+
    +
  • Keys are generated in PEM format.

  • +
  • Make sure to not write the result of this module into logs or to the console, as it contains private key data! Use the no_log task option to be sure.

  • +
  • Note that this module is implemented as an action plugin and will always be executed on the controller.

  • +
  • One can generate RSA, DSA, ECC or EdDSA private keys.

  • +
  • This allows to read and write keys to vaults without having to write intermediate versions to disk.

  • +
  • This module allows one to (re)generate OpenSSL private keys without disk access.

  • +
+
+

Note

+

This module has a corresponding action plugin.

+
+
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+
    +
  • cryptography >= 1.2.3 (older versions might work as well)

  • +
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

Comments

+

cipher

+

string

+

The cipher to encrypt the private key. Must be auto.

+
+

content

+

string

+

The current private key data.

+

Needed for idempotency. If not provided, the module will always return a change, and all idempotence-related options are ignored.

+
+

content_base64

+

boolean

+

Set to true if the content is base64 encoded.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

curve

+

string

+

Note that not all curves are supported by all versions of cryptography.

+

For maximal interoperability, secp384r1 or secp256r1 should be used.

+

We use the curve names as defined in the IANA registry for TLS.

+

Please note that all curves except secp224r1, secp256k1, secp256r1, secp384r1, and secp521r1 are discouraged for new private keys.

+

Choices:

+
    +
  • "secp224r1"

  • +
  • "secp256k1"

  • +
  • "secp256r1"

  • +
  • "secp384r1"

  • +
  • "secp521r1"

  • +
  • "secp192r1"

  • +
  • "brainpoolP256r1"

  • +
  • "brainpoolP384r1"

  • +
  • "brainpoolP512r1"

  • +
  • "sect163k1"

  • +
  • "sect163r2"

  • +
  • "sect233k1"

  • +
  • "sect233r1"

  • +
  • "sect283k1"

  • +
  • "sect283r1"

  • +
  • "sect409k1"

  • +
  • "sect409r1"

  • +
  • "sect571k1"

  • +
  • "sect571r1"

  • +
+
+

format

+

string

+

Determines which format the private key is written in. By default, PKCS1 (traditional OpenSSL format) is used for all keys which support it. Please note that not every key can be exported in any format.

+

The value auto selects a format based on the key format. The value auto_ignore does the same, but for existing private key files, it will not force a regenerate when its format is not the automatically selected one for generation.

+

Note that if the format for an existing private key mismatches, the key is regenerated by default. To change this behavior, use the format_mismatch option.

+

Choices:

+
    +
  • "pkcs1"

  • +
  • "pkcs8"

  • +
  • "raw"

  • +
  • "auto"

  • +
  • "auto_ignore" ← (default)

  • +
+
+

format_mismatch

+

string

+

Determines behavior of the module if the format of a private key does not match the expected format, but all other parameters are as expected.

+

If set to regenerate (default), generates a new private key.

+

If set to convert, the key will be converted to the new format instead.

+

Only supported by the cryptography backend.

+

Choices:

+
    +
  • "regenerate" ← (default)

  • +
  • "convert"

  • +
+
+

passphrase

+

string

+

The passphrase for the private key.

+
+

regenerate

+

string

+

Allows to configure in which situations the module is allowed to regenerate private keys. The module will always generate a new key if the destination file does not exist.

+

By default, the key will be regenerated when it does not match the module’s options, except when the key cannot be read or the passphrase does not match. Please note that this changed for Ansible 2.10. For Ansible 2.9, the behavior was as if full_idempotence is specified.

+

If set to never, the module will fail if the key cannot be read or the passphrase is not matching, and will never regenerate an existing key.

+

If set to fail, the module will fail if the key does not correspond to the module’s options.

+

If set to partial_idempotence, the key will be regenerated if it does not conform to the module’s options. The key is not regenerated if it cannot be read (broken file), the key is protected by an unknown passphrase, or when they key is not protected by a passphrase, but a passphrase is specified.

+

If set to full_idempotence, the key will be regenerated if it does not conform to the module’s options. This is also the case if the key cannot be read (broken file), the key is protected by an unknown passphrase, or when they key is not protected by a passphrase, but a passphrase is specified. Make sure you have a backup when using this option!

+

If set to always, the module will always regenerate the key.

+

Note that if format_mismatch is set to convert and everything matches except the format, the key will always be converted, except if regenerate is set to always.

+

Choices:

+
    +
  • "never"

  • +
  • "fail"

  • +
  • "partial_idempotence"

  • +
  • "full_idempotence" ← (default)

  • +
  • "always"

  • +
+
+

return_current_key

+

boolean

+

Set to true to return the current private key when the module did not generate a new one.

+

Note that in case of check mode, when this option is not set to true, the module always returns the current key (if it was provided) and Ansible will replace it by VALUE_SPECIFIED_IN_NO_LOG_PARAMETER.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

select_crypto_backend

+

string

+

Determines which crypto backend to use.

+

The default choice is auto, which tries to use cryptography if available.

+

If set to cryptography, will try to use the cryptography library.

+

Choices:

+
    +
  • "auto" ← (default)

  • +
  • "cryptography"

  • +
+
+

size

+

integer

+

Size (in bits) of the TLS/SSL key to generate.

+

Default: 4096

+
+

type

+

string

+

The algorithm used to generate the TLS/SSL private key.

+

Note that ECC, X25519, X448, Ed25519, and Ed448 require the cryptography backend. X25519 needs cryptography 2.5 or newer, while X448, Ed25519, and Ed448 require cryptography 2.6 or newer. For ECC, the minimal cryptography version required depends on the curve option.

+

Choices:

+
    +
  • "DSA"

  • +
  • "ECC"

  • +
  • "Ed25519"

  • +
  • "Ed448"

  • +
  • "RSA" ← (default)

  • +
  • "X25519"

  • +
  • "X448"

  • +
+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

action

+

Support: full

+

Indicates this has a corresponding action plugin so some parts of the options can be executed on the controller.

+
+

async

+

Support: none

+

This action runs completely on the controller.

+

Supports being used with the async keyword.

+
+

check_mode

+

Support: full

+

Currently in check mode, private keys will not be (re-)generated, only the changed status is set. This will change in community.crypto 3.0.0.

+

From community.crypto 3.0.0 on, the module will ignore check mode and always behave as if check mode is not active. If you think this breaks your use-case of this module, please create an issue in the community.crypto repository.

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: full

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+
+
+

See Also

+
+

See also

+
+
community.crypto.openssl_privatekey

Generate OpenSSL private keys.

+
+
community.crypto.openssl_privatekey_info

Provide information for OpenSSL private keys.

+
+
community.crypto.x509_certificate

Generate and/or check OpenSSL certificates.

+
+
community.crypto.x509_certificate_pipe

Generate and/or check OpenSSL certificates.

+
+
community.crypto.openssl_csr

Generate OpenSSL Certificate Signing Request (CSR).

+
+
community.crypto.openssl_csr_pipe

Generate OpenSSL Certificate Signing Request (CSR).

+
+
community.crypto.openssl_dhparam

Generate OpenSSL Diffie-Hellman Parameters.

+
+
community.crypto.openssl_pkcs12

Generate OpenSSL PKCS#12 archive.

+
+
community.crypto.openssl_publickey

Generate an OpenSSL public key from its private key.

+
+
+
+
+
+

Examples

+
- name: Generate an OpenSSL private key with the default values (4096 bits, RSA)
+  community.crypto.openssl_privatekey_pipe:
+  register: output
+  no_log: true  # make sure that private key data is not accidentally revealed in logs!
+- name: Show generated key
+  ansible.builtin.debug:
+    msg: "{{ output.privatekey }}"
+  # DO NOT OUTPUT KEY MATERIAL TO CONSOLE OR LOGS IN PRODUCTION!
+
+
+- name: Generate or update a Mozilla sops encrypted key
+  block:
+    - name: Update sops-encrypted key with the community.sops collection
+      community.crypto.openssl_privatekey_pipe:
+        content: "{{ lookup('community.sops.sops', 'private_key.pem.sops') }}"
+        size: 2048
+      register: output
+      no_log: true  # make sure that private key data is not accidentally revealed in logs!
+
+    - name: Update encrypted key when openssl_privatekey_pipe reported a change
+      community.sops.sops_encrypt:
+        path: private_key.pem.sops
+        content_text: "{{ output.privatekey }}"
+      when: output is changed
+  always:
+    - name: Make sure that output (which contains the private key) is overwritten
+      ansible.builtin.set_fact:
+        output: ''
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + + + + + + + + + + + + + +

Key

Description

+

curve

+

string

+

Elliptic curve used to generate the TLS/SSL private key.

+

Returned: changed or success, and type is ECC

+

Sample: "secp256r1"

+
+

fingerprint

+

dictionary

+

The fingerprint of the public key. Fingerprint will be generated for each hashlib.algorithms available.

+

Returned: changed or success

+

Sample: {"md5": "84:75:71:72:8d:04:b5:6c:4d:37:6d:66:83:f5:4c:29", "sha1": "51:cc:7c:68:5d:eb:41:43:88:7e:1a:ae:c7:f8:24:72:ee:71:f6:10", "sha224": "b1:19:a6:6c:14:ac:33:1d:ed:18:50:d3:06:5c:b2:32:91:f1:f1:52:8c:cb:d5:75:e9:f5:9b:46", "sha256": "41:ab:c7:cb:d5:5f:30:60:46:99:ac:d4:00:70:cf:a1:76:4f:24:5d:10:24:57:5d:51:6e:09:97:df:2f:de:c7", "sha384": "85:39:50:4e:de:d9:19:33:40:70:ae:10:ab:59:24:19:51:c3:a2:e4:0b:1c:b1:6e:dd:b3:0c:d9:9e:6a:46:af:da:18:f8:ef:ae:2e:c0:9a:75:2c:9b:b3:0f:3a:5f:3d", "sha512": "fd:ed:5e:39:48:5f:9f:fe:7f:25:06:3f:79:08:cd:ee:a5:e7:b3:3d:13:82:87:1f:84:e1:f5:c7:28:77:53:94:86:56:38:69:f0:d9:35:22:01:1e:a6:60:...:0f:9b"}

+
+

privatekey

+

string

+

The generated private key’s content.

+

Please note that if the result is not changed, the current private key will only be returned if the return_current_key option is set to true.

+

Will be Base64-encoded if the key is in raw format.

+

Returned: changed, or return_current_key is true

+
+

size

+

integer

+

Size (in bits) of the TLS/SSL private key.

+

Returned: changed or success

+

Sample: 4096

+
+

type

+

string

+

Algorithm used to generate the TLS/SSL private key.

+

Returned: changed or success

+

Sample: "RSA"

+
+
+

Authors

+
    +
  • Yanis Guenane (@Spredzy)

  • +
  • Felix Fontein (@felixfontein)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/openssl_publickey_info_filter.html b/tag/2.18.0/openssl_publickey_info_filter.html new file mode 100644 index 000000000..af4d27477 --- /dev/null +++ b/tag/2.18.0/openssl_publickey_info_filter.html @@ -0,0 +1,427 @@ + + + + + + + + community.crypto.openssl_publickey_info filter – Retrieve information from OpenSSL public keys in PEM format — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.openssl_publickey_info filter – Retrieve information from OpenSSL public keys in PEM format

+
+

Note

+

This filter plugin is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto.

+

To use it in a playbook, specify: community.crypto.openssl_publickey_info.

+
+

New in community.crypto 2.10.0

+ +
+

Synopsis

+ +
+
+

Input

+

This describes the input of the filter, the value before | community.crypto.openssl_publickey_info.

+ + + + + + + + + + + +

Parameter

Comments

+

Input

+

string / required

+

The content of the OpenSSL PEM public key.

+
+
+
+

See Also

+
+

See also

+
+
community.crypto.openssl_publickey_info

Provide information for OpenSSL public keys.

+
+
+
+
+
+

Examples

+
- name: Show the type of a public key
+  ansible.builtin.debug:
+    msg: >-
+      {{
+        (
+          lookup('ansible.builtin.file', '/path/to/public-key.pem')
+          | community.crypto.openssl_publickey_info
+        ).type
+      }}
+
+
+
+
+

Return Value

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Key

Description

+

Return value

+

dictionary

+

Information on the public key.

+

Returned: success

+
+

fingerprints

+

dictionary

+

Fingerprints of public key.

+

For every hash algorithm available, the fingerprint is computed.

+

Returned: success

+

Sample: "{'sha256': 'd4:b3:aa:6d:c8:04:ce:4e:ba:f6:29:4d:92:a3:94:b0:c2:ff:bd:bf:33:63:11:43:34:0f:51:b0:95:09:2f:63', 'sha512': 'f7:07:4a:f0:b0:f0:e6:8b:95:5f:f9:e6:61:0a:32:68:f1..."

+
+

public_data

+

dictionary

+

Public key data. Depends on key type.

+

Returned: success

+
+

curve

+

string

+

The curve’s name for ECC.

+

Returned: When _value.type=ECC

+
+

exponent

+

integer

+

The RSA key’s public exponent.

+

Returned: When _value.type=RSA

+
+

exponent_size

+

integer

+

The maximum number of bits of a private key. This is basically the bit size of the subgroup used.

+

Returned: When _value.type=ECC

+
+

g

+

integer

+

The g value for DSA.

+

This is the element spanning the subgroup of the multiplicative group of the prime field used.

+

Returned: When _value.type=DSA

+
+

modulus

+

integer

+

The RSA key’s modulus.

+

Returned: When _value.type=RSA

+
+

p

+

integer

+

The p value for DSA.

+

This is the prime modulus upon which arithmetic takes place.

+

Returned: When _value.type=DSA

+
+

q

+

integer

+

The q value for DSA.

+

This is a prime that divides p - 1, and at the same time the order of the subgroup of the multiplicative group of the prime field used.

+

Returned: When _value.type=DSA

+
+

size

+

integer

+

Bit size of modulus (RSA) or prime number (DSA).

+

Returned: When _value.type=RSA or _value.type=DSA

+
+

x

+

integer

+

The x coordinate for the public point on the elliptic curve.

+

Returned: When _value.type=ECC

+
+

y

+

integer

+

For _value.type=ECC, this is the y coordinate for the public point on the elliptic curve.

+

For _value.type=DSA, this is the publicly known group element whose discrete logarithm with respect to g is the private key.

+

Returned: When _value.type=DSA or _value.type=ECC

+
+

type

+

string

+

The key’s type.

+

One of RSA, DSA, ECC, Ed25519, X25519, Ed448, or X448.

+

Will start with unknown if the key type cannot be determined.

+

Returned: success

+

Sample: "RSA"

+
+
+

Authors

+
    +
  • Felix Fontein (@felixfontein)

  • +
+
+

Hint

+

Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.

+
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/openssl_publickey_info_module.html b/tag/2.18.0/openssl_publickey_info_module.html new file mode 100644 index 000000000..c0e44fa2e --- /dev/null +++ b/tag/2.18.0/openssl_publickey_info_module.html @@ -0,0 +1,493 @@ + + + + + + + + community.crypto.openssl_publickey_info module – Provide information for OpenSSL public keys — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.openssl_publickey_info module – Provide information for OpenSSL public keys

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.openssl_publickey_info.

+
+

New in community.crypto 1.7.0

+ +
+

Synopsis

+
    +
  • This module allows one to query information on OpenSSL public keys.

  • +
  • It uses the cryptography python library to interact with OpenSSL.

  • +
+
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+
    +
  • cryptography >= 1.2.3

  • +
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + +

Parameter

Comments

+

content

+

string

+

Content of the public key file.

+

Either path or content must be specified, but not both.

+
+

path

+

path

+

Remote absolute path where the public key file is loaded from.

+
+

select_crypto_backend

+

string

+

Determines which crypto backend to use.

+

The default choice is auto, which tries to use cryptography if available.

+

If set to cryptography, will try to use the cryptography library.

+

Choices:

+
    +
  • "auto" ← (default)

  • +
  • "cryptography"

  • +
+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

check_mode

+

Support: full

+

This action does not modify state.

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: N/A

+

This action does not modify state.

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+
+
+

See Also

+
+

See also

+
+
community.crypto.openssl_publickey

Generate an OpenSSL public key from its private key.

+
+
community.crypto.openssl_privatekey_info

Provide information for OpenSSL private keys.

+
+
community.crypto.openssl_publickey_info filter plugin

A filter variant of this module.

+
+
+
+
+
+

Examples

+
- name: Generate an OpenSSL private key with the default values (4096 bits, RSA)
+  community.crypto.openssl_privatekey:
+    path: /etc/ssl/private/ansible.com.pem
+
+- name: Create public key from private key
+  community.crypto.openssl_publickey:
+    privatekey_path: /etc/ssl/private/ansible.com.pem
+    path: /etc/ssl/ansible.com.pub
+
+- name: Get information on public key
+  community.crypto.openssl_publickey_info:
+    path: /etc/ssl/ansible.com.pub
+  register: result
+
+- name: Dump information
+  ansible.builtin.debug:
+    var: result
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Key

Description

+

fingerprints

+

dictionary

+

Fingerprints of public key.

+

For every hash algorithm available, the fingerprint is computed.

+

Returned: success

+

Sample: "{'sha256': 'd4:b3:aa:6d:c8:04:ce:4e:ba:f6:29:4d:92:a3:94:b0:c2:ff:bd:bf:33:63:11:43:34:0f:51:b0:95:09:2f:63', 'sha512': 'f7:07:4a:f0:b0:f0:e6:8b:95:5f:f9:e6:61:0a:32:68:f1..."

+
+

public_data

+

dictionary

+

Public key data. Depends on key type.

+

Returned: success

+
+

curve

+

string

+

The curve’s name for ECC.

+

Returned: When type=ECC

+
+

exponent

+

integer

+

The RSA key’s public exponent.

+

Returned: When type=RSA

+
+

exponent_size

+

integer

+

The maximum number of bits of a private key. This is basically the bit size of the subgroup used.

+

Returned: When type=ECC

+
+

g

+

integer

+

The g value for DSA.

+

This is the element spanning the subgroup of the multiplicative group of the prime field used.

+

Returned: When type=DSA

+
+

modulus

+

integer

+

The RSA key’s modulus.

+

Returned: When type=RSA

+
+

p

+

integer

+

The p value for DSA.

+

This is the prime modulus upon which arithmetic takes place.

+

Returned: When type=DSA

+
+

q

+

integer

+

The q value for DSA.

+

This is a prime that divides p - 1, and at the same time the order of the subgroup of the multiplicative group of the prime field used.

+

Returned: When type=DSA

+
+

size

+

integer

+

Bit size of modulus (RSA) or prime number (DSA).

+

Returned: When type=RSA or type=DSA

+
+

x

+

integer

+

The x coordinate for the public point on the elliptic curve.

+

Returned: When type=ECC

+
+

y

+

integer

+

For type=ECC, this is the y coordinate for the public point on the elliptic curve.

+

For type=DSA, this is the publicly known group element whose discrete logarithm w.r.t. g is the private key.

+

Returned: When type=DSA or type=ECC

+
+

type

+

string

+

The key’s type.

+

One of RSA, DSA, ECC, Ed25519, X25519, Ed448, or X448.

+

Will start with unknown if the key type cannot be determined.

+

Returned: success

+

Sample: "RSA"

+
+
+

Authors

+
    +
  • Felix Fontein (@felixfontein)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/openssl_publickey_module.html b/tag/2.18.0/openssl_publickey_module.html new file mode 100644 index 000000000..263e6f33d --- /dev/null +++ b/tag/2.18.0/openssl_publickey_module.html @@ -0,0 +1,636 @@ + + + + + + + + community.crypto.openssl_publickey module – Generate an OpenSSL public key from its private key. — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.openssl_publickey module – Generate an OpenSSL public key from its private key.

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.openssl_publickey.

+
+ +
+

Synopsis

+
    +
  • This module allows one to (re)generate public keys from their private keys.

  • +
  • Public keys are generated in PEM or OpenSSH format. Private keys must be OpenSSL PEM keys. OpenSSH private keys are not supported, use the community.crypto.openssh_keypair module to manage these.

  • +
  • The module uses the cryptography Python library.

  • +
+
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+
    +
  • cryptography >= 1.2.3 (older versions might work as well)

  • +
  • Needs cryptography >= 1.4 if format is OpenSSH

  • +
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

Comments

+
+

attributes

+

aliases: attr

+

string

+

The attributes the resulting filesystem object should have.

+

To get supported flags look at the man page for chattr on the target system.

+

This string should contain the attributes in the same order as the one displayed by lsattr.

+

The = operator is assumed as default, otherwise + or - operators need to be included in the string.

+
+

backup

+

boolean

+

Create a backup file including a timestamp so you can get the original public key back if you overwrote it with a different one by accident.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

force

+

boolean

+

Should the key be regenerated even it it already exists.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

format

+

string

+

The format of the public key.

+

Choices:

+
    +
  • "OpenSSH"

  • +
  • "PEM" ← (default)

  • +
+
+

group

+

string

+

Name of the group that should own the filesystem object, as would be fed to chown.

+

When left unspecified, it uses the current group of the current user unless you are root, in which case it can preserve the previous ownership.

+
+

mode

+

any

+

The permissions the resulting filesystem object should have.

+

For those used to /usr/bin/chmod remember that modes are actually octal numbers. You must give Ansible enough information to parse them correctly. For consistent results, quote octal numbers (for example, '644' or '1777') so Ansible receives a string and can do its own conversion from string into number. Adding a leading zero (for example, 0755) works sometimes, but can fail in loops and some other circumstances.

+

Giving Ansible a number without following either of these rules will end up with a decimal number which will have unexpected results.

+

As of Ansible 1.8, the mode may be specified as a symbolic mode (for example, u+rwx or u=rw,g=r,o=r).

+

If mode is not specified and the destination filesystem object does not exist, the default umask on the system will be used when setting the mode for the newly created filesystem object.

+

If mode is not specified and the destination filesystem object does exist, the mode of the existing filesystem object will be used.

+

Specifying mode is the best way to ensure filesystem objects are created with the correct permissions. See CVE-2020-1736 for further details.

+
+

owner

+

string

+

Name of the user that should own the filesystem object, as would be fed to chown.

+

When left unspecified, it uses the current user unless you are root, in which case it can preserve the previous ownership.

+

Specifying a numeric username will be assumed to be a user ID and not a username. Avoid numeric usernames to avoid this confusion.

+
+

path

+

path / required

+

Name of the file in which the generated TLS/SSL public key will be written.

+
+

privatekey_content

+

string

+

added in community.crypto 1.0.0

+

The content of the TLS/SSL private key from which to generate the public key.

+

Either privatekey_path or privatekey_content must be specified, but not both. If state is present, one of them is required.

+
+

privatekey_passphrase

+

string

+

The passphrase for the private key.

+
+

privatekey_path

+

path

+

Path to the TLS/SSL private key from which to generate the public key.

+

Either privatekey_path or privatekey_content must be specified, but not both. If state is present, one of them is required.

+
+

return_content

+

boolean

+

added in community.crypto 1.0.0

+

If set to true, will return the (current or generated) public key’s content as publickey.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

select_crypto_backend

+

string

+

Determines which crypto backend to use.

+

The default choice is auto, which tries to use cryptography if available.

+

If set to cryptography, will try to use the cryptography library.

+

Choices:

+
    +
  • "auto" ← (default)

  • +
  • "cryptography"

  • +
+
+

selevel

+

string

+

The level part of the SELinux filesystem object context.

+

This is the MLS/MCS attribute, sometimes known as the range.

+

When set to _default, it will use the level portion of the policy if available.

+
+

serole

+

string

+

The role part of the SELinux filesystem object context.

+

When set to _default, it will use the role portion of the policy if available.

+
+

setype

+

string

+

The type part of the SELinux filesystem object context.

+

When set to _default, it will use the type portion of the policy if available.

+
+

seuser

+

string

+

The user part of the SELinux filesystem object context.

+

By default it uses the system policy, where applicable.

+

When set to _default, it will use the user portion of the policy if available.

+
+

state

+

string

+

Whether the public key should exist or not, taking action if the state is different from what is stated.

+

Choices:

+
    +
  • "absent"

  • +
  • "present" ← (default)

  • +
+
+

unsafe_writes

+

boolean

+

Influence when to use atomic operation to prevent data corruption or inconsistent reads from the target filesystem object.

+

By default this module uses atomic operations to prevent data corruption or inconsistent reads from the target filesystem objects, but sometimes systems are configured or just broken in ways that prevent this. One example is docker mounted filesystem objects, which cannot be updated atomically from inside the container and can only be written in an unsafe manner.

+

This option allows Ansible to fall back to unsafe methods of updating filesystem objects when atomic operations fail (however, it doesn’t force Ansible to perform unsafe writes).

+

IMPORTANT! Unsafe writes are subject to race conditions and can lead to data corruption.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

check_mode

+

Support: full

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: full

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+

safe_file_operations

+

Support: full

+

Uses Ansible’s strict file operation functions to ensure proper permissions and avoid data corruption.

+
+
+
+

See Also

+
+

See also

+
+
community.crypto.x509_certificate

Generate and/or check OpenSSL certificates.

+
+
community.crypto.x509_certificate_pipe

Generate and/or check OpenSSL certificates.

+
+
community.crypto.openssl_csr

Generate OpenSSL Certificate Signing Request (CSR).

+
+
community.crypto.openssl_csr_pipe

Generate OpenSSL Certificate Signing Request (CSR).

+
+
community.crypto.openssl_dhparam

Generate OpenSSL Diffie-Hellman Parameters.

+
+
community.crypto.openssl_pkcs12

Generate OpenSSL PKCS#12 archive.

+
+
community.crypto.openssl_privatekey

Generate OpenSSL private keys.

+
+
community.crypto.openssl_privatekey_pipe

Generate OpenSSL private keys without disk access.

+
+
+
+
+
+

Examples

+
- name: Generate an OpenSSL public key in PEM format
+  community.crypto.openssl_publickey:
+    path: /etc/ssl/public/ansible.com.pem
+    privatekey_path: /etc/ssl/private/ansible.com.pem
+
+- name: Generate an OpenSSL public key in PEM format from an inline key
+  community.crypto.openssl_publickey:
+    path: /etc/ssl/public/ansible.com.pem
+    privatekey_content: "{{ private_key_content }}"
+
+- name: Generate an OpenSSL public key in OpenSSH v2 format
+  community.crypto.openssl_publickey:
+    path: /etc/ssl/public/ansible.com.pem
+    privatekey_path: /etc/ssl/private/ansible.com.pem
+    format: OpenSSH
+
+- name: Generate an OpenSSL public key with a passphrase protected private key
+  community.crypto.openssl_publickey:
+    path: /etc/ssl/public/ansible.com.pem
+    privatekey_path: /etc/ssl/private/ansible.com.pem
+    privatekey_passphrase: ansible
+
+- name: Force regenerate an OpenSSL public key if it already exists
+  community.crypto.openssl_publickey:
+    path: /etc/ssl/public/ansible.com.pem
+    privatekey_path: /etc/ssl/private/ansible.com.pem
+    force: true
+
+- name: Remove an OpenSSL public key
+  community.crypto.openssl_publickey:
+    path: /etc/ssl/public/ansible.com.pem
+    state: absent
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + + + + + + + + + + + + + + + + +

Key

Description

+

backup_file

+

string

+

Name of backup file created.

+

Returned: changed and if backup is true

+

Sample: "/path/to/publickey.pem.2019-03-09@11:22~"

+
+

filename

+

string

+

Path to the generated TLS/SSL public key file.

+

Returned: changed or success

+

Sample: "/etc/ssl/public/ansible.com.pem"

+
+

fingerprint

+

dictionary

+

The fingerprint of the public key. Fingerprint will be generated for each hashlib.algorithms available.

+

Returned: changed or success

+

Sample: {"md5": "84:75:71:72:8d:04:b5:6c:4d:37:6d:66:83:f5:4c:29", "sha1": "51:cc:7c:68:5d:eb:41:43:88:7e:1a:ae:c7:f8:24:72:ee:71:f6:10", "sha224": "b1:19:a6:6c:14:ac:33:1d:ed:18:50:d3:06:5c:b2:32:91:f1:f1:52:8c:cb:d5:75:e9:f5:9b:46", "sha256": "41:ab:c7:cb:d5:5f:30:60:46:99:ac:d4:00:70:cf:a1:76:4f:24:5d:10:24:57:5d:51:6e:09:97:df:2f:de:c7", "sha384": "85:39:50:4e:de:d9:19:33:40:70:ae:10:ab:59:24:19:51:c3:a2:e4:0b:1c:b1:6e:dd:b3:0c:d9:9e:6a:46:af:da:18:f8:ef:ae:2e:c0:9a:75:2c:9b:b3:0f:3a:5f:3d", "sha512": "fd:ed:5e:39:48:5f:9f:fe:7f:25:06:3f:79:08:cd:ee:a5:e7:b3:3d:13:82:87:1f:84:e1:f5:c7:28:77:53:94:86:56:38:69:f0:d9:35:22:01:1e:a6:60:...:0f:9b"}

+
+

format

+

string

+

The format of the public key (PEM, OpenSSH, …).

+

Returned: changed or success

+

Sample: "PEM"

+
+

privatekey

+

string

+

Path to the TLS/SSL private key the public key was generated from.

+

Will be none if the private key has been provided in privatekey_content.

+

Returned: changed or success

+

Sample: "/etc/ssl/private/ansible.com.pem"

+
+

publickey

+

string

+

added in community.crypto 1.0.0

+

The (current or generated) public key’s content.

+

Returned: if state is present and return_content is true

+
+
+

Authors

+
    +
  • Yanis Guenane (@Spredzy)

  • +
  • Felix Fontein (@felixfontein)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/openssl_signature_info_module.html b/tag/2.18.0/openssl_signature_info_module.html new file mode 100644 index 000000000..c4679312d --- /dev/null +++ b/tag/2.18.0/openssl_signature_info_module.html @@ -0,0 +1,417 @@ + + + + + + + + community.crypto.openssl_signature_info module – Verify signatures with openssl — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.openssl_signature_info module – Verify signatures with openssl

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.openssl_signature_info.

+
+

New in community.crypto 1.1.0

+ +
+

Synopsis

+
    +
  • This module allows one to verify a signature for a file by a certificate.

  • +
  • The module uses the cryptography Python library.

  • +
+
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+
    +
  • cryptography >= 1.4 (some key types require newer versions)

  • +
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +

Parameter

Comments

+

certificate_content

+

string

+

The content of the certificate used to verify the signature.

+

Either certificate_path or certificate_content must be specified, but not both.

+
+

certificate_path

+

path

+

The path to the certificate used to verify the signature.

+

Either certificate_path or certificate_content must be specified, but not both.

+
+

path

+

path / required

+

The signed file to verify.

+

This file will only be read and not modified.

+
+

select_crypto_backend

+

string

+

Determines which crypto backend to use.

+

The default choice is auto, which tries to use cryptography if available.

+

If set to cryptography, will try to use the cryptography library.

+

Choices:

+
    +
  • "auto" ← (default)

  • +
  • "cryptography"

  • +
+
+

signature

+

string / required

+

Base64 encoded signature.

+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

check_mode

+

Support: full

+

This action does not modify state.

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: N/A

+

This action does not modify state.

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+
+
+

Notes

+
+

Note

+
    +
  • When using the cryptography backend, the following key types require at least the following cryptography version: +RSA keys: cryptography >= 1.4 +DSA and ECDSA keys: cryptography >= 1.5 +ed448 and ed25519 keys: cryptography >= 2.6

  • +
+
+
+
+

See Also

+
+

See also

+
+
community.crypto.openssl_signature

Sign data with openssl.

+
+
community.crypto.x509_certificate

Generate and/or check OpenSSL certificates.

+
+
+
+
+
+

Examples

+
- name: Sign example file
+  community.crypto.openssl_signature:
+    privatekey_path: private.key
+    path: /tmp/example_file
+  register: sig
+
+- name: Verify signature of example file
+  community.crypto.openssl_signature_info:
+    certificate_path: cert.pem
+    path: /tmp/example_file
+    signature: "{{ sig.signature }}"
+  register: verify
+
+- name: Make sure the signature is valid
+  ansible.builtin.assert:
+    that:
+      - verify.valid
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + +

Key

Description

+

valid

+

boolean

+

true means the signature was valid for the given file, false means it was not.

+

Returned: success

+
+
+

Authors

+
    +
  • Patrick Pichler (@aveexy)

  • +
  • Markus Teufelberger (@MarkusTeufelberger)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/openssl_signature_module.html b/tag/2.18.0/openssl_signature_module.html new file mode 100644 index 000000000..24e63fedd --- /dev/null +++ b/tag/2.18.0/openssl_signature_module.html @@ -0,0 +1,417 @@ + + + + + + + + community.crypto.openssl_signature module – Sign data with openssl — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.openssl_signature module – Sign data with openssl

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.openssl_signature.

+
+

New in community.crypto 1.1.0

+ +
+

Synopsis

+
    +
  • This module allows one to sign data using a private key.

  • +
  • The module uses the cryptography Python library.

  • +
+
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+
    +
  • cryptography >= 1.4 (some key types require newer versions)

  • +
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +

Parameter

Comments

+

path

+

path / required

+

The file to sign.

+

This file will only be read and not modified.

+
+

privatekey_content

+

string

+

The content of the private key to use when signing the certificate signing request.

+

Either privatekey_path or privatekey_content must be specified, but not both.

+
+

privatekey_passphrase

+

string

+

The passphrase for the private key.

+

This is required if the private key is password protected.

+
+

privatekey_path

+

path

+

The path to the private key to use when signing.

+

Either privatekey_path or privatekey_content must be specified, but not both.

+
+

select_crypto_backend

+

string

+

Determines which crypto backend to use.

+

The default choice is auto, which tries to use cryptography if available.

+

If set to cryptography, will try to use the cryptography library.

+

Choices:

+
    +
  • "auto" ← (default)

  • +
  • "cryptography"

  • +
+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

check_mode

+

Support: full

+

This action does not modify state.

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: none

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+
+
+

Notes

+
+

Note

+
    +
  • When using the cryptography backend, the following key types require at least the following cryptography version: +RSA keys: cryptography >= 1.4 +DSA and ECDSA keys: cryptography >= 1.5 +ed448 and ed25519 keys: cryptography >= 2.6

  • +
+
+
+
+

See Also

+
+

See also

+
+
community.crypto.openssl_signature_info

Verify signatures with openssl.

+
+
community.crypto.openssl_privatekey

Generate OpenSSL private keys.

+
+
+
+
+
+

Examples

+
- name: Sign example file
+  community.crypto.openssl_signature:
+    privatekey_path: private.key
+    path: /tmp/example_file
+  register: sig
+
+- name: Verify signature of example file
+  community.crypto.openssl_signature_info:
+    certificate_path: cert.pem
+    path: /tmp/example_file
+    signature: "{{ sig.signature }}"
+  register: verify
+
+- name: Make sure the signature is valid
+  ansible.builtin.assert:
+    that:
+      - verify.valid
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + +

Key

Description

+

signature

+

string

+

Base64 encoded signature.

+

Returned: success

+
+
+

Authors

+
    +
  • Patrick Pichler (@aveexy)

  • +
  • Markus Teufelberger (@MarkusTeufelberger)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/parse_serial_filter.html b/tag/2.18.0/parse_serial_filter.html new file mode 100644 index 000000000..167ee1dd2 --- /dev/null +++ b/tag/2.18.0/parse_serial_filter.html @@ -0,0 +1,308 @@ + + + + + + + + community.crypto.parse_serial filter – Convert a serial number as a colon-separated list of hex numbers to an integer — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.parse_serial filter – Convert a serial number as a colon-separated list of hex numbers to an integer

+
+

Note

+

This filter plugin is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto.

+

To use it in a playbook, specify: community.crypto.parse_serial.

+
+

New in community.crypto 2.18.0

+ +
+

Synopsis

+
    +
  • Parses a colon-separated list of hex numbers of the form 00:11:22:33 and returns the corresponding integer.

  • +
+
+
+

Input

+

This describes the input of the filter, the value before | community.crypto.parse_serial.

+ + + + + + + + + + + +

Parameter

Comments

+

Input

+

string / required

+

A serial number represented as a colon-separated list of hex numbers between 0 and 255.

+

These numbers are interpreted as the byte presentation of an unsigned integer in network byte order. That is, 01:00 is interpreted as the integer 256.

+
+
+
+

See Also

+
+

See also

+
+
community.crypto.to_serial filter plugin

Convert an integer to a colon-separated list of hex numbers.

+
+
+
+
+
+

Examples

+
- name: Parse serial number
+  ansible.builtin.debug:
+    msg: "{{ '11:22:33' | community.crypto.parse_serial }}"
+
+
+
+
+

Return Value

+ + + + + + + + + + + +

Key

Description

+

Return value

+

integer

+

The serial number as an integer.

+

Returned: success

+
+
+

Authors

+
    +
  • Felix Fontein (@felixfontein)

  • +
+
+

Hint

+

Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.

+
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/search.html b/tag/2.18.0/search.html new file mode 100644 index 000000000..4244de027 --- /dev/null +++ b/tag/2.18.0/search.html @@ -0,0 +1,203 @@ + + + + + + Search — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • +
  • +
+
+
+
+ + +
+ + + + +
+ +
+ +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + + + + + + \ No newline at end of file diff --git a/tag/2.18.0/searchindex.js b/tag/2.18.0/searchindex.js new file mode 100644 index 000000000..da88bbde8 --- /dev/null +++ b/tag/2.18.0/searchindex.js @@ -0,0 +1 @@ +Search.setIndex({"docnames": ["acme_account_facts_module", "acme_account_info_module", "acme_account_module", "acme_certificate_module", "acme_certificate_revoke_module", "acme_challenge_cert_helper_module", "acme_inspect_module", "certificate_complete_chain_module", "crypto_info_module", "docsite/guide_ownca", "docsite/guide_selfsigned", "ecs_certificate_module", "ecs_domain_module", "environment_variables", "get_certificate_module", "gpg_fingerprint_filter", "gpg_fingerprint_lookup", "index", "luks_device_module", "openssh_cert_module", "openssh_keypair_module", "openssl_certificate_info_module", "openssl_certificate_module", "openssl_csr_info_filter", "openssl_csr_info_module", "openssl_csr_module", "openssl_csr_pipe_module", "openssl_dhparam_module", "openssl_pkcs12_module", "openssl_privatekey_convert_module", "openssl_privatekey_info_filter", "openssl_privatekey_info_module", "openssl_privatekey_module", "openssl_privatekey_pipe_module", "openssl_publickey_info_filter", "openssl_publickey_info_module", "openssl_publickey_module", "openssl_signature_info_module", "openssl_signature_module", "parse_serial_filter", "split_pem_filter", "to_serial_filter", "x509_certificate_info_filter", "x509_certificate_info_module", "x509_certificate_module", "x509_certificate_pipe_module", "x509_crl_info_filter", "x509_crl_info_module", "x509_crl_module"], "filenames": ["acme_account_facts_module.rst", "acme_account_info_module.rst", "acme_account_module.rst", "acme_certificate_module.rst", "acme_certificate_revoke_module.rst", "acme_challenge_cert_helper_module.rst", "acme_inspect_module.rst", "certificate_complete_chain_module.rst", "crypto_info_module.rst", "docsite/guide_ownca.rst", "docsite/guide_selfsigned.rst", "ecs_certificate_module.rst", "ecs_domain_module.rst", "environment_variables.rst", "get_certificate_module.rst", "gpg_fingerprint_filter.rst", "gpg_fingerprint_lookup.rst", "index.rst", "luks_device_module.rst", "openssh_cert_module.rst", "openssh_keypair_module.rst", "openssl_certificate_info_module.rst", "openssl_certificate_module.rst", "openssl_csr_info_filter.rst", "openssl_csr_info_module.rst", "openssl_csr_module.rst", "openssl_csr_pipe_module.rst", "openssl_dhparam_module.rst", "openssl_pkcs12_module.rst", "openssl_privatekey_convert_module.rst", "openssl_privatekey_info_filter.rst", "openssl_privatekey_info_module.rst", "openssl_privatekey_module.rst", "openssl_privatekey_pipe_module.rst", "openssl_publickey_info_filter.rst", "openssl_publickey_info_module.rst", "openssl_publickey_module.rst", "openssl_signature_info_module.rst", "openssl_signature_module.rst", "parse_serial_filter.rst", "split_pem_filter.rst", "to_serial_filter.rst", "x509_certificate_info_filter.rst", "x509_certificate_info_module.rst", "x509_certificate_module.rst", "x509_certificate_pipe_module.rst", "x509_crl_info_filter.rst", "x509_crl_info_module.rst", "x509_crl_module.rst"], "titles": ["community.crypto.acme_account_facts", "community.crypto.acme_account_info module \u2013 Retrieves information on ACME accounts", "community.crypto.acme_account module \u2013 Create, modify or delete ACME accounts", "community.crypto.acme_certificate module \u2013 Create SSL/TLS certificates with the ACME protocol", "community.crypto.acme_certificate_revoke module \u2013 Revoke certificates with the ACME protocol", "community.crypto.acme_challenge_cert_helper module \u2013 Prepare certificates required for ACME challenges such as tls-alpn-01", "community.crypto.acme_inspect module \u2013 Send direct requests to an ACME server", "community.crypto.certificate_complete_chain module \u2013 Complete certificate chain given a set of untrusted and root certificates", "community.crypto.crypto_info module \u2013 Retrieve cryptographic capabilities", "How to create a small CA", "How to create self-signed certificates", "community.crypto.ecs_certificate module \u2013 Request SSL/TLS certificates with the Entrust Certificate Services (ECS) API", "community.crypto.ecs_domain module \u2013 Request validation of a domain with the Entrust Certificate Services (ECS) API", "Index of all Collection Environment Variables", "community.crypto.get_certificate module \u2013 Get a certificate from a host:port", "community.crypto.gpg_fingerprint filter \u2013 Retrieve a GPG fingerprint from a GPG public or private key", "community.crypto.gpg_fingerprint lookup \u2013 Retrieve a GPG fingerprint from a GPG public or private key file", "Community.Crypto", "community.crypto.luks_device module \u2013 Manage encrypted (LUKS) devices", "community.crypto.openssh_cert module \u2013 Generate OpenSSH host or user certificates.", "community.crypto.openssh_keypair module \u2013 Generate OpenSSH private and public keys", "community.crypto.openssl_certificate_info", "community.crypto.openssl_certificate", "community.crypto.openssl_csr_info filter \u2013 Retrieve information from OpenSSL Certificate Signing Requests (CSR)", "community.crypto.openssl_csr_info module \u2013 Provide information of OpenSSL Certificate Signing Requests (CSR)", "community.crypto.openssl_csr module \u2013 Generate OpenSSL Certificate Signing Request (CSR)", "community.crypto.openssl_csr_pipe module \u2013 Generate OpenSSL Certificate Signing Request (CSR)", "community.crypto.openssl_dhparam module \u2013 Generate OpenSSL Diffie-Hellman Parameters", "community.crypto.openssl_pkcs12 module \u2013 Generate OpenSSL PKCS#12 archive", "community.crypto.openssl_privatekey_convert module \u2013 Convert OpenSSL private keys", "community.crypto.openssl_privatekey_info filter \u2013 Retrieve information from OpenSSL private keys", "community.crypto.openssl_privatekey_info module \u2013 Provide information for OpenSSL private keys", "community.crypto.openssl_privatekey module \u2013 Generate OpenSSL private keys", "community.crypto.openssl_privatekey_pipe module \u2013 Generate OpenSSL private keys without disk access", "community.crypto.openssl_publickey_info filter \u2013 Retrieve information from OpenSSL public keys in PEM format", "community.crypto.openssl_publickey_info module \u2013 Provide information for OpenSSL public keys", "community.crypto.openssl_publickey module \u2013 Generate an OpenSSL public key from its private key.", "community.crypto.openssl_signature_info module \u2013 Verify signatures with openssl", "community.crypto.openssl_signature module \u2013 Sign data with openssl", "community.crypto.parse_serial filter \u2013 Convert a serial number as a colon-separated list of hex numbers to an integer", "community.crypto.split_pem filter \u2013 Split PEM file contents into multiple objects", "community.crypto.to_serial filter \u2013 Convert an integer to a colon-separated list of hex numbers", "community.crypto.x509_certificate_info filter \u2013 Retrieve information from X.509 certificates in PEM format", "community.crypto.x509_certificate_info module \u2013 Provide information of OpenSSL X.509 certificates", "community.crypto.x509_certificate module \u2013 Generate and/or check OpenSSL certificates", "community.crypto.x509_certificate_pipe module \u2013 Generate and/or check OpenSSL certificates", "community.crypto.x509_crl_info filter \u2013 Retrieve information from X.509 CRLs in PEM format", "community.crypto.x509_crl_info module \u2013 Retrieve information on Certificate Revocation Lists (CRLs)", "community.crypto.x509_crl module \u2013 Generate Certificate Revocation Lists (CRLs)"], "terms": {"thi": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "plugin": [0, 11, 13, 14, 15, 16, 19, 21, 22, 23, 24, 25, 26, 30, 31, 33, 34, 35, 39, 40, 41, 42, 43, 46, 47, 48], "wa": [0, 1, 3, 4, 6, 9, 11, 14, 18, 20, 21, 22, 23, 24, 25, 26, 28, 31, 32, 33, 36, 37, 42, 43, 44, 46, 47, 48], "part": [0, 1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 15, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "collect": [0, 9, 10, 17, 21, 22], "version": [0, 1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "2": [0, 1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "18": [0, 1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "0": [0, 1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "modul": [0, 9, 10, 21, 22, 23, 30, 34, 42, 46], "ha": [0, 1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 16, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 36, 37, 38, 43, 44, 45, 46, 47, 48], "been": [0, 1, 2, 3, 4, 6, 11, 13, 14, 18, 19, 21, 22, 25, 26, 31, 36, 45, 48], "remov": [0, 1, 2, 3, 4, 6, 18, 21, 22, 28, 36, 44, 48], "The": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "renam": [0, 21, 22, 43, 44, 48], "acme_account_info": [0, 2, 17], "i": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "It": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "includ": [1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "ansibl": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "core": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "To": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "check": [1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 14, 15, 16, 17, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 46, 47, 48], "whether": [1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "instal": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "run": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "galaxi": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "list": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 15, 16, 17, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 40, 42, 43, 44, 45, 46], "us": [1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "you": [1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 35, 36, 37, 38, 42, 43, 44, 45, 46, 47, 48], "need": [1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 35, 36, 37, 38, 42, 43, 44, 45, 46, 47, 48], "further": [1, 2, 3, 4, 5, 6, 7, 10, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 35, 36, 37, 38, 42, 43, 44, 45, 46, 47, 48], "abl": [1, 2, 3, 4, 5, 6, 7, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 35, 36, 37, 38, 42, 43, 44, 45, 46, 47, 48], "detail": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 35, 36, 37, 38, 42, 43, 44, 45, 46, 47, 48], "playbook": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "specifi": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "allow": [1, 2, 3, 4, 6, 11, 12, 18, 19, 20, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 36, 37, 38, 43, 44, 45, 47, 48], "ca": [1, 2, 3, 4, 6, 7, 11, 17, 19, 23, 24, 25, 26, 28, 40, 42, 43, 44, 45, 46, 47, 48], "support": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 17, 18, 19, 20, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 36, 37, 38, 43, 44, 45, 47, 48], "protocol": [1, 2, 5, 6, 14, 17, 20, 44], "let": [1, 2, 3, 4, 6, 44], "": [1, 2, 3, 4, 5, 6, 9, 11, 12, 14, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 42, 43, 44, 45, 46, 47, 48], "encrypt": [1, 2, 3, 4, 6, 14, 17, 20, 28, 29, 32, 33, 44], "onli": [1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 14, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 36, 37, 38, 42, 43, 44, 45, 46, 47, 48], "work": [1, 2, 3, 4, 6, 18, 19, 20, 25, 27, 28, 29, 31, 32, 33, 36, 44], "v2": [1, 2, 3, 4, 6, 36], "below": [1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 35, 36, 37, 38, 42, 43, 44, 45, 46, 47, 48], "ar": [1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "host": [1, 2, 3, 4, 5, 6, 7, 11, 12, 17, 18, 20, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 36, 37, 38, 43, 44, 45, 47, 48], "execut": [1, 2, 3, 4, 5, 6, 7, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 35, 36, 37, 38, 42, 43, 44, 45, 46, 47, 48], "either": [1, 2, 3, 4, 6, 11, 12, 18, 19, 20, 24, 25, 26, 27, 28, 29, 31, 32, 35, 36, 37, 38, 43, 44, 45, 47, 48], "openssl": [1, 2, 3, 4, 6, 7, 8, 14, 17, 42], "cryptographi": [1, 2, 3, 4, 5, 6, 7, 8, 11, 14, 20, 23, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 36, 37, 38, 42, 43, 44, 45, 47, 48], "1": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 42, 43, 44, 45, 46, 47, 48], "5": [1, 2, 3, 4, 6, 7, 8, 12, 18, 23, 24, 32, 33, 37, 38, 42, 43, 44, 45], "ipaddress": [1, 2, 3, 4, 6], "comment": [1, 2, 3, 4, 5, 6, 7, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "account_key_cont": [1, 2, 3, 4, 6], "string": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "content": [1, 2, 3, 4, 5, 6, 7, 9, 11, 12, 14, 15, 17, 18, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 42, 43, 44, 45, 46, 47, 48], "rsa": [1, 2, 3, 4, 6, 8, 10, 19, 20, 23, 24, 30, 31, 32, 33, 34, 35, 37, 38, 42, 43], "ellipt": [1, 2, 3, 4, 6, 8, 20, 23, 24, 30, 31, 32, 33, 34, 35, 42, 43], "curv": [1, 2, 3, 4, 6, 8, 20, 23, 24, 30, 31, 32, 33, 34, 35, 42, 43], "kei": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 17, 18, 19, 23, 24, 25, 26, 27, 28, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "mutual": [1, 2, 3, 4, 5, 6, 18, 25, 26, 28, 44, 45, 48], "exclus": [1, 2, 3, 4, 5, 6, 18, 25, 26, 28, 44, 45, 48], "account_key_src": [1, 2, 3, 4, 5, 6, 8], "warn": [1, 2, 3, 4, 6, 30, 31, 43, 44], "written": [1, 2, 3, 4, 6, 19, 20, 25, 27, 28, 29, 32, 33, 36, 44, 48], "temporari": [1, 2, 3, 4, 6], "file": [1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 14, 15, 17, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 42, 43, 44, 45, 46, 47, 48], "which": [1, 2, 3, 4, 6, 11, 12, 14, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 42, 43, 44, 45, 46, 47, 48], "delet": [1, 3, 4, 6, 17], "when": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 42, 43, 44, 45, 46, 47, 48], "complet": [1, 2, 3, 4, 6, 8, 17, 18, 33], "sinc": [1, 2, 3, 4, 6, 9, 18, 25, 26, 28, 31], "an": [1, 2, 3, 4, 5, 11, 12, 14, 17, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 35, 42, 43, 44, 45, 46, 47, 48], "import": [1, 2, 3, 4, 6, 8, 19, 20, 25, 26, 27, 28, 29, 32, 36, 44, 48], "privat": [1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 17, 19, 23, 24, 25, 26, 27, 28, 34, 35, 37, 38, 42, 43, 44, 45, 46, 47, 48], "can": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 18, 19, 20, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 36, 37, 38, 43, 44, 45, 46, 47, 48], "chang": [1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 14, 18, 19, 20, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 36, 37, 38, 43, 44, 45, 47, 48], "revok": [1, 2, 3, 6, 11, 17, 46, 47, 48], "your": [1, 2, 3, 4, 6, 9, 11, 12, 25, 26, 27, 32, 33, 44, 45], "certif": [1, 2, 6, 17, 27, 28, 30, 32, 33, 36, 37, 38, 40, 46], "without": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 17, 18, 19, 20, 24, 25, 26, 27, 28, 29, 31, 32, 35, 36, 37, 38, 43, 44, 45, 47, 48], "know": [1, 2, 3, 4, 6, 25, 26], "might": [1, 2, 3, 4, 6, 14, 29, 31, 32, 33, 36, 48], "accept": [1, 2, 3, 4, 6, 11, 19, 25, 26, 48], "In": [1, 2, 3, 4, 6, 9, 11, 18, 20, 23, 24, 28, 31, 32, 45], "case": [1, 2, 3, 4, 6, 8, 11, 12, 14, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 31, 32, 33, 36, 41, 42, 43, 44, 45, 48], "still": [1, 2, 3, 4, 6, 11, 19, 24, 31, 43, 44], "happen": [1, 2, 3, 4, 6], "disk": [1, 2, 3, 4, 6, 7, 10, 17, 25, 26, 29, 31, 32, 36, 44, 45], "process": [1, 2, 3, 4, 6, 12, 18, 48], "move": [1, 2, 3, 4, 6, 11, 43, 44, 45], "its": [1, 2, 3, 4, 6, 7, 9, 11, 12, 15, 17, 18, 19, 20, 25, 26, 27, 28, 29, 32, 33, 35, 44, 45], "argument": [1, 2, 3, 4, 6, 27], "node": [1, 2, 3, 4, 6, 15, 16, 23, 30, 42, 46], "where": [1, 2, 3, 4, 6, 9, 18, 19, 20, 24, 25, 26, 27, 28, 29, 31, 32, 35, 36, 43, 44, 45, 47, 48], "account_key_passphras": [1, 2, 3, 4, 6], "ad": [1, 2, 3, 4, 5, 6, 7, 12, 14, 18, 19, 20, 24, 25, 26, 27, 28, 29, 31, 32, 36, 43, 44, 45, 46, 47, 48], "6": [1, 2, 3, 4, 5, 6, 8, 11, 14, 18, 20, 23, 24, 25, 26, 32, 33, 37, 38, 42, 43, 44, 45], "phassphras": [1, 2, 3, 4, 5, 6], "decod": [1, 2, 3, 4, 5, 6, 23, 24, 30, 42, 43, 46, 47, 48], "backend": [1, 2, 3, 4, 6, 14, 20, 23, 24, 25, 26, 27, 28, 30, 31, 32, 33, 35, 36, 37, 38, 42, 43, 44, 45, 46, 47, 48], "alias": [1, 2, 3, 4, 6, 19, 20, 25, 26, 27, 28, 29, 32, 36, 44, 45, 48], "account_kei": [1, 2, 3, 4, 6], "path": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 40, 42, 43, 44, 45, 46, 47, 48], "contain": [1, 2, 3, 4, 5, 6, 7, 12, 14, 18, 19, 20, 25, 26, 27, 28, 29, 32, 33, 36, 44, 48], "creat": [1, 4, 5, 6, 11, 17, 18, 19, 20, 25, 26, 27, 28, 29, 32, 33, 35, 36, 44, 45, 47, 48], "openssl_privatekei": [1, 2, 3, 6, 9, 10, 11, 17, 25, 26, 27, 28, 29, 31, 33, 35, 36, 38, 44, 45], "openssl_privatekey_pip": [1, 2, 3, 6, 17, 25, 26, 29, 31, 32, 36, 44, 45], "If": [1, 2, 3, 4, 5, 6, 7, 10, 11, 12, 14, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 35, 36, 37, 38, 42, 43, 44, 45, 46, 47, 48], "requisit": [1, 2, 3, 6], "avail": [1, 2, 3, 4, 6, 8, 10, 12, 14, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 42, 43, 44, 45, 48], "directli": [1, 2, 3, 6, 10, 43, 44], "command": [1, 2, 3, 6, 18, 19], "line": [1, 2, 3, 6, 18], "tool": [1, 2, 3, 4, 6, 25, 26], "genrsa": [1, 2, 3, 6], "ecparam": [1, 2, 3, 4, 6], "genkei": [1, 2, 3, 4, 6], "ani": [1, 2, 3, 4, 6, 9, 10, 11, 19, 20, 25, 26, 27, 28, 29, 32, 33, 36, 44, 45, 48], "other": [1, 2, 3, 4, 6, 11, 19, 20, 25, 26, 27, 28, 29, 32, 33, 36, 42, 43, 44, 47, 48], "pem": [1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 14, 17, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 35, 36, 37, 38, 43, 44, 45, 47, 48], "format": [1, 2, 3, 4, 5, 6, 7, 11, 14, 17, 18, 19, 20, 23, 24, 28, 29, 30, 31, 32, 33, 36, 43, 44, 45, 47, 48], "well": [1, 2, 3, 4, 6, 12, 28, 29, 32, 33, 36, 44], "account_uri": [1, 2, 3, 4, 6], "assum": [1, 2, 3, 4, 6, 7, 9, 11, 19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "uri": [1, 2, 3, 4, 6, 23, 24, 25, 26, 30, 42, 43, 46, 47, 48], "given": [1, 2, 3, 4, 5, 6, 17, 18, 25, 26, 37], "doe": [1, 2, 3, 4, 5, 6, 7, 8, 11, 14, 18, 19, 20, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 36, 37, 38, 43, 44, 45, 47, 48], "match": [1, 2, 3, 4, 6, 7, 12, 19, 20, 25, 26, 27, 32, 33, 44, 48], "exist": [1, 2, 3, 4, 5, 6, 9, 11, 18, 19, 20, 25, 26, 27, 28, 29, 32, 33, 36, 44, 45, 48], "fail": [1, 2, 3, 4, 6, 11, 19, 20, 23, 24, 25, 27, 28, 29, 30, 31, 32, 33, 36, 42, 43, 44, 46, 47, 48], "acme_directori": [1, 2, 3, 4, 6, 44], "directori": [1, 2, 3, 4, 6, 7, 44], "entri": [1, 2, 3, 4, 5, 6, 12, 15, 16, 23, 24, 30, 34, 39, 40, 41, 42, 43, 44, 46, 48], "point": [1, 2, 3, 4, 6, 7, 11, 16, 19, 23, 24, 25, 26, 30, 31, 34, 35, 42, 43, 44, 45, 46, 47, 48], "url": [1, 2, 3, 4, 6], "access": [1, 2, 3, 4, 6, 12, 17, 25, 26, 29, 31, 32, 36, 44, 45, 48], "server": [1, 2, 3, 4, 9, 11, 12, 14, 17, 19, 25, 26, 44, 45], "api": [1, 2, 3, 4, 6, 17, 44, 45], "For": [1, 2, 3, 4, 6, 10, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 39, 40, 41, 42, 43, 44, 45, 46], "safeti": [1, 2, 3, 4, 6], "reason": [1, 2, 3, 4, 6, 25, 26, 44, 45, 46, 47, 48], "default": [1, 2, 3, 4, 6, 7, 10, 11, 12, 14, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 35, 36, 37, 38, 42, 43, 44, 45, 46, 47, 48], "set": [1, 2, 3, 4, 5, 6, 11, 13, 14, 17, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 35, 36, 37, 38, 42, 43, 44, 45, 46, 47, 48], "stage": [1, 2, 3, 4, 6, 44], "v1": [1, 2, 3, 4, 6], "technic": [1, 2, 3, 4, 6, 11], "correct": [1, 2, 3, 4, 6, 7, 19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "untrust": [1, 2, 3, 4, 6, 17], "all": [1, 2, 3, 4, 6, 7, 8, 9, 11, 14, 19, 20, 23, 24, 28, 30, 31, 32, 33, 40, 41, 42, 43, 44, 45, 46, 47, 48], "endpoint": [1, 2, 3, 4, 6], "found": [1, 2, 3, 4, 6, 8, 12], "here": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 18, 19, 20, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 36, 37, 38, 43, 44, 45, 47, 48], "http": [1, 2, 3, 4, 5, 6, 11, 12, 14, 19, 25, 26, 32, 44, 45], "letsencrypt": [1, 2, 3, 4, 6, 44], "org": [1, 2, 3, 4, 6, 11, 25, 26, 44, 46, 47, 48], "doc": [1, 2, 3, 4, 6, 9, 10, 32, 44], "environ": [1, 2, 3, 4, 5, 6, 44], "buypass": [1, 2, 3, 4, 6, 44], "com": [1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 14, 17, 19, 23, 24, 25, 26, 28, 29, 31, 32, 35, 36, 42, 43, 44, 45, 46, 47, 48], "t": [1, 2, 3, 4, 6, 9, 19, 20, 24, 25, 27, 28, 29, 31, 32, 35, 36, 43, 44, 48], "63d4ai": [1, 2, 3, 4, 6], "go": [1, 2, 3, 4, 6], "ssl": [1, 2, 4, 5, 6, 7, 12, 14, 17, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 36, 43, 44, 45, 47, 48], "product": [1, 2, 3, 4, 6, 11, 33], "v02": [1, 2, 3, 4, 6, 44], "zerossl": [1, 2, 3, 4, 6], "dv90": [1, 2, 3, 4, 6], "sectigo": [1, 2, 3, 4, 6], "qa": [1, 2, 3, 4, 6], "secur": [1, 2, 3, 4, 6, 11, 14, 28, 44, 45], "trust": [1, 2, 3, 4, 6, 46, 47, 48], "provid": [1, 2, 3, 4, 5, 6, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 23, 25, 26, 30, 32, 33, 34, 36, 42, 44, 45, 46, 47, 48], "dv": [1, 2, 3, 4, 6], "servic": [1, 2, 3, 4, 6, 17, 44, 45], "test": [1, 2, 3, 4, 6, 11, 12, 20, 23, 24, 42, 43], "against": [1, 2, 3, 4, 6, 11, 14, 19], "acme_vers": [1, 2, 3, 4, 6], "integ": [1, 2, 3, 4, 6, 11, 12, 14, 17, 18, 19, 20, 23, 24, 25, 26, 27, 28, 30, 31, 32, 33, 34, 35, 42, 43, 44, 45, 46, 47, 48], "must": [1, 2, 3, 4, 5, 6, 9, 11, 12, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 36, 37, 38, 42, 43, 44, 45, 47, 48], "classic": [1, 2, 3, 4, 6], "standard": [1, 2, 3, 4, 6, 11], "deprec": [1, 2, 3, 4, 6, 14, 20, 43, 44, 48], "from": [1, 2, 3, 4, 6, 7, 9, 10, 11, 12, 17, 18, 19, 20, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 43, 44, 45, 47, 48], "3": [1, 2, 3, 4, 5, 6, 11, 12, 14, 18, 19, 20, 23, 24, 25, 26, 28, 29, 31, 32, 33, 35, 36, 42, 43, 44, 45, 48], "choic": [1, 2, 3, 4, 5, 6, 11, 12, 14, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 35, 36, 37, 38, 42, 43, 44, 45, 46, 47, 48], "request_timeout": [1, 2, 3, 4, 6], "time": [1, 2, 3, 4, 6, 11, 12, 14, 18, 19, 23, 24, 28, 30, 31, 34, 35, 42, 43, 44, 45, 46, 47, 48], "should": [1, 2, 3, 4, 5, 6, 8, 11, 12, 14, 19, 20, 23, 24, 25, 26, 27, 28, 29, 32, 33, 36, 42, 43, 44, 45, 47, 48], "wait": [1, 2, 3, 4, 6], "respons": [1, 2, 3, 4, 6, 11], "timeout": [1, 2, 3, 4, 6, 14], "appli": [1, 2, 3, 4, 6, 11, 14, 19, 20], "request": [1, 2, 3, 4, 5, 7, 8, 9, 10, 14, 15, 16, 17, 18, 19, 20, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "head": [1, 2, 3, 4, 6], "get": [1, 2, 3, 4, 6, 11, 17, 19, 20, 24, 25, 27, 28, 29, 31, 32, 35, 36, 43, 44, 47, 48], "post": [1, 2, 3, 4, 6, 11], "10": [1, 2, 3, 4, 6, 10, 14, 17, 18, 19, 20, 23, 30, 32, 33, 34, 36, 40, 42, 43, 44, 45, 46], "retrieve_ord": 1, "order": [1, 3, 6, 11, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 34, 35, 36, 39, 40, 41, 42, 43, 44, 46, 47, 48], "object": [1, 3, 6, 17, 19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "A": [1, 2, 5, 7, 8, 11, 14, 16, 24, 25, 26, 31, 35, 37, 39, 40, 41, 43, 44, 45, 47, 48], "ignor": [1, 2, 3, 7, 11, 19, 20, 23, 24, 25, 26, 28, 30, 33, 40, 42, 43, 44, 45, 46, 47, 48], "fetch": 1, "order_uri": [1, 3, 6], "alwai": [1, 2, 3, 4, 5, 6, 8, 10, 11, 12, 14, 19, 20, 26, 28, 31, 32, 33, 43, 44, 45, 48], "popul": 1, "option": [1, 2, 3, 4, 6, 11, 14, 18, 19, 20, 25, 26, 27, 28, 29, 32, 33, 36, 43, 44, 45, 48], "object_list": 1, "current": [1, 3, 8, 11, 12, 14, 19, 20, 25, 26, 27, 28, 29, 32, 33, 36, 44, 45, 48], "so": [1, 2, 3, 4, 6, 11, 12, 18, 19, 20, 23, 25, 27, 28, 29, 30, 31, 32, 33, 36, 42, 44, 46, 48], "result": [1, 4, 5, 9, 10, 11, 14, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 36, 42, 43, 44, 45, 46, 47, 48], "empti": [1, 3, 8, 41], "url_list": 1, "select_crypto_backend": [1, 2, 3, 4, 6, 14, 24, 25, 26, 27, 28, 31, 32, 33, 35, 36, 37, 38, 43, 44, 45], "determin": [1, 2, 3, 4, 6, 14, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 42, 43, 44, 45, 48], "auto": [1, 2, 3, 4, 6, 14, 20, 24, 25, 26, 27, 28, 31, 32, 33, 35, 36, 37, 38, 43, 44, 45], "tri": [1, 2, 3, 4, 6, 7, 14, 24, 25, 26, 27, 28, 31, 32, 33, 35, 36, 37, 38, 43, 44, 45], "fall": [1, 2, 3, 4, 6, 19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "back": [1, 2, 3, 4, 6, 9, 11, 19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "try": [1, 2, 3, 4, 6, 7, 8, 14, 18, 24, 25, 26, 27, 28, 31, 32, 33, 35, 36, 37, 38, 43, 44, 45], "binari": [1, 2, 3, 4, 6, 8, 14, 20, 27], "librari": [1, 2, 3, 4, 6, 8, 14, 19, 20, 23, 24, 25, 26, 27, 28, 30, 31, 32, 33, 35, 36, 37, 38, 42, 43, 44, 45, 46, 47, 48], "validate_cert": [1, 2, 3, 4, 6], "boolean": [1, 2, 3, 4, 6, 8, 11, 12, 14, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 36, 37, 42, 43, 44, 45, 46, 47, 48], "call": [1, 2, 3, 4, 6, 11, 28, 43, 44, 48], "valid": [1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 14, 17, 19, 23, 24, 25, 26, 37, 38, 43, 44, 45, 48], "tl": [1, 2, 4, 6, 14, 17, 25, 26, 28, 29, 32, 33, 36, 44, 45], "ever": [1, 2, 3, 4, 6], "fals": [1, 2, 3, 4, 6, 8, 9, 11, 12, 14, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 36, 37, 42, 43, 44, 45, 46, 47, 48], "purpos": [1, 2, 3, 4, 6, 11, 25, 26, 44, 45], "local": [1, 2, 3, 4, 6, 11, 12, 15, 16, 23, 30, 42, 44, 45, 46], "pebbl": [1, 2, 3, 4, 6], "true": [1, 2, 3, 4, 6, 8, 9, 11, 12, 14, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 36, 37, 42, 43, 44, 45, 46, 47, 48], "descript": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "action_group": [1, 2, 3, 4, 6], "action": [1, 2, 3, 4, 5, 6, 7, 8, 11, 14, 19, 20, 24, 25, 27, 28, 31, 32, 33, 35, 36, 37, 38, 43, 44, 47, 48], "group": [1, 2, 3, 4, 6, 19, 20, 23, 24, 25, 27, 28, 29, 30, 31, 32, 34, 35, 36, 42, 43, 44, 48], "module_default": [1, 2, 3, 4, 6], "check_mod": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 18, 19, 20, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 36, 37, 38, 43, 44, 45, 47, 48], "full": [1, 2, 3, 7, 8, 11, 18, 19, 20, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 36, 37, 38, 43, 44, 45, 47, 48], "modifi": [1, 3, 4, 5, 6, 7, 8, 11, 12, 14, 17, 18, 19, 20, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 36, 37, 38, 43, 44, 45, 47, 48], "state": [1, 2, 3, 5, 7, 8, 14, 18, 19, 20, 24, 25, 27, 28, 31, 32, 35, 36, 37, 38, 43, 44, 47, 48], "statu": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 18, 19, 20, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 36, 37, 38, 43, 44, 45, 47, 48], "predict": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 18, 19, 20, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 36, 37, 38, 43, 44, 45, 47, 48], "target": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 18, 19, 20, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 36, 37, 38, 43, 44, 45, 47, 48], "diff_mod": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 18, 19, 20, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 36, 37, 38, 43, 44, 45, 47, 48], "n": [1, 5, 6, 7, 8, 14, 24, 31, 35, 37, 43, 47], "Will": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 42, 43, 44, 45, 47, 48], "what": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 18, 19, 20, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 36, 37, 38, 43, 44, 45, 47, 48], "possibli": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 18, 19, 20, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 36, 37, 38, 43, 44, 45, 47, 48], "diff": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 18, 19, 20, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 36, 37, 38, 43, 44, 45, 47, 48], "mode": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 18, 19, 20, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 36, 37, 38, 43, 44, 45, 47, 48], "acme_account": [1, 3, 17], "acme_account_fact": 1, "befor": [1, 3, 12, 15, 23, 30, 34, 39, 40, 41, 42, 44, 45, 46, 48], "8": [1, 3, 4, 18, 19, 20, 25, 27, 28, 29, 32, 36, 44], "usag": [1, 3, 7, 10, 11, 17, 18, 25, 44, 45, 48], "did": [1, 3, 33], "new": [1, 2, 3, 4, 5, 6, 8, 9, 11, 12, 15, 16, 18, 19, 20, 23, 25, 26, 27, 28, 29, 30, 32, 33, 34, 35, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "enough": [1, 2, 3, 4, 6, 19, 20, 25, 27, 28, 29, 32, 36, 44], "instead": [1, 2, 3, 4, 6, 10, 18, 19, 25, 26, 32, 33, 48], "explicitli": [1, 2, 3, 4, 6, 29, 31, 32], "disabl": [1, 2, 3, 4, 6, 11, 18, 19, 31], "enabl": [1, 2, 3, 4, 6, 11, 19, 25, 26], "slower": [1, 2, 3, 4, 6], "less": [1, 2, 3, 4, 6, 12, 19], "have": [1, 2, 3, 4, 6, 10, 11, 12, 13, 15, 16, 19, 20, 23, 25, 27, 28, 29, 30, 31, 32, 33, 34, 36, 39, 40, 41, 42, 44, 45, 46, 48], "store": [1, 2, 3, 4, 6, 10, 11, 12, 18, 26, 28, 29, 44, 45], "although": [1, 2, 3, 4, 6], "chosen": [1, 2, 3, 4, 6, 28], "principl": [1, 2, 3, 4, 6], "far": [1, 2, 3, 4, 6], "develop": [1, 2, 3, 4, 6, 44], "we": [1, 2, 3, 4, 5, 6, 9, 28, 32, 33], "got": [1, 2, 3, 4, 6], "feedback": [1, 2, 3, 4, 6], "thei": [1, 2, 3, 4, 6, 12, 14, 18, 20, 27, 32, 33, 43, 47], "incommon": [1, 2, 3, 4, 6], "experi": [1, 2, 3, 4, 6], "problem": [1, 2, 3, 4, 6], "anoth": [1, 2, 3, 4, 6, 7, 9, 10, 11, 18, 23, 24, 30, 32, 42, 43, 45, 46, 47, 48], "pleas": [1, 2, 3, 4, 6, 7, 9, 14, 20, 25, 26, 27, 29, 32, 33, 44, 45], "issu": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 15, 16, 17, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "help": [1, 2, 3, 4, 6, 11], "u": [1, 2, 3, 4, 6, 19, 20, 25, 27, 28, 29, 32, 36, 44, 45], "mention": [1, 2, 3, 4, 6, 28], "appreci": [1, 2, 3, 4, 6], "name": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "etc": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 24, 25, 26, 27, 28, 29, 31, 32, 35, 36, 43, 44, 45, 47, 48], "pki": [1, 2, 3, 4, 5, 6, 8, 12], "cert": [1, 2, 3, 4, 5, 6, 8, 11, 14, 19, 23, 24, 25, 26, 28, 30, 37, 38, 42, 43, 46, 48], "regist": [1, 3, 5, 6, 7, 8, 9, 10, 14, 24, 26, 31, 33, 35, 37, 38, 43, 44, 45, 47], "account_data": 1, "verifi": [1, 7, 12, 17, 38, 44], "builtin": [1, 3, 7, 8, 14, 15, 16, 23, 24, 26, 30, 31, 33, 34, 35, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47], "assert": [1, 37, 38, 43, 44], "print": [1, 26, 40, 45, 47], "debug": [1, 2, 3, 4, 6, 8, 11, 14, 15, 16, 23, 24, 26, 30, 31, 33, 34, 35, 39, 40, 41, 42, 43, 45, 46, 47], "var": [1, 3, 6, 8, 14, 24, 26, 31, 35, 43, 45], "contact": [1, 2, 3, 6], "acme_account_kei": 1, "acme_account_uri": 1, "common": [1, 2, 3, 5, 6, 7, 8, 11, 12, 14, 18, 19, 20, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 36, 37, 38, 43, 44, 45, 47, 48], "document": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 13, 14, 18, 19, 20, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 36, 37, 38, 43, 44, 45, 47, 48], "follow": [1, 2, 3, 5, 6, 7, 8, 9, 11, 12, 13, 14, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 35, 36, 37, 38, 42, 43, 44, 45, 46, 47, 48], "field": [1, 2, 3, 5, 6, 7, 8, 11, 12, 14, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 42, 43, 44, 45, 47, 48], "uniqu": [1, 2, 3, 5, 6, 7, 8, 11, 12, 14, 18, 19, 20, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 36, 37, 38, 43, 44, 45, 47, 48], "dictionari": [1, 2, 3, 5, 6, 8, 11, 14, 18, 23, 24, 25, 26, 30, 31, 32, 33, 34, 35, 36, 42, 43, 46, 47, 48], "element": [1, 2, 3, 7, 8, 11, 12, 14, 16, 19, 23, 24, 25, 26, 28, 30, 31, 34, 35, 40, 42, 43, 46, 47, 48], "challeng": [1, 3, 6, 17, 44], "resourc": [1, 3, 5, 12], "sampl": [1, 3, 4, 5, 6, 8, 11, 12, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 42, 43, 44, 46, 47, 48], "mailto": [1, 2, 6], "me": [1, 2, 6], "tel": 1, "00123456789": 1, "queri": [1, 3, 24, 31, 35, 43], "public_account_kei": 1, "public": [1, 3, 11, 17, 19, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 42, 43, 44, 45], "json": [1, 6, 11, 14, 46, 47], "web": [1, 12], "kty": [1, 6], "ec": [1, 3, 17, 44, 45], "crv": 1, "p": [1, 23, 24, 30, 31, 34, 35, 42, 43], "256": [1, 19, 20, 39], "x": [1, 6, 14, 17, 23, 24, 30, 31, 34, 35, 47], "mkbctnickusdii11yss3526idz8aito7tu6kpaqv7d4": 1, "y": [1, 14, 23, 24, 30, 31, 34, 35, 42, 43], "4etl6srw2yilurn5vfvvhuhp7x8pxltmwwlbbm4ifym": 1, "deactiv": [1, 2, 3, 11], "none": [1, 2, 3, 4, 5, 6, 11, 12, 14, 18, 23, 24, 25, 26, 27, 28, 29, 31, 32, 33, 36, 38, 42, 43], "success": [1, 3, 6, 7, 8, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "error": [1, 3, 4, 6, 8, 11, 18, 44], "occur": [1, 48], "dure": [1, 2, 3, 11, 19, 28], "about": [1, 2, 11, 12, 14, 19, 25, 26, 30, 31], "structur": 1, "rfc7807": 1, "expir": [1, 3, 6, 10, 11, 12, 14, 42, 43, 44, 45, 48], "timestamp": [1, 19, 25, 27, 28, 29, 32, 36, 43, 44, 45, 47, 48], "describ": [1, 15, 23, 25, 26, 30, 34, 39, 40, 41, 42, 46], "rfc3339": [1, 11], "pend": [1, 11], "give": [1, 19, 20, 25, 27, 28, 29, 32, 36, 44], "expiri": [1, 11, 44, 45], "date": [1, 6, 7, 11, 14, 42, 43, 44, 45, 46, 47, 48], "final": [1, 3], "identifi": [1, 2, 3, 5, 11, 18, 19, 23, 24, 25, 26, 42, 43, 44, 45], "type": [1, 3, 5, 6, 10, 11, 12, 15, 16, 18, 19, 20, 23, 24, 25, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 48], "dn": [1, 3, 5, 9, 10, 12, 23, 24, 25, 26, 30, 42, 43, 44, 46, 47, 48], "ip": [1, 3, 5, 14, 23, 24, 25, 26, 42, 43], "hostnam": [1, 14], "address": [1, 2, 3, 5, 11, 12, 19, 23, 24, 30, 42, 43, 46, 47, 48], "wildcard": [1, 3], "actual": [1, 5, 19, 20, 25, 27, 28, 29, 32, 36, 44], "prefix": [1, 2, 25, 26], "notaft": [1, 42, 43], "notbefor": [1, 42, 43], "readi": [1, 11], "invalid": [1, 11, 40, 46, 47, 48], "felix": [1, 2, 4, 5, 6, 7, 8, 15, 16, 23, 24, 25, 26, 29, 30, 31, 32, 33, 34, 35, 36, 39, 40, 41, 42, 43, 45, 46, 47, 48], "fontein": [1, 2, 4, 5, 6, 7, 8, 15, 16, 23, 24, 25, 26, 29, 30, 31, 32, 33, 34, 35, 36, 39, 40, 41, 42, 43, 45, 46, 47, 48], "felixfontein": [1, 2, 4, 5, 6, 7, 8, 15, 16, 23, 24, 25, 26, 29, 30, 31, 32, 33, 34, 35, 36, 39, 40, 41, 42, 43, 45, 46, 47, 48], "tracker": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 15, 16, 17, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "repositori": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 15, 16, 17, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "sourc": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 15, 16, 17, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "submit": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 15, 16, 17, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "bug": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 15, 16, 17, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "report": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 15, 16, 17, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "featur": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 15, 16, 17, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "allow_cr": 2, "creation": [2, 3, 6, 18], "present": [2, 3, 11, 12, 14, 18, 19, 20, 23, 24, 25, 26, 27, 28, 32, 36, 39, 42, 43, 44, 48], "email": [2, 3, 11, 12, 23, 24, 25, 26, 30, 42, 43, 44, 45, 46, 47, 48], "ietf": [2, 3, 6, 25, 26], "html": [2, 3, 6, 25, 26, 32], "rfc8555": [2, 3, 6], "section": [2, 3, 4, 6, 25, 26], "7": [2, 3, 6, 14, 18, 19, 20, 23, 24, 28, 35, 42, 43, 46, 47], "absent": [2, 18, 19, 20, 25, 27, 28, 32, 36, 44, 48], "changed_kei": 2, "external_account_bind": 2, "extern": [2, 3], "bind": [2, 3], "data": [2, 3, 5, 11, 12, 17, 19, 20, 23, 24, 25, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 42, 43, 44, 45, 48], "like": [2, 3, 10, 44, 45], "specif": [2, 3, 4, 5, 6, 10, 11, 12, 18, 25, 26, 28, 43, 44, 45], "properli": [2, 6], "custom": [2, 11, 20], "alg": 2, "mac": [2, 28], "algorithm": [2, 14, 18, 19, 20, 23, 24, 30, 31, 32, 33, 34, 35, 36, 42, 43, 44, 45, 46, 47, 48], "probabl": 2, "hs256": 2, "hs384": 2, "hs512": 2, "base64": [2, 3, 14, 23, 24, 28, 32, 33, 37, 38, 42, 43, 47, 48], "encod": [2, 3, 6, 11, 14, 23, 24, 28, 30, 32, 33, 37, 38, 42, 43, 46, 47, 48], "pad": 2, "symbol": [2, 7, 19, 20, 25, 27, 28, 29, 32, 36, 44], "end": [2, 3, 11, 19, 20, 25, 27, 28, 29, 32, 36, 44], "omit": [2, 9, 18, 19, 20], "kid": 2, "new_account_key_cont": 2, "same": [2, 3, 11, 12, 14, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 42, 43, 44, 48], "restrict": [2, 3, 19, 25, 26], "new_account_key_src": 2, "new_account_key_passphras": 2, "inform": [2, 3, 4, 5, 6, 8, 10, 11, 12, 14, 17, 19, 20, 25, 26, 27, 28, 29, 32, 33, 36, 44, 45], "touch": 2, "terms_agre": [2, 3], "indic": [2, 3, 11, 14, 25, 26, 31, 33], "agre": [2, 3], "term": [2, 3, 6], "acme_certif": [2, 5, 6, 7, 17], "do": [2, 3, 6, 9, 10, 11, 12, 18, 19, 20, 25, 27, 28, 29, 31, 32, 33, 36, 44], "basic": [2, 3, 23, 24, 25, 26, 30, 31, 34, 35, 42, 43], "manag": [2, 3, 4, 5, 6, 11, 17, 36], "both": [2, 3, 11, 20, 24, 25, 26, 31, 35, 36, 37, 38, 43, 45, 47, 48], "recommend": [2, 11, 12, 44, 45], "modify_account": [2, 3], "automat": [2, 3, 4, 5, 6, 18, 32, 33, 44], "rfc": [2, 3, 4, 5, 6, 25, 26], "8555": [2, 3, 4, 5, 6], "retriev": [2, 3, 6, 14, 17, 25, 26, 44, 45], "fact": 2, "write": [2, 3, 6, 7, 9, 18, 19, 20, 25, 27, 28, 29, 32, 33, 36, 44, 45, 48], "acme_inspect": [2, 3, 4, 17], "make": [2, 3, 6, 11, 14, 18, 20, 30, 31, 32, 33, 37, 38, 43, 48], "sure": [2, 3, 18, 20, 30, 31, 32, 33, 37, 38, 48], "TOS": 2, "myself": [2, 3], "one": [2, 3, 4, 7, 9, 11, 12, 14, 16, 19, 20, 23, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 36, 37, 38, 42, 43, 44, 45, 46, 47, 48], "variabl": [2, 3, 9, 15, 16, 23, 24, 30, 31, 34, 39, 40, 41, 42, 46], "new_account_kei": 2, "renew": [3, 11], "implement": [3, 33, 44, 45], "01": [3, 6, 11, 17, 19, 32, 33, 36, 39, 48], "alpn": [3, 6, 17], "twice": 3, "two": [3, 25, 26, 41, 48], "differ": [3, 4, 10, 12, 14, 19, 20, 25, 27, 32, 36, 44, 48], "task": [3, 11, 19, 20, 32, 33, 43], "output": [3, 6, 8, 11, 19, 28, 32, 33], "first": [3, 5, 6, 10, 11, 12, 18, 28, 43], "record": [3, 11, 12], "pass": [3, 9, 11], "second": [3, 12, 14, 18, 43, 44, 45, 48], "between": [3, 18, 20, 39], "fulfil": 3, "step": [3, 11, 28], "whatev": 3, "mean": [3, 11, 37], "necessari": [3, 19], "destin": [3, 11, 19, 20, 25, 27, 28, 29, 32, 33, 36, 44], "webserv": 3, "serv": [3, 44], "perform": [3, 11, 12, 18, 19, 20, 25, 26, 27, 28, 29, 32, 36, 44, 48], "how": [3, 5, 12, 14, 17, 23, 24, 25, 26, 30, 32, 42, 43, 44, 46, 47, 48], "read": [3, 9, 18, 19, 20, 25, 27, 28, 29, 32, 33, 36, 37, 38, 44, 45, 48], "through": 3, "main": 3, "consid": [3, 19, 20, 25, 26, 27, 28, 32, 44], "experiment": 3, "accord": [3, 25, 26], "8738": 3, "account_email": 3, "associ": [3, 7, 11, 12], "account": [3, 4, 5, 6, 8, 11, 17], "more": [3, 7, 11, 14, 19, 25, 26, 28, 44, 45, 48], "than": [3, 4, 11, 12, 19, 20, 23, 24, 25, 26, 28, 30, 42, 43, 44, 45, 46, 47, 48], "updat": [3, 6, 12, 19, 20, 25, 27, 28, 29, 32, 33, 36, 44, 48], "most": [3, 18], "agreement": [3, 11, 23, 24, 42, 43], "latest": [3, 32, 48], "gather": 3, "chain_dest": 3, "chain": [3, 11, 14, 17, 44], "intermedi": [3, 7, 11, 28, 33, 44], "some": [3, 4, 14, 18, 19, 20, 25, 27, 28, 29, 32, 33, 36, 37, 38, 44, 46, 47], "assur": 3, "could": [3, 11, 25, 27, 31, 32, 44, 45], "foo": [3, 18, 19], "certain": [3, 19, 31, 43], "period": [3, 44, 45], "csr": [3, 5, 6, 7, 9, 10, 11, 17, 27, 28, 30, 32, 33, 36, 43, 44, 45], "src": [3, 9, 28, 45], "openssl_csr": [3, 10, 11, 17, 24, 26, 27, 28, 32, 33, 36, 44, 45], "req": 3, "mai": [3, 11, 19, 20, 25, 26, 27, 28, 29, 32, 36, 44, 45], "multipl": [3, 9, 10, 11, 17, 23, 24, 25, 26, 28, 30, 31, 34, 35, 42, 43], "subject": [3, 7, 10, 11, 14, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 32, 36, 42, 43, 44, 45, 46, 48], "altern": [3, 10, 11, 25, 26, 44, 45], "each": [3, 9, 11, 15, 16, 23, 30, 32, 33, 34, 36, 39, 40, 41, 42, 46], "lead": [3, 19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "individu": [3, 19], "sign": [3, 5, 8, 11, 14, 17, 19, 27, 28, 32, 33, 36, 37, 42, 43, 44, 45, 46, 47, 48], "bad": 3, "idea": 3, "view": 3, "precis": 3, "csr_content": [3, 9, 10, 44, 45], "openssl_csr_pip": [3, 9, 10, 17, 24, 25, 32, 33, 36, 44, 45], "ongo": 3, "previou": [3, 11, 19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "non": [3, 8, 11, 19, 41], "activ": [3, 6, 11, 12, 26, 33, 45], "taken": 3, "mark": [3, 25, 26], "no_log": [3, 32, 33], "up": [3, 5, 11, 15, 16, 18, 19, 20, 23, 25, 27, 28, 29, 30, 32, 34, 36, 39, 40, 41, 42, 43, 44, 46], "longer": [3, 18, 25, 26, 31], "wai": [3, 5, 19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "caus": [3, 14, 19, 20], "messag": 3, "come": 3, "unus": 3, "anywai": 3, "deactivate_authz": 3, "authent": [3, 6, 11, 12, 19, 25, 26, 44, 45], "authz": [3, 6], "after": [3, 18, 44, 45], "bound": 3, "remain": [3, 11, 12, 18, 19], "amount": 3, "re": [3, 12, 14, 20, 23, 24, 25, 26, 27, 28, 32, 33, 36, 42, 43, 44, 45, 48], "domain": [3, 5, 11, 17, 23, 24, 30, 42, 43, 46, 47, 48], "concern": [3, 25, 27, 32, 44], "dest": [3, 5, 7, 9, 26, 45], "fullchain_dest": [3, 6], "forc": [3, 11, 19, 20, 25, 27, 28, 29, 32, 33, 36, 44, 45, 48], "enforc": 3, "even": [3, 4, 11, 18, 19, 20, 27, 28, 32, 36, 44, 45], "remaining_dai": [3, 11], "especi": [3, 32], "addit": [3, 11, 18, 25, 26], "desir": [3, 18], "fullchain": [3, 6, 7], "want": [3, 9, 10, 11, 12, 18, 19, 20, 25, 26, 30, 31, 48], "avoid": [3, 11, 12, 19, 20, 25, 27, 28, 29, 31, 32, 36, 43, 44, 45, 48], "accident": [3, 30, 31, 32, 33], "old": [3, 11, 25, 26, 43, 44, 48], "number": [3, 11, 12, 14, 17, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 34, 35, 36, 42, 43, 44, 45, 46, 47, 48], "dai": [3, 11, 12, 14, 43, 44, 45], "left": [3, 11, 19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "being": [3, 11, 19, 32, 33, 43, 44, 45], "cert_dai": [3, 11], "challenge_data": [3, 5], "retrieve_all_altern": 3, "offer": [3, 9, 10], "These": [3, 17, 23, 25, 26, 30, 39, 42, 46], "togeth": [3, 18, 28], "all_chain": 3, "select_chain": 3, "criteria": 3, "select": [3, 5, 10, 20, 28, 32, 33], "until": [3, 7, 11, 14], "criterium": 3, "header": [3, 5, 6], "determinist": 3, "everi": [3, 11, 12, 16, 20, 23, 24, 25, 26, 29, 30, 31, 32, 33, 34, 35, 42, 43, 44, 45, 48], "consist": [3, 19, 20, 25, 27, 28, 29, 31, 32, 36, 44], "condit": [3, 14, 19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "issuer": [3, 7, 14, 23, 24, 25, 26, 42, 43, 44, 46, 47, 48], "authority_key_identifi": [3, 23, 24, 25, 26, 42, 43], "authoritykeyidentifi": [3, 23, 24, 25, 26, 42, 43], "extens": [3, 5, 6, 14, 20, 23, 24, 25, 26, 42, 43, 46, 47, 48], "base": [3, 11, 18, 19, 32, 33], "form": [3, 7, 11, 14, 23, 24, 39, 41, 42, 43, 46, 47, 48], "c4": 3, "a7": 3, "b1": [3, 32, 33, 36], "a4": 3, "7b": 3, "2c": [3, 32, 33, 36], "71": [3, 32, 33, 36], "fa": 3, "db": 3, "e1": [3, 32, 33, 36], "4b": 3, "90": [3, 11, 12, 44, 45], "75": [3, 32, 33, 36], "ff": [3, 23, 24, 25, 26, 30, 31, 34, 35, 42, 43], "15": [3, 6, 11, 15, 16, 28, 44, 45], "60": [3, 11, 12, 32, 33, 36], "85": [3, 32, 33, 36], "89": 3, "would": [3, 19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "commonnam": [3, 23, 24, 25, 26, 42, 43, 44, 46, 47, 48], "my": [3, 32, 47, 48], "prefer": [3, 23, 24, 30, 42, 43, 46, 47, 48], "root": [3, 11, 14, 17, 19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "cn": [3, 9, 11, 14, 25, 26, 48], "subject_key_identifi": [3, 23, 24, 25, 26, 42, 43], "subjectkeyidentifi": [3, 23, 24, 42, 43], "a8": 3, "4a": [3, 23, 24, 30, 31, 34, 35, 42, 43], "6a": [3, 32, 33, 36], "63": [3, 11, 23, 24, 30, 31, 34, 35, 42, 43], "04": [3, 23, 24, 30, 31, 32, 33, 34, 35, 36, 42, 43], "7d": [3, 48], "dd": [3, 19, 23, 24, 25, 26, 32, 33, 36, 42, 43], "ba": [3, 23, 24, 30, 31, 34, 35, 42, 43], "e6": [3, 23, 24, 30, 31, 34, 35, 42, 43], "d1": 3, "39": [3, 32, 33, 36], "b7": 3, "a6": [3, 32, 33, 36], "45": 3, "65": 3, "ef": [3, 32, 33, 36], "f3": 3, "a1": [3, 32, 33, 36], "test_certif": 3, "exclud": [3, 19, 23, 24, 25, 26], "leaf": [3, 7], "ident": [3, 19], "last": [3, 18, 23, 24, 42, 43, 46, 47, 48], "furthest": 3, "awai": 3, "Its": 3, "safe_file_oper": [3, 11, 19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "strict": [3, 6, 11, 19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "oper": [3, 11, 18, 19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "function": [3, 11, 18, 19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "ensur": [3, 11, 19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "proper": [3, 11, 19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "permiss": [3, 11, 19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "corrupt": [3, 11, 19, 20, 25, 26, 27, 28, 29, 32, 36, 44, 48], "At": [3, 19], "least": [3, 11, 25, 26, 37, 38], "control": [3, 6, 12, 14, 15, 16, 23, 30, 33, 42, 46, 47], "over": 3, "rate": [3, 4], "limit": [3, 4, 18, 19], "8737": [3, 5, 6], "acme_challenge_cert_help": [3, 17], "prepar": [3, 17], "certificate_complete_chain": [3, 17], "find": [3, 7, 12], "acme_certificate_revok": [3, 17], "account_private_kei": 3, "httpd": [3, 4, 5, 6], "crt": [3, 4, 5, 6, 11, 12, 43, 44, 45, 48], "sample_com_challeng": [3, 5], "hashi": 3, "vault": [3, 18, 33], "lookup": [3, 7, 15, 23, 26, 30, 33, 34, 40, 42, 45, 46], "hashi_vault": 3, "secret": [3, 32], "copi": [3, 7, 9, 11, 12, 26, 44, 45], "www": [3, 7, 9, 10, 11, 14, 19, 23, 24, 25, 26, 42, 43, 44, 45], "resource_valu": 3, "item": [3, 5, 25, 40], "loop": [3, 5, 19, 20, 25, 27, 28, 29, 32, 36, 40, 44], "dict2item": 3, "v01": 3, "30": [3, 11, 32, 33, 36], "aw": 3, "route53": 3, "zone": 3, "txt": [3, 12, 19], "ttl": 3, "enclos": 3, "quot": [3, 19, 20, 25, 27, 28, 29, 32, 36, 44], "regex_replac": [3, 25], "map": [3, 11, 25, 43], "challenge_data_dn": 3, "dst": 3, "x3": 3, "cross": 3, "identrust": 3, "As": [3, 19, 20, 25, 27, 28, 29, 32, 36, 44], "long": [3, 12, 14], "switch": 3, "own": [3, 9, 19, 20, 25, 26, 27, 28, 29, 32, 36, 44, 45, 48], "isrg": 3, "x1": 3, "compat": [3, 11, 14, 19, 28], "older": [3, 18, 28, 29, 32, 33, 36, 44], "client": [3, 11, 12, 14, 19, 25, 26, 44, 45, 46, 47, 48], "o": [3, 11, 14, 19, 20, 25, 26, 27, 28, 29, 32, 36, 44], "digit": [3, 41], "signatur": [3, 7, 17, 19, 23, 24, 25, 26, 38, 42, 43, 44, 46, 47, 48], "co": 3, "4": [3, 4, 8, 14, 18, 23, 24, 25, 26, 28, 36, 37, 38, 42, 43, 44], "itself": [3, 48], "concaten": [3, 7], "full_chain": 3, "token": [3, 19], "a5b1c3d2e9f8g7h6": 3, "12345": [3, 6, 23, 24, 42, 43], "2022": [3, 28], "08": [3, 11, 32, 33, 36], "01t01": 3, "02": [3, 11, 48], "34z": 3, "04t01": 3, "03": [3, 11, 25, 27, 28, 29, 32, 36, 44, 48], "45z": 3, "per": [3, 28], "yet": [3, 6], "_acm": 3, "known": [3, 11, 12, 18, 19, 20, 23, 24, 25, 27, 28, 29, 30, 31, 32, 34, 35, 36, 42, 43, 44, 46, 47, 48], "evagxfads6psrb2lav9izf17dt3juxgj": 3, "pct92wr": 3, "oa": 3, "resource_origin": 3, "origin": [3, 11, 14, 23, 24, 25, 27, 28, 29, 32, 36, 42, 43, 44, 48], "produc": 3, "blob": 3, "put": 3, "acmevalid": 3, "x509": 3, "editor": 3, "rfc8737": 3, "b64decod": [3, 9, 45], "jinja": 3, "filter": [3, 11, 14, 16, 19, 24, 25, 26, 31, 35, 43, 47, 48], "extract": [3, 14, 23, 24, 30, 42, 43, 48], "ilirfxkkxa": 3, "17dt3juxgj": 3, "finalization_uri": 3, "michael": 3, "gruener": 3, "mgruener": 3, "exactli": [4, 14, 20, 23, 24, 29, 41, 42, 43], "private_key_src": [4, 5], "private_key_cont": [4, 5, 25, 26, 28, 36], "valu": 4, "private_key_passphras": [4, 5, 29], "revoke_reason": 4, "One": [4, 19, 20, 23, 24, 25, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 42, 43, 44, 48], "revoc": [4, 11, 17, 25, 26, 46], "reasoncod": 4, "defin": [4, 10, 11, 12, 13, 18, 25, 26, 32, 33, 44, 45, 48], "rfc5280": [4, 25, 26], "possibl": [4, 11, 14, 23, 24, 42, 43], "unspecifi": [4, 19, 20, 25, 27, 28, 29, 32, 36, 44, 46, 47, 48], "keycompromis": 4, "cacompromis": 4, "affiliationchang": 4, "supersed": [4, 25, 26, 46, 47, 48], "cessationofoper": 4, "certificatehold": 4, "removefromcrl": 4, "9": [4, 14, 17, 20, 32, 33, 43, 44], "privilegewithdrawn": 4, "aacompromis": 4, "return": 4, "alreadi": [4, 11, 12, 18, 19, 20, 25, 26, 27, 28, 32, 36, 44, 45, 47, 48], "unchang": [4, 18], "depend": [4, 8, 11, 14, 23, 24, 30, 31, 32, 33, 34, 35, 42, 43, 48], "raw": [5, 6, 14, 29, 32, 33], "convert": [5, 11, 14, 17, 19, 20, 23, 24, 25, 26, 30, 32, 33, 42, 43, 46, 47, 48], "simpl": [5, 9, 10], "gener": [5, 7, 11, 17, 18, 23, 24, 29, 31, 35, 37, 38, 42, 43, 47], "dictsort": 5, "sample_com_challenge_cert": 5, "regular_certif": 5, "deliv": 5, "regular": [5, 6], "connect": [5, 6, 14], "except": [5, 6, 14, 20, 23, 24, 25, 26, 28, 32, 33, 42, 43, 48], "challenge_certif": 5, "achiev": 5, "veri": [5, 10, 47], "nginx": [5, 6], "search": 5, "ssl_preread": 5, "ssl_preread_alpn_protocol": 5, "rout": 5, "private_kei": [5, 19, 33], "identifier_typ": 5, "self": [5, 9, 17, 25, 26, 43, 44, 45], "place": [5, 23, 24, 30, 31, 34, 35, 42, 43], "attempt": [6, 20], "encount": 6, "wish": 6, "investig": 6, "sent": [6, 12], "method": [6, 12, 19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "otherwis": [6, 11, 14, 18, 19, 20, 23, 24, 25, 27, 28, 29, 32, 36, 42, 43, 44, 46, 47, 48], "fail_on_acme_error": 6, "id": [6, 11, 12, 19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "localhost": [6, 14, 25, 45], "m": [6, 14, 19, 25, 26, 43, 44, 45, 48], "acct": 6, "newaccount": 6, "termsofserviceagre": 6, "account_cr": 6, "locat": [6, 11, 12, 44, 47, 48], "account_info": 6, "to_json": 6, "certificate_request": 6, "someth": [6, 28, 43], "went": 6, "wrong": 6, "output_json": 6, "selectattr": 6, "equalto": 6, "http01challeng": 6, "manual": [6, 12], "a85k3x9f91a4": 6, "random": [6, 12], "33417": 6, "keychang": 6, "meta": 6, "caaident": 6, "termsofservic": 6, "le": 6, "sa": 6, "novemb": 6, "2017": 6, "pdf": 6, "websit": 6, "newnonc": 6, "nonc": 6, "neword": 6, "revokecert": 6, "lowercas": 6, "boulder": 6, "cach": 6, "max": 6, "ag": 6, "close": [6, 18], "length": [6, 20, 44], "904": 6, "applic": [6, 11, 12, 19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "cooki": 6, "cookies_str": 6, "wed": 6, "07": [6, 23, 24, 30, 31, 34, 35, 42, 43], "nov": 6, "2018": [6, 11], "12": [6, 14, 17, 25, 26, 27, 32, 33, 36, 44, 45], "34": [6, 23, 24, 30, 31, 34, 35, 42, 43], "56": [6, 32, 33, 36], "gmt": [6, 44, 45], "44": [6, 23, 24, 25, 26, 42, 43], "rel": [6, 19, 25, 26, 43, 44, 45, 48], "msg": [6, 14, 15, 16, 23, 30, 33, 34, 39, 40, 41, 42, 46, 47], "ok": 6, "byte": [6, 18, 23, 24, 25, 26, 39, 42, 43], "pragma": 6, "replai": 6, "1234567890abcdefghijklmnopqrstuvwxyzabcdefgh": 6, "200": 6, "transport": [6, 31], "604800": 6, "46161": 6, "frame": 6, "deni": 6, "pars": [6, 7, 14, 19, 20, 23, 24, 25, 27, 28, 29, 31, 32, 36, 39, 42, 43, 44], "output_text": 6, "text": [6, 11, 12], "see": [7, 9, 18, 20], "note": [7, 9, 18, 19, 23, 24, 27, 28, 29, 30, 31, 32, 33, 42, 46], "input_chain": 7, "intermediate_certif": 7, "filenam": [7, 11, 16, 19, 20, 25, 27, 28, 32, 36, 44, 48], "subdirectori": 7, "scan": 7, "root_certif": 7, "www_ansible_com": 7, "completechain": 7, "join": [7, 14, 23, 30, 42], "complete_chain": 7, "rootchain": 7, "input": [7, 12, 28], "python": [8, 14, 23, 24, 27, 28, 30, 31, 35, 36, 37, 38, 42, 43, 44, 45, 46, 47, 48], "crypto_inform": 8, "show": [8, 9, 10, 15, 16, 23, 30, 33, 34, 42, 44, 46], "openssl_pres": 8, "usr": [8, 19, 20, 25, 27, 28, 29, 32, 36, 44], "bin": [8, 19, 20, 25, 27, 28, 29, 32, 36, 44], "1m": 8, "version_output": 8, "14": [8, 32, 33, 36], "dec": 8, "2021": 8, "python_cryptography_cap": 8, "python_cryptography_instal": 8, "theoret": 8, "higher": [8, 11, 15, 16, 23, 30, 34, 39, 40, 41, 42, 46], "libssl": 8, "has_dsa": 8, "dsa": [8, 10, 20, 23, 24, 30, 31, 32, 33, 34, 35, 37, 38, 42, 43], "has_dsa_sign": 8, "has_ec": 8, "has_ec_sign": 8, "has_ed25519": 8, "ed25519": [8, 20, 23, 24, 30, 31, 32, 33, 34, 35, 37, 38, 42, 43], "has_ed25519_sign": 8, "has_ed448": 8, "ed448": [8, 23, 24, 30, 31, 32, 33, 34, 35, 37, 38, 42, 43], "has_ed448_sign": 8, "has_rsa": 8, "has_rsa_sign": 8, "has_x25519": 8, "x25519": [8, 10, 23, 24, 30, 31, 32, 33, 34, 35, 42, 43], "has_x25519_seri": 8, "serial": [8, 11, 14, 17, 19, 23, 24, 25, 26, 41, 42, 43, 46, 47, 48], "has_x448": 8, "x448": [8, 23, 24, 30, 31, 32, 33, 34, 35, 42, 43], "python_cryptography_import_error": 8, "commun": [9, 10], "crypto": [9, 10], "guid": [9, 10], "exampl": [9, 10], "password": [9, 10, 11, 12, 18, 20, 25, 26, 28, 38, 44, 45, 48], "protect": [9, 10, 18, 20, 25, 26, 32, 33, 36, 38, 44, 45, 48], "secret_ca_passphras": 9, "instruct": [9, 12], "ask": 9, "pai": 9, "commerci": [9, 25, 26], "passphras": [9, 10, 18, 20, 25, 26, 28, 29, 30, 31, 32, 33, 36, 38, 44, 45, 48], "privatekey_path": [9, 10, 24, 25, 26, 28, 35, 36, 37, 38, 43, 44, 45, 48], "privatekey_passphras": [9, 10, 25, 26, 28, 36, 38, 44, 45, 48], "common_nam": [9, 10, 24, 25, 26], "use_common_name_for_san": [9, 25, 26], "san": [9, 10, 11, 25, 26], "don": 9, "basic_constraint": [9, 23, 24, 25, 26, 42, 43], "basic_constraints_crit": [9, 23, 24, 25, 26, 42, 43], "key_usag": [9, 23, 24, 25, 26, 42, 43, 44], "keycertsign": 9, "key_usage_crit": [9, 23, 24, 25, 26, 42, 43], "ca_csr": 9, "x509_certif": [9, 10, 12, 17, 22, 25, 26, 27, 28, 32, 33, 36, 37, 43, 45], "selfsign": [9, 10, 43, 44, 45], "x509_certificate_pip": [9, 17, 25, 26, 32, 33, 36, 43, 44], "server_1": 9, "while": [9, 11, 12, 32, 33, 44, 45], "our": [9, 45], "server_2": 9, "materi": [9, 31, 33], "leav": [9, 31], "respect": [9, 18, 23, 25, 26, 30, 34, 42], "delegate_to": [9, 14, 45], "run_onc": [9, 14], "subject_alt_nam": [9, 10, 11, 23, 24, 25, 26, 30, 42, 43, 44], "ownca": [9, 44, 45], "ownca_path": [9, 44, 45], "ownca_privatekey_path": [9, 44, 45], "ownca_privatekey_passphras": [9, 44, 45], "ownca_not_aft": [9, 44, 45], "365d": [9, 44, 45], "year": [9, 10, 11, 44, 45], "ownca_not_befor": [9, 44, 45], "1d": [9, 32, 33, 36, 43], "yesterdai": 9, "abov": 9, "procedur": 9, "idempot": [9, 18, 19, 28, 33, 44, 45, 48], "extend": [9, 11], "stat": 9, "certificate_exist": 9, "slurp": [9, 45], "els": [9, 28], "kind": 10, "start": [10, 23, 24, 30, 31, 34, 35, 42, 43, 44, 45], "paramet": [10, 15, 16, 17, 34, 39, 40, 41], "4096": [10, 20, 27, 31, 32, 33, 35], "bit": [10, 20, 23, 24, 27, 30, 31, 32, 33, 34, 35, 42, 43], "size": [10, 12, 18, 20, 23, 24, 27, 30, 31, 32, 33, 34, 35, 42, 43], "changem": 10, "proce": 10, "selfsigned_not_aft": [10, 44, 45], "roughli": 10, "selfsigned_not_befor": [10, 44, 45], "now": [10, 11, 19, 44, 45, 48], "properti": 10, "constraint": [10, 25, 26], "organization_nam": [10, 25, 26], "inc": [10, 11], "reissu": 11, "credenti": [11, 12, 44, 45], "organ": [11, 46], "system": [11, 19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "those": [11, 19, 20, 25, 27, 28, 29, 32, 36, 44], "pyyaml": [11, 12], "11": [11, 12, 14, 19, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 34, 35, 36, 39, 41, 42, 43, 44, 46, 47, 48], "additional_email": 11, "receiv": [11, 12, 19, 20, 25, 27, 28, 29, 32, 36, 44], "deliveri": 11, "notic": 11, "notif": 11, "backup": [11, 20, 25, 27, 28, 29, 32, 33, 36, 44, 48], "made": [11, 12, 19], "cert_expiri": 11, "compliant": 11, "2020": [11, 19, 20, 25, 27, 28, 29, 32, 36, 44], "23": [11, 28], "23t15": 11, "00": [11, 19, 23, 24, 25, 26, 32, 33, 36, 39, 41, 42, 43, 44, 45], "05z": 11, "request_typ": 11, "issuanc": [11, 44, 45], "subsequ": 11, "initi": [11, 14], "month": [11, 44, 45], "choos": 11, "adjust": [11, 20, 44, 45], "eastern": 11, "est": [11, 44, 45], "unintend": 11, "effect": 11, "pool": 11, "inventori": 11, "model": 11, "cert_lifetim": 11, "lifetim": [11, 44, 45], "cert_typ": 11, "cds_individu": 11, "cds_group": 11, "cds_ent_lit": [11, 44, 45], "cds_ent_pro": [11, 44, 45], "smime_": [11, 44, 45], "p1y": 11, "p2y": 11, "p3y": 11, "standard_ssl": [11, 44, 45], "advantage_ssl": [11, 44, 45], "uc_ssl": [11, 44, 45], "ev_ssl": [11, 44, 45], "wildcard_ssl": [11, 44, 45], "private_ssl": [11, 44, 45], "pd_ssl": [11, 44, 45], "code_sign": 11, "ev_code_sign": 11, "client_id": [11, 12], "under": [11, 12], "primari": [11, 12], "cannot": [11, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 42, 43, 44, 48], "distinguish": 11, "repres": [11, 39], "64": 11, "around": [11, 31], "overrid": [11, 15, 16, 23, 30, 34, 39, 40, 41, 42, 46], "eku": 11, "ou": [11, 14, 25, 26], "organiz": 11, "unit": 11, "replac": [11, 33, 48], "ti": 11, "ct_log": 11, "complianc": 11, "browser": 11, "transpar": 11, "ct": 11, "log": [11, 19, 30, 31, 32, 33], "best": [11, 19, 20, 25, 27, 28, 29, 32, 36, 44], "practic": 11, "techniqu": 11, "owner": [11, 12, 19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "monitor": 11, "elig": [11, 12], "custom_field": 11, "date1": 11, "date2": 11, "date3": 11, "date4": 11, "date5": 11, "dropdown1": 11, "dropdown": 11, "dropdown2": 11, "dropdown3": 11, "dropdown4": 11, "dropdown5": 11, "email1": 11, "email2": 11, "email3": 11, "email4": 11, "email5": 11, "number1": 11, "float": [11, 18], "number2": 11, "number3": 11, "number4": 11, "number5": 11, "text1": 11, "maximum": [11, 23, 24, 30, 31, 34, 35, 42, 43, 44, 45], "500": 11, "charact": 11, "text10": 11, "text11": 11, "text12": 11, "text13": 11, "text14": 11, "text15": 11, "text2": 11, "text3": 11, "text4": 11, "text5": 11, "text6": 11, "text7": 11, "text8": 11, "text9": 11, "server_auth": 11, "client_auth": 11, "server_and_client_auth": 11, "end_user_key_storage_agr": 11, "user": [11, 17, 18, 20, 25, 27, 28, 29, 32, 36, 44, 48], "code": 11, "cryptograph": [11, 17], "hardwar": 11, "csp": 11, "subscript": 11, "acknowledg": 11, "entrust_api_client_cert_key_path": [11, 12, 44, 45], "entrust_api_client_cert_path": [11, 12, 44, 45], "entrust_api_kei": [11, 12, 44, 45], "entrust_api_specification_path": [11, 12, 44, 45], "configur": [11, 12, 13, 15, 16, 18, 19, 20, 23, 25, 27, 28, 29, 30, 32, 33, 34, 36, 39, 40, 41, 42, 44, 45, 46, 48], "keep": [11, 12, 32, 44, 45], "download": [11, 12, 44, 45], "cloud": [11, 12, 44, 45], "net": [11, 12, 44, 45], "entrustcloud": [11, 12, 44, 45], "cm": [11, 12, 44, 45], "yaml": [11, 12, 44, 45], "entrust_api_us": [11, 12, 44, 45], "usernam": [11, 12, 19, 20, 25, 27, 28, 29, 32, 36, 44, 45, 48], "regardless": 11, "within": [11, 12], "past": [11, 42, 43], "full_chain_path": 11, "unless": [11, 12, 18, 19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "behavior": [11, 20, 28, 32, 33, 44], "neither": 11, "nor": 11, "reus": 11, "unapprov": 11, "failur": [11, 14], "reserv": 11, "futur": 11, "calcul": 11, "tracking_id": 11, "obtain": [11, 12], "act": [11, 19], "upon": [11, 23, 24, 30, 31, 34, 35, 42, 43], "refer": 11, "validate_onli": 11, "cautiou": 11, "along": 11, "requester_email": 11, "track": [11, 44, 45], "requester_nam": 11, "requester_phon": 11, "phone": [11, 44, 45], "arrai": 11, "subjectaltnam": [11, 25, 26], "understand": [11, 18], "tld": 11, "save": [11, 27], "referenc": 11, "tracking_info": 11, "free": 11, "attach": [11, 25, 26], "partial": 11, "to_seri": [11, 14, 17, 23, 24, 39, 42, 43, 46, 47, 48], "colon": [11, 14, 17, 19, 23, 24, 25, 26, 42, 43, 46, 47, 48], "separ": [11, 14, 17, 18, 19, 23, 24, 25, 26, 42, 43, 46, 47, 48], "hex": [11, 14, 17, 19, 23, 24, 25, 26, 42, 43, 46, 47, 48], "bare": 11, "minimum": [11, 20, 44, 45], "jo": [11, 44], "jdoe": [11, 25, 44], "555": [11, 44], "5555": [11, 44], "apiusernam": [11, 12, 44], "lv": [11, 12, 44], "32": [11, 12, 19, 23, 24, 30, 31, 32, 33, 34, 35, 36, 42, 43, 44], "cd9lnt": [11, 12, 44], "20": [11, 25], "79": [11, 32, 33, 36], "migrat": 11, "2378915": 11, "rather": 11, "overridden": [11, 27, 28], "testcertif": 11, "administr": [11, 12], "via": [11, 44], "itsupport": 11, "jsmith": 11, "admin": [11, 12], "invoic": 11, "25": [11, 32, 33, 36], "342": 11, "sale": 11, "red": 11, "backup_fil": [11, 25, 27, 28, 29, 32, 36, 44, 48], "2019": [11, 19, 25, 27, 28, 29, 32, 36, 44, 45, 48], "09": [11, 23, 24, 25, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 42, 43, 44, 48], "22": [11, 14, 19, 23, 24, 25, 26, 27, 28, 29, 32, 33, 36, 39, 41, 42, 43, 44, 46, 47, 48], "backup_full_chain_fil": 11, "253": 11, "cert_detail": 11, "guarante": 11, "forward": [11, 19], "releas": [11, 19], "take": [11, 15, 16, 19, 20, 23, 24, 25, 27, 30, 31, 32, 34, 35, 36, 42, 43, 44, 46, 47, 48], "howev": [11, 18, 19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "audit": 11, "cert_statu": 11, "expand": 11, "approv": [11, 12], "declin": [11, 12], "na": 11, "pending_quorum": 11, "suspend": 11, "serial_numb": [11, 14, 19, 42, 43, 46, 47, 48], "33": [11, 14, 19, 23, 24, 25, 26, 30, 31, 32, 33, 34, 35, 36, 39, 41, 42, 43, 46, 47, 48], "1235262234164342": 11, "380079": 11, "chri": [11, 12], "trufan": [11, 12], "ctrufan": [11, 12], "verification_method": 12, "domain_statu": 12, "dns_content": 12, "dns_locat": 12, "dns_resource_typ": 12, "web_serv": 12, "file_cont": 12, "file_loc": 12, "e": [12, 25, 26], "were": [12, 14], "pure": 12, "domain_nam": 12, "reverifi": 12, "verification_email": 12, "ownership": [12, 19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "whoi": 12, "construct": 12, "webmast": 12, "hostmast": 12, "postmast": 12, "subdomain": 12, "top": 12, "level": [12, 19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "example1": 12, "example2": 12, "preconstruct": 12, "namespac": 12, "exact": [12, 48], "verif": 12, "prove": 12, "There": [12, 18], "small": [12, 17], "delai": 12, "typic": 12, "Be": 12, "awar": 12, "mani": [12, 14, 48], "ecs_certif": [12, 17], "revalid": 12, "fewer": [12, 44, 45], "ev": 12, "belong": [12, 25, 26], "expect": [12, 32, 33, 43, 44, 45, 48], "ab23cd41432522ff2526920393982fab": 12, "_pki": 12, "cancel": 12, "initial_verif": 12, "re_verif": 12, "ev_days_remain": 12, "submiss": 12, "never": [12, 14, 19, 20, 32, 33, 41, 44, 45, 48], "greater": [12, 19], "ov_days_remain": 12, "ev_elig": 12, "94": [12, 23, 24, 30, 31, 32, 33, 34, 35, 36, 42, 43], "ov_elig": 12, "abcd": 12, "ov": 12, "129": 12, "declar": 13, "No": 13, "sni": 14, "proxy_host": 14, "asn1_base64": 14, "asn": [14, 23, 24, 42, 43, 44, 45, 46, 47, 48], "claim": 14, "ca_cert": [14, 45], "cipher": [14, 18, 32, 33], "libressl": 14, "fine": 14, "proxi": 14, "proxy_port": 14, "8080": 14, "server_nam": 14, "starttl": 14, "mysql": 14, "succe": 14, "rdp": 14, "3389": 14, "googl": 14, "443": 14, "expire_dai": 14, "not_aft": [14, 42, 43, 44], "to_datetim": 14, "d": [14, 19, 43, 44, 45, 48], "h": [14, 19, 43, 44, 45, 48], "sz": 14, "ansible_date_tim": 14, "iso8601": 14, "dt": 14, "asn1_data": 14, "surviv": 14, "displai": [14, 19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "github": [14, 17], "80258": 14, "usual": [14, 19, 23, 24, 42, 43], "malform": [14, 23, 24, 42, 43], "critic": [14, 23, 24, 25, 26, 42, 43, 46, 47, 48], "not_befor": [14, 42, 43, 44], "signature_algorithm": [14, 19, 42, 43, 44], "john": 14, "westcott": 14, "iv": 14, "gnupg": [15, 16], "public_kei": [15, 16, 19, 20, 23, 24, 30, 31, 42, 43, 44], "low": [15, 16, 23, 30, 34, 39, 40, 41, 42, 46], "high": [15, 16, 23, 30, 34, 39, 40, 41, 42, 46], "prioriti": [15, 16, 23, 30, 34, 39, 40, 41, 42, 46], "lower": [15, 16, 23, 30, 34, 39, 40, 41, 42, 46], "author": 17, "newer": [17, 19, 31, 32, 33, 37, 38], "matrix": 17, "room": 17, "im": 17, "question": 17, "irc": 17, "channel": [17, 31], "libera": 17, "network": [17, 39], "mail": 17, "project": 17, "subscrib": 17, "acm": [17, 44], "requir": [17, 34, 39, 40, 41], "send": [17, 28, 46, 47], "direct": 17, "crypto_info": 17, "capabl": 17, "entrust": [17, 44, 45], "ecs_domain": 17, "get_certif": 17, "port": [17, 19], "luks_devic": 17, "luk": 17, "devic": 17, "openssh_cert": 17, "openssh": [17, 36], "openssh_keypair": [17, 36], "openssl_csr_info": [17, 25, 26, 44], "openssl_dhparam": [17, 25, 26, 28, 32, 33, 36, 44, 45], "diffi": [17, 25, 26, 28, 32, 33, 36, 44, 45], "hellman": [17, 25, 26, 28, 32, 33, 36, 44, 45], "openssl_pkcs12": [17, 25, 26, 27, 32, 33, 36, 44, 45], "pkc": [17, 19, 25, 26, 27, 32, 33, 36, 44, 45], "archiv": [17, 25, 26, 27, 32, 33, 36, 44, 45], "openssl_privatekey_convert": 17, "openssl_privatekey_info": [17, 32, 33, 35, 44], "openssl_publickei": [17, 25, 26, 27, 28, 29, 32, 33, 35, 44, 45], "openssl_publickey_info": 17, "openssl_signatur": [17, 37], "openssl_signature_info": [17, 38], "x509_certificate_info": [17, 21, 44], "509": [17, 47], "x509_crl": [17, 47], "crl": [17, 25, 26], "x509_crl_info": 17, "gpg_fingerprint": 17, "gpg": 17, "fingerprint": [17, 20, 23, 24, 30, 31, 32, 33, 34, 35, 36, 42, 43], "parse_seri": [17, 19, 25, 26, 48], "split_pem": 17, "split": 17, "destroi": 18, "open": 18, "cryptsetup": 18, "wipef": 18, "lsblk": 18, "blkid": 18, "label": [18, 23, 24, 30, 42, 43, 46, 47, 48], "uuid": 18, "allow_discard": 18, "17": 18, "discard": 18, "also": [18, 20], "trim": 18, "pre": [18, 28], "kernel": 18, "ae": [18, 32, 33, 36], "plain": 18, "spec": 18, "essiv": 18, "cbc": 18, "sha256": [18, 20, 23, 24, 25, 26, 30, 31, 32, 33, 34, 35, 36, 42, 43, 44, 45, 48], "dev": 18, "sda1": 18, "force_remove_last_kei": 18, "bewar": 18, "hash": [18, 23, 24, 30, 31, 34, 35, 42, 43], "setup": 18, "scheme": 18, "volum": 18, "digest": [18, 25, 26, 44, 45, 46, 47, 48], "keyfil": 18, "unlock": 18, "plaintext": 18, "danger": 18, "keysiz": [18, 32], "keyslot": 18, "16": 18, "add": [18, 19], "luks1": 18, "luks2": 18, "31": 18, "later": 18, "new_keyfil": 18, "new_keyslot": 18, "new_passphras": 18, "pbkdf": 18, "deriv": 18, "argon2i": 18, "argon2id": 18, "pbkdf2": 18, "iteration_count": 18, "iter": 18, "count": 18, "iteration_tim": 18, "millisecond": 18, "memori": 18, "cost": 18, "kilobyt": 18, "argon": 18, "parallel": 18, "thread": 18, "perf_no_read_workqueu": 18, "bypass": 18, "dm": 18, "crypt": 18, "intern": 18, "workqueu": 18, "synchron": 18, "perf_no_write_workqueu": 18, "perf_same_cpu_crypt": 18, "cpu": 18, "io": 18, "unbound": 18, "balanc": 18, "perf_submit_from_crypt_cpu": 18, "offload": 18, "situat": [18, 20, 32, 33], "block": [18, 33], "singl": 18, "degrad": 18, "significantli": 18, "persist": 18, "metadata": 18, "them": [18, 19, 20, 25, 26, 27, 28, 29, 32, 36, 44], "next": [18, 31], "remove_keyfil": 18, "filesystem": [18, 19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "remove_keyslot": 18, "slot": 18, "remove_passphras": 18, "sector_s": 18, "sector": 18, "lock": 18, "suffic": 18, "explicit": 18, "With": 18, "loop0": 18, "mycrypt": 18, "keyfile2": 18, "personallabelnam": 18, "03ecd578": 18, "fad4": 18, "4e6c": 18, "9348": 18, "842e3e8fa340": 18, "suppli": 18, "c1da9a58": 18, "2fde": 18, "4256": 18, "9d9f": 18, "6ab008b4dd1b": 18, "jan": 18, "pokorni": 18, "japokorn": 18, "regener": [19, 20, 25, 26, 27, 28, 32, 33, 36, 44, 45, 48], "ssh": [19, 20], "keygen": [19, 20], "attr": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "flag": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "look": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "man": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "page": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "chattr": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "lsattr": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "equival": [19, 20, 32, 48], "fed": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "chown": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "preserv": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "ignore_timestamp": [19, 44, 45, 48], "valid_from": 19, "valid_to": 19, "meet": 19, "chmod": [19, 20, 25, 27, 28, 29, 32, 36, 44], "rememb": [19, 20, 25, 27, 28, 29, 32, 36, 44], "octal": [19, 20, 25, 27, 28, 29, 32, 36, 44], "correctli": [19, 20, 25, 27, 28, 29, 32, 36, 44], "644": [19, 20, 25, 27, 28, 29, 32, 36, 44], "1777": [19, 20, 25, 27, 28, 29, 32, 36, 44], "convers": [19, 20, 25, 27, 28, 29, 32, 36, 44], "zero": [19, 20, 25, 27, 28, 29, 32, 36, 44], "0755": [19, 20, 25, 27, 28, 29, 32, 36, 44], "sometim": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "circumst": [19, 20, 25, 27, 28, 29, 32, 36, 44], "rule": [19, 20, 25, 27, 28, 29, 32, 36, 44], "decim": [19, 20, 25, 27, 28, 29, 32, 36, 44], "unexpect": [19, 20, 25, 27, 28, 29, 32, 36, 44], "rwx": [19, 20, 25, 27, 28, 29, 32, 36, 44], "rw": [19, 20, 25, 27, 28, 29, 32, 36, 44], "g": [19, 20, 23, 24, 25, 27, 28, 29, 30, 31, 32, 34, 35, 36, 42, 43, 44], "r": [19, 20, 24, 25, 27, 28, 29, 31, 32, 35, 36, 43, 44], "umask": [19, 20, 25, 27, 28, 29, 32, 36, 44], "newli": [19, 20, 25, 27, 28, 29, 32, 36, 44], "cve": [19, 20, 25, 27, 28, 29, 32, 36, 44], "1736": [19, 20, 25, 27, 28, 29, 32, 36, 44], "clear": 19, "shell": 19, "agent": 19, "permit": [19, 23, 24, 25, 26], "pty": 19, "alloc": 19, "rc": 19, "sshd": 19, "x11": 19, "address_list": 19, "comma": 19, "netmask": 19, "pair": [19, 25, 26, 48], "cidr": 19, "numer": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "confus": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "pkcs11_provid": 19, "resid": 19, "share": 19, "libpkcs11": 19, "signing_kei": 19, "princip": 19, "By": [19, 20, 25, 27, 28, 29, 32, 33, 36, 44, 48], "unread": 19, "partial_idempot": [19, 20, 32, 33], "valid_at": [19, 43, 44], "full_idempot": [19, 20, 32, 33], "compar": 19, "selevel": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "selinux": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "context": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "ml": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "mc": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "rang": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "_default": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "portion": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "polici": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "keyrevocationlist": 19, "again": [19, 46, 47], "serol": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "role": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "setyp": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "seuser": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "sha": 19, "refus": 19, "sha2": 19, "512": 19, "correspond": [19, 20, 32, 33, 39], "sshd_config": 19, "casignaturealgorithm": 19, "keyword": [19, 33, 43, 44], "prior": 19, "unsafe_writ": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "influenc": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "atom": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "prevent": [19, 20, 25, 27, 28, 29, 31, 32, 36, 44, 48], "inconsist": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "just": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "broken": [19, 20, 25, 27, 28, 29, 32, 33, 36, 44, 48], "docker": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "mount": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "insid": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "unsaf": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "manner": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "doesn": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "race": [19, 20, 25, 27, 28, 29, 32, 36, 44, 48], "use_ag": 19, "interpret": [19, 39, 43, 44, 45, 48], "utc": [19, 43, 44, 45, 47, 48], "mainli": 19, "timespec": [19, 43, 44, 45, 48], "NOT": [19, 33, 44, 45, 48], "absolut": [19, 24, 31, 35, 43, 44, 45, 47, 48], "yyyi": 19, "mm": 19, "ddthh": 19, "ss": 19, "hh": 19, "w": [19, 24, 31, 35, 43, 44, 45, 48], "32w1d2h": [19, 43, 44, 45, 48], "1970": 19, "01t00": 19, "earlier": [19, 44, 45], "express": 19, "comparison": 19, "forev": 19, "pub": [19, 20, 35], "week": [19, 43], "32w": 19, "2w": 19, "examplehost": 19, "21": 19, "2001": 19, "tmp": [19, 20, 37, 38], "bla": 19, "ca_public_kei": 19, "info": [19, 23, 24, 42, 43], "l": [19, 25, 26], "f": 19, "david": [19, 20], "kainz": [19, 20], "lolcub": [19, 20], "rsa1": 20, "ecdsa": [20, 37, 38], "opensshbin": 20, "decrypt": [20, 28], "private_key_format": 20, "pkcs1": [20, 29, 32, 33], "keypair": 20, "pkcs8": [20, 29, 32, 33], "conform": [20, 32, 33], "unknown": [20, 23, 24, 30, 31, 32, 33, 34, 35, 42, 43], "therefor": 20, "1024": 20, "2048": [20, 27, 28, 32, 33], "suffici": 20, "fip": 20, "186": 20, "three": [20, 43, 44, 45, 48], "384": 20, "521": 20, "fix": 20, "id_ssh_rsa": 20, "super_secret_password": 20, "id_ssh_dsa": 20, "r4yczxihvjedh2olfjvgi6y5xaytdcwk8vxkyzvyyfm": 20, "aaaab3nza": 20, "vel4e3xcw": 20, "name_encod": [23, 24, 30, 42, 43, 46, 47, 48], "idna": [23, 24, 30, 42, 43, 46, 47, 48], "key1": [23, 30, 42, 46], "value1": [23, 30, 42, 46], "key2": [23, 30, 42, 46], "value2": [23, 30, 42, 46], "idna2008": [23, 24, 30, 42, 43, 46, 47, 48], "idna2003": [23, 24, 30, 42, 43, 46, 47, 48], "unicod": [23, 24, 30, 42, 43, 46, 47, 48], "alt": [23, 30, 42], "authority_cert_issu": [23, 24, 25, 26, 42, 43], "idn": [23, 24, 42, 43, 46, 47, 48], "handl": [23, 24, 42, 43, 46, 47, 48], "authority_cert_serial_numb": [23, 24, 25, 26, 42, 43], "hexadecim": [23, 24, 41, 42, 43], "55": [23, 24, 25, 26, 42, 43], "66": [23, 24, 25, 26, 32, 33, 36, 42, 43], "77": [23, 24, 25, 26, 32, 33, 36, 42, 43], "88": [23, 24, 25, 26, 32, 33, 36, 42, 43], "99": [23, 24, 25, 26, 32, 33, 36, 42, 43], "aa": [23, 24, 25, 26, 30, 31, 34, 35, 42, 43], "bb": [23, 24, 25, 26, 42, 43], "cc": [23, 24, 25, 26, 32, 33, 36, 42, 43], "ee": [23, 24, 25, 26, 32, 33, 36, 42, 43], "pathlen": [23, 24, 42, 43], "extended_key_usag": [23, 24, 25, 26, 42, 43, 44], "biometr": [23, 24, 42, 43], "dvc": [23, 24, 42, 43, 44], "stamp": [23, 24, 42, 43], "extended_key_usage_crit": [23, 24, 25, 26, 42, 43], "extensions_by_oid": [23, 24, 42, 43, 44], "oid": [23, 24, 42, 43], "24": [23, 24, 32, 33, 36, 42, 43], "mamcaqu": [23, 24, 42, 43], "der": [23, 24, 42, 43, 46, 47, 48], "encipher": [23, 24, 25, 26, 42, 43, 44], "name_constraints_crit": [23, 24, 25, 26], "name_constraint": [23, 24], "name_constraints_exclud": [23, 24, 25, 26], "subtre": [23, 24, 25, 26], "name_constraints_permit": [23, 24, 25, 26], "somedomain": [23, 24, 25, 26], "ocsp_must_stapl": [23, 24, 25, 26, 42, 43], "ocsp": [23, 24, 25, 26, 42, 43], "stapl": [23, 24, 25, 26, 42, 43], "ocsp_must_staple_crit": [23, 24, 25, 26, 42, 43], "begin": [23, 24, 30, 31, 42, 43], "miicijanbgkqhkig9w0baqefaaocag8a": [23, 30, 42], "public_key_data": [23, 24, 42, 43], "ecc": [23, 24, 30, 31, 32, 33, 34, 35, 42, 43], "_valu": [23, 30, 34, 42], "public_key_typ": [23, 24, 42, 43], "expon": [23, 24, 30, 31, 34, 35, 42, 43], "exponent_s": [23, 24, 30, 31, 34, 35, 42, 43], "subgroup": [23, 24, 30, 31, 34, 35, 42, 43], "span": [23, 24, 30, 31, 34, 35, 42, 43], "prime": [23, 24, 30, 31, 34, 35, 42, 43], "modulu": [23, 24, 30, 31, 34, 35, 42, 43], "arithmet": [23, 24, 30, 31, 34, 35, 42, 43], "q": [23, 24, 30, 31, 34, 35, 42, 43], "divid": [23, 24, 30, 31, 34, 35, 42, 43], "coordin": [23, 24, 30, 31, 34, 35, 42, 43], "publicli": [23, 24, 30, 31, 34, 35, 42, 43], "whose": [23, 24, 30, 31, 34, 35, 42, 43, 45], "discret": [23, 24, 30, 31, 34, 35, 42, 43], "logarithm": [23, 24, 30, 31, 34, 35, 42, 43], "public_key_fingerprint": [23, 24, 30, 31, 42, 43], "comput": [23, 24, 30, 31, 34, 35, 42, 43], "d4": [23, 24, 30, 31, 32, 33, 34, 35, 36, 42, 43], "b3": [23, 24, 30, 31, 32, 33, 34, 35, 36, 42, 43], "6d": [23, 24, 30, 31, 32, 33, 34, 35, 36, 42, 43], "c8": [23, 24, 30, 31, 34, 35, 42, 43], "ce": [23, 24, 30, 31, 34, 35, 42, 43], "4e": [23, 24, 30, 31, 32, 33, 34, 35, 36, 42, 43], "f6": [23, 24, 30, 31, 32, 33, 34, 35, 36, 42, 43], "29": [23, 24, 30, 31, 32, 33, 34, 35, 36, 42, 43], "4d": [23, 24, 30, 31, 32, 33, 34, 35, 36, 42, 43], "92": [23, 24, 30, 31, 34, 35, 42, 43], "a3": [23, 24, 30, 31, 34, 35, 42, 43], "b0": [23, 24, 30, 31, 34, 35, 42, 43], "c2": [23, 24, 30, 31, 34, 35, 42, 43], "bd": [23, 24, 30, 31, 34, 35, 42, 43], "bf": [23, 24, 30, 31, 34, 35, 42, 43], "43": [23, 24, 30, 31, 32, 33, 34, 35, 36, 42, 43], "0f": [23, 24, 30, 31, 32, 33, 34, 35, 36, 42, 43], "51": [23, 24, 30, 31, 32, 33, 34, 35, 36, 42, 43], "95": [23, 24, 30, 31, 34, 35, 42, 43], "2f": [23, 24, 30, 31, 32, 33, 34, 35, 36, 42, 43], "sha512": [23, 24, 30, 31, 32, 33, 34, 35, 36, 42, 43], "f7": [23, 24, 30, 31, 34, 35, 42, 43], "f0": [23, 24, 30, 31, 32, 33, 34, 35, 36, 42, 43], "8b": [23, 24, 30, 31, 34, 35, 42, 43], "5f": [23, 24, 30, 31, 32, 33, 34, 35, 36, 42, 43], "f9": [23, 24, 30, 31, 34, 35, 42, 43], "61": [23, 24, 30, 31, 34, 35, 42, 43], "0a": [23, 24, 30, 31, 34, 35, 42, 43], "68": [23, 24, 30, 31, 32, 33, 34, 35, 36, 42, 43], "f1": [23, 24, 30, 31, 32, 33, 34, 35, 36, 42, 43], "signature_valid": [23, 24], "repeat": [23, 24, 28, 42, 43, 46, 47, 48], "emailaddress": [23, 24, 25, 26, 42, 43], "subject_alt_name_crit": [23, 24, 25, 26, 42, 43], "subject_ord": [23, 24, 25, 26, 42, 43, 44], "tupl": [23, 24, 25, 26, 42, 43, 46, 47, 48], "interact": [24, 31, 35, 43, 44, 45], "remot": [24, 31, 35, 43, 44, 45, 47, 48], "load": [24, 29, 31, 35, 43], "variant": [24, 31, 35, 43, 47], "dump": [24, 28, 31, 35, 43], "nmiicijanbgkqhkig9w0baqefaaocag8a": [24, 31, 43], "yani": [24, 25, 26, 31, 32, 33, 36, 43, 44, 45], "guenan": [24, 25, 26, 31, 32, 33, 36, 43, 44, 45], "spredzi": [24, 25, 26, 31, 32, 33, 36, 43, 44, 45], "seem": [25, 26, 44], "overwrit": [25, 27, 32, 44], "keyusag": [25, 26], "extendedkeyusag": [25, 26], "basicconstraint": [25, 26], "That": [25, 26, 39], "rid": [25, 26], "dirnam": [25, 26], "othernam": [25, 26], "ones": [25, 26, 27], "mostli": [25, 26], "overwrot": [25, 27, 28, 29, 32, 36, 44, 48], "accid": [25, 27, 28, 29, 32, 36, 44, 48], "basicconstraints_crit": [25, 26], "country_nam": [25, 26], "c": [25, 26], "countrynam": [25, 26], "create_subject_key_identifi": [25, 26], "crl_distribution_point": [25, 26], "distribut": [25, 26], "crl_issuer": [25, 26], "full_nam": [25, 26], "relative_nam": [25, 26], "key_compromis": [25, 26, 46, 47, 48], "ca_compromis": [25, 26, 46, 47, 48], "affiliation_chang": [25, 26, 46, 47, 48], "cessation_of_oper": [25, 26, 46, 47, 48], "certificate_hold": [25, 26, 46, 47, 48], "privilege_withdrawn": [25, 26, 46, 47, 48], "aa_compromis": [25, 26, 46, 47, 48], "email_address": [25, 26], "extkeyusag": [25, 26], "extkeyusage_crit": [25, 26], "extendedkeyusage_crit": [25, 26], "keyusage_crit": [25, 26], "locality_nam": [25, 26], "localitynam": [25, 26], "ocspmuststapl": [25, 26], "rfc7633": [25, 26], "ocspmuststaple_crit": [25, 26], "reject": [25, 26], "organizationnam": [25, 26, 42, 43, 46, 47, 48], "organizational_unit_nam": [25, 26], "organizationalunitnam": [25, 26], "privatekey_cont": [25, 26, 28, 36, 38, 44, 45, 48], "return_cont": [25, 27, 28, 32, 36, 44, 48], "state_or_province_nam": [25, 26], "st": [25, 26], "stateorprovincenam": [25, 26], "compon": [25, 26, 48], "subjectaltname_crit": [25, 26], "row": [25, 26, 48], "usecommonnameforsan": [25, 26], "fill": [25, 26], "2986": [25, 26], "unsupport": [25, 26], "inlin": [25, 26, 36, 45], "fr": 25, "dynam": 25, "with_dict": 25, "dns_server": 25, "special": 25, "digitalsignatur": [25, 26], "keyagr": [25, 26], "clientauth": [25, 26], "winrm": 25, "auth": 25, "311": 25, "utf8": 25, "pathlenconstraint": [25, 26], "privatekei": [25, 26, 28, 29, 32, 33, 36, 48], "behav": [26, 33, 45], "think": [26, 33, 45], "break": [26, 33, 45], "dh": 27, "param": 27, "detect": [27, 28], "Or": 27, "dhparam": 27, "thom": 27, "wigger": 27, "thomwigg": 27, "pyopenssl": 28, "iter_s": 28, "maciter_s": 28, "export": [28, 29, 32, 33], "certificate_path": [28, 37, 38], "encryption_level": 28, "compatibility2022": 28, "softwar": 28, "38": [28, 32, 33, 36], "friendly_nam": 28, "friendli": 28, "50000": 28, "other_certif": 28, "ca_certif": 28, "other_certificates_parse_al": 28, "pkcs12": 28, "mechan": 28, "safe": 28, "addition": 28, "backward": 28, "opt": 28, "p12": 28, "raclett": 28, "ca_bundl": 28, "bundl": [28, 40], "0600": [28, 29, 32], "regen": 28, "guillaum": 28, "delpierr": 28, "gdelpierr": 28, "dest_passphras": 29, "dest_path": 29, "src_content": 29, "src_path": 29, "src_passphras": 29, "return_private_key_data": [30, 31], "private_data": [30, 31], "public_data": [30, 31, 34, 35], "fake": 31, "key_is_consist": 31, "check_consist": 31, "potenti": 31, "side": 31, "attack": 31, "42": 31, "machin": [31, 44, 45], "can_load_kei": 31, "can_parse_kei": 31, "eddsa": [32, 33], "particular": 32, "maxim": [32, 33], "interoper": [32, 33], "secp384r1": [32, 33], "secp256r1": [32, 33], "iana": [32, 33], "registri": [32, 33], "secp224r1": [32, 33], "secp256k1": [32, 33], "secp521r1": [32, 33], "discourag": [32, 33], "secp192r1": [32, 33], "brainpoolp256r1": [32, 33], "brainpoolp384r1": [32, 33], "brainpoolp512r1": [32, 33], "sect163k1": [32, 33], "sect163r2": [32, 33], "sect233k1": [32, 33], "sect233r1": [32, 33], "sect283k1": [32, 33], "sect283r1": [32, 33], "sect409k1": [32, 33], "sect409r1": [32, 33], "sect571k1": [32, 33], "sect571r1": [32, 33], "tradit": [32, 33], "auto_ignor": [32, 33], "mismatch": [32, 33], "format_mismatch": [32, 33], "everyth": [32, 33, 48], "treat": [32, 43, 48], "appropri": 32, "care": 32, "shown": 32, "reference_appendic": 32, "faq": 32, "minim": [32, 33], "hashlib": [32, 33, 36], "md5": [32, 33, 36], "84": [32, 33, 36], "72": [32, 33, 36], "8d": [32, 33, 36], "b5": [32, 33, 36], "6c": [32, 33, 36], "37": [32, 33, 36], "83": [32, 33, 36], "f5": [32, 33, 36], "4c": [32, 33, 36], "sha1": [32, 33, 36], "7c": [32, 33, 36], "5d": [32, 33, 36], "eb": [32, 33, 36], "41": [32, 33, 36], "7e": [32, 33, 36], "1a": [32, 33, 36], "c7": [32, 33, 36], "f8": [32, 33, 36], "sha224": [32, 33, 36], "19": [32, 33, 36], "ac": [32, 33, 36], "ed": [32, 33, 36], "50": [32, 33, 36], "d3": [32, 33, 36], "06": [32, 33, 36, 44, 45], "5c": [32, 33, 36], "b2": [32, 33, 36], "91": [32, 33, 36], "52": [32, 33, 36], "8c": [32, 33, 36], "cb": [32, 33, 36], "d5": [32, 33, 36], "e9": [32, 33, 36], "9b": [32, 33, 36], "46": [32, 33, 36], "ab": [32, 33, 36], "70": [32, 33, 36], "cf": [32, 33, 36], "76": [32, 33, 36], "4f": [32, 33, 36], "57": [32, 33, 36], "6e": [32, 33, 36], "97": [32, 33, 36], "df": [32, 33, 36], "de": [32, 33, 36], "sha384": [32, 33, 36], "d9": [32, 33, 36], "40": [32, 33, 36], "59": [32, 33, 36], "c3": [32, 33, 36], "a2": [32, 33, 36], "e4": [32, 33, 36], "0b": [32, 33, 36], "1c": [32, 33, 36], "0c": [32, 33, 36], "9e": [32, 33, 36], "af": [32, 33, 36, 48], "da": [32, 33, 36], "2e": [32, 33, 36], "c0": [32, 33, 36], "9a": [32, 33, 36], "3a": [32, 33, 36], "3d": [32, 33, 36], "fd": [32, 33, 36], "5e": [32, 33, 36], "48": [32, 33, 36], "9f": [32, 33, 36], "fe": [32, 33, 36], "7f": [32, 33, 36], "3f": [32, 33, 36], "cd": [32, 33, 36], "a5": [32, 33, 36], "e7": [32, 33, 36], "13": [32, 33, 36, 48], "82": [32, 33, 36], "87": [32, 33, 36], "1f": [32, 33, 36], "28": [32, 33, 36], "53": [32, 33, 36], "86": [32, 33, 36], "69": [32, 33, 36], "35": [32, 33, 36], "1e": [32, 33, 36], "consol": 33, "relat": 33, "content_base64": 33, "return_current_kei": 33, "value_specified_in_no_log_paramet": 33, "async": 33, "reveal": 33, "TO": 33, "OR": 33, "IN": 33, "mozilla": 33, "sop": 33, "sops_encrypt": 33, "content_text": 33, "overwritten": 33, "set_fact": 33, "publickei": 36, "certificate_cont": [37, 45], "example_fil": [37, 38], "sig": [37, 38], "patrick": [37, 38], "pichler": [37, 38], "aveexi": [37, 38], "marku": [37, 38, 43, 44, 45], "teufelberg": [37, 38, 43, 44, 45], "markusteufelberg": [37, 38, 43, 44, 45], "255": 39, "unsign": 39, "neg": 41, "1234567": 41, "letter": 41, "upper": 41, "represent": [41, 48], "word": [42, 43, 47], "whole": [42, 43], "issuer_ord": [42, 43, 46, 47, 48], "issuer_uri": [42, 43], "20190413202428z": [42, 43, 44, 46, 47, 48], "20190331202428z": [42, 43, 44, 48], "ocsp_uri": [42, 43], "respond": [42, 43], "1234": [42, 43, 46, 47, 48], "sha256withrsaencrypt": [42, 43, 44, 46, 47, 48], "openssl_certificate_info": 43, "short": [43, 44], "redirect": [43, 44], "fqcn": [43, 44], "dict": 43, "pattern": [43, 44, 45, 47, 48], "yyyymmddhhmmssz": [43, 44, 45, 47, 48], "csr_path": [43, 44, 45], "tomorrow": 43, "point_1": 43, "point_2": 43, "3w": 43, "notion": [44, 45], "openssl_certif": 44, "intend": [44, 45], "tini": 44, "acme_accountkey_path": 44, "accountkei": 44, "acme_chain": 44, "acme_challenge_path": 44, "3chost": 44, "3e": 44, "80": 44, "job": 44, "entrust_cert_typ": [44, 45], "entrust_not_aft": [44, 45], "stop": [44, 45], "365": [44, 45], "cover": [44, 45], "entrust_requester_email": [44, 45], "entrust_requester_nam": [44, 45], "entrust_requester_phon": [44, 45], "better": [44, 45], "ownca_cont": [44, 45], "ownca_create_authority_key_identifi": [44, 45], "ownca_create_subject_key_identifi": [44, 45], "ski": [44, 45], "create_if_not_provid": [44, 45], "always_cr": [44, 45], "never_cr": [44, 45], "ownca_digest": [44, 45], "On": [44, 45], "maco": [44, 45], "onward": [44, 45], "825": [44, 45], "appl": [44, 45], "en": [44, 45], "ht210176": [44, 45], "3650d": [44, 45], "ownca_privatekey_cont": [44, 45], "resp": [44, 45], "ownca_vers": [44, 45], "nowadai": [44, 45], "almost": [44, 45], "emul": 44, "selfsigned_create_subject_key_identifi": [44, 45], "selfsigned_digest": [44, 45], "selfsigned_notaft": [44, 45], "selfsigned_notbefor": [44, 45], "selfsigned_vers": [44, 45], "minut": [44, 45, 48], "mandatori": [44, 45, 48], "dedic": [44, 45], "onc": [44, 45, 48], "ansible_ca": 44, "assertonli": 44, "invalid_at": 44, "valid_in": 44, "one_day_ten_hour": 44, "1d10h": 44, "fixed_timestamp": 44, "20200331202428z": 44, "ten_second": 44, "result_csr": 44, "result_privatekei": 44, "sha512withrsaencrypt": 44, "subject_strict": 44, "issuer_strict": 44, "has_expir": 44, "key_usage_strict": 44, "extended_key_usage_strict": 44, "subject_alt_name_strict": 44, "ownca_cert": 45, "ownca_privatekei": 45, "hunter2": 45, "the_csr": 45, "list_revoked_certif": [46, 47], "larg": [46, 47], "enumer": [46, 47], "last_upd": [46, 47, 48], "next_upd": [46, 47, 48], "revoked_certif": [46, 47, 48], "invalidity_d": [46, 47, 48], "suspect": [46, 47, 48], "compromis": [46, 47, 48], "becam": [46, 47, 48], "invalidity_date_crit": [46, 47, 48], "issuer_crit": [46, 47, 48], "remove_from_crl": [46, 47, 48], "reason_crit": [46, 47, 48], "revocation_d": [46, 47, 48], "crl_mode": 48, "interest": 48, "collis": 48, "combin": 48, "octet": 48, "66223": 48, "2345": 48, "20191013152910z": 48, "20191001000000z": 48, "20191010010203z": 48}, "objects": {}, "objtypes": {}, "objnames": {}, "titleterms": {"commun": [0, 1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "crypto": [0, 1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "acme_account_fact": 0, "acme_account_info": 1, "modul": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 17, 18, 19, 20, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 36, 37, 38, 43, 44, 45, 47, 48], "retriev": [1, 8, 15, 16, 23, 30, 34, 42, 46, 47], "inform": [1, 23, 24, 30, 31, 34, 35, 42, 43, 46, 47], "acm": [1, 2, 3, 4, 5, 6], "account": [1, 2], "synopsi": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "requir": [1, 2, 3, 4, 5, 6, 7, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 35, 36, 37, 38, 42, 43, 44, 45, 46, 47, 48], "paramet": [1, 2, 3, 4, 5, 6, 7, 11, 12, 14, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 35, 36, 37, 38, 42, 43, 44, 45, 46, 47, 48], "attribut": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 18, 19, 20, 24, 25, 26, 27, 28, 29, 31, 32, 33, 35, 36, 37, 38, 43, 44, 45, 47, 48], "note": [1, 2, 3, 4, 6, 11, 12, 14, 20, 25, 26, 37, 38, 43, 44, 45, 47, 48], "see": [1, 2, 3, 4, 5, 6, 11, 12, 14, 15, 16, 19, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 41, 42, 43, 44, 45, 46, 47, 48], "also": [1, 2, 3, 4, 5, 6, 11, 12, 14, 15, 16, 19, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 41, 42, 43, 44, 45, 46, 47, 48], "exampl": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "return": [1, 2, 3, 5, 6, 7, 8, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "valu": [1, 2, 3, 5, 6, 7, 8, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "author": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "collect": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 13, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "link": [1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 14, 15, 16, 18, 19, 20, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48], "acme_account": 2, "creat": [2, 3, 9, 10], "modifi": 2, "delet": 2, "acme_certif": 3, "ssl": [3, 11], "tl": [3, 5, 11], "certif": [3, 4, 5, 7, 9, 10, 11, 12, 14, 19, 23, 24, 25, 26, 42, 43, 44, 45, 47, 48], "protocol": [3, 4], "acme_certificate_revok": 4, "revok": 4, "acme_challenge_cert_help": 5, "prepar": 5, "challeng": 5, "alpn": 5, "01": 5, "acme_inspect": 6, "send": 6, "direct": 6, "request": [6, 11, 12, 23, 24, 25, 26], "an": [6, 36, 39, 41], "server": 6, "certificate_complete_chain": 7, "complet": 7, "chain": 7, "given": 7, "set": [7, 9], "untrust": 7, "root": 7, "crypto_info": 8, "cryptograph": 8, "capabl": 8, "how": [9, 10], "small": 9, "ca": 9, "up": 9, "us": 9, "sign": [9, 10, 23, 24, 25, 26, 38], "self": 10, "ecs_certif": 11, "entrust": [11, 12], "servic": [11, 12], "ec": [11, 12], "api": [11, 12], "ecs_domain": 12, "valid": 12, "domain": 12, "index": [13, 17], "all": 13, "environ": 13, "variabl": 13, "get_certif": 14, "get": 14, "from": [14, 15, 16, 23, 30, 34, 36, 42, 46], "host": [14, 19], "port": 14, "gpg_fingerprint": [15, 16], "filter": [15, 17, 23, 30, 34, 39, 40, 41, 42, 46], "gpg": [15, 16], "fingerprint": [15, 16], "public": [15, 16, 20, 34, 35, 36], "privat": [15, 16, 20, 29, 30, 31, 32, 33, 36], "kei": [15, 16, 20, 29, 30, 31, 32, 33, 34, 35, 36], "input": [15, 23, 30, 34, 39, 40, 41, 42, 46], "lookup": [16, 17], "file": [16, 40], "term": 16, "descript": 17, "scenario": 17, "guid": 17, "plugin": 17, "luks_devic": 18, "manag": 18, "encrypt": 18, "luk": 18, "devic": 18, "openssh_cert": 19, "gener": [19, 20, 25, 26, 27, 28, 32, 33, 36, 44, 45, 48], "openssh": [19, 20], "user": 19, "openssh_keypair": 20, "openssl_certificate_info": 21, "openssl_certif": 22, "openssl_csr_info": [23, 24], "openssl": [23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 43, 44, 45], "csr": [23, 24, 25, 26], "keyword": [23, 30, 42, 46], "provid": [24, 31, 35, 43], "openssl_csr": 25, "openssl_csr_pip": 26, "openssl_dhparam": 27, "diffi": 27, "hellman": 27, "openssl_pkcs12": 28, "pkc": 28, "12": 28, "archiv": 28, "openssl_privatekey_convert": 29, "convert": [29, 39, 41], "openssl_privatekey_info": [30, 31], "openssl_privatekei": 32, "openssl_privatekey_pip": 33, "without": 33, "disk": 33, "access": 33, "openssl_publickey_info": [34, 35], "pem": [34, 40, 42, 46], "format": [34, 42, 46], "openssl_publickei": 36, "its": 36, "openssl_signature_info": 37, "verifi": 37, "signatur": 37, "openssl_signatur": 38, "data": 38, "parse_seri": 39, "serial": 39, "number": [39, 41], "colon": [39, 41], "separ": [39, 41], "list": [39, 41, 47, 48], "hex": [39, 41], "integ": [39, 41], "split_pem": 40, "split": 40, "content": 40, "multipl": 40, "object": 40, "to_seri": 41, "x509_certificate_info": [42, 43], "x": [42, 43, 46], "509": [42, 43, 46], "x509_certif": 44, "check": [44, 45], "x509_certificate_pip": 45, "x509_crl_info": [46, 47], "crl": [46, 47, 48], "revoc": [47, 48], "x509_crl": 48}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinx": 60}, "alltitles": {"community.crypto.acme_account_facts": [[0, "community-crypto-acme-account-facts"]], "community.crypto.acme_account_info module \u2013 Retrieves information on ACME accounts": [[1, "community-crypto-acme-account-info-module-retrieves-information-on-acme-accounts"]], "Synopsis": [[1, "synopsis"], [2, "synopsis"], [3, "synopsis"], [4, "synopsis"], [5, "synopsis"], [6, "synopsis"], [7, "synopsis"], [8, "synopsis"], [11, "synopsis"], [12, "synopsis"], [14, "synopsis"], [15, "synopsis"], [16, "synopsis"], [18, "synopsis"], [19, "synopsis"], [20, "synopsis"], [23, "synopsis"], [24, "synopsis"], [25, "synopsis"], [26, "synopsis"], [27, "synopsis"], [28, "synopsis"], [29, "synopsis"], [30, "synopsis"], [31, "synopsis"], [32, "synopsis"], [33, "synopsis"], [34, "synopsis"], [35, "synopsis"], [36, "synopsis"], [37, "synopsis"], [38, "synopsis"], [39, "synopsis"], [40, "synopsis"], [41, "synopsis"], [42, "synopsis"], [43, "synopsis"], [44, "synopsis"], [45, "synopsis"], [46, "synopsis"], [47, "synopsis"], [48, "synopsis"]], "Requirements": [[1, "requirements"], [2, "requirements"], [3, "requirements"], [4, "requirements"], [5, "requirements"], [6, "requirements"], [7, "requirements"], [11, "requirements"], [12, "requirements"], [14, "requirements"], [15, "requirements"], [16, "requirements"], [18, "requirements"], [19, "requirements"], [20, "requirements"], [23, "requirements"], [24, "requirements"], [25, "requirements"], [26, "requirements"], [27, "requirements"], [28, "requirements"], [29, "requirements"], [30, "requirements"], [31, "requirements"], [32, "requirements"], [33, "requirements"], [35, "requirements"], [36, "requirements"], [37, "requirements"], [38, "requirements"], [42, "requirements"], [43, "requirements"], [44, "requirements"], [45, "requirements"], [46, "requirements"], [47, "requirements"], [48, "requirements"]], "Parameters": [[1, "parameters"], [2, "parameters"], [3, "parameters"], [4, "parameters"], [5, "parameters"], [6, "parameters"], [7, "parameters"], [11, "parameters"], [12, "parameters"], [14, "parameters"], [18, "parameters"], [19, "parameters"], [20, "parameters"], [24, "parameters"], [25, "parameters"], [26, "parameters"], [27, "parameters"], [28, "parameters"], [29, "parameters"], [31, "parameters"], [32, "parameters"], [33, "parameters"], [35, "parameters"], [36, "parameters"], [37, "parameters"], [38, "parameters"], [43, "parameters"], [44, "parameters"], [45, "parameters"], [47, "parameters"], [48, "parameters"]], "Attributes": [[1, "attributes"], [2, "attributes"], [3, "attributes"], [4, "attributes"], [5, "attributes"], [6, "attributes"], [7, "attributes"], [8, "attributes"], [11, "attributes"], [12, "attributes"], [14, "attributes"], [18, "attributes"], [19, "attributes"], [20, "attributes"], [24, "attributes"], [25, "attributes"], [26, "attributes"], [27, "attributes"], [28, "attributes"], [29, "attributes"], [31, "attributes"], [32, "attributes"], [33, "attributes"], [35, "attributes"], [36, "attributes"], [37, "attributes"], [38, "attributes"], [43, "attributes"], [44, "attributes"], [45, "attributes"], [47, "attributes"], [48, "attributes"]], "Notes": [[1, "notes"], [2, "notes"], [3, "notes"], [4, "notes"], [6, "notes"], [11, "notes"], [12, "notes"], [14, "notes"], [20, "notes"], [25, "notes"], [26, "notes"], [37, "notes"], [38, "notes"], [43, "notes"], [44, "notes"], [45, "notes"], [47, "notes"], [48, "notes"]], "See Also": [[1, "see-also"], [2, "see-also"], [3, "see-also"], [4, "see-also"], [5, "see-also"], [6, "see-also"], [11, "see-also"], [12, "see-also"], [14, "see-also"], [15, "see-also"], [16, "see-also"], [19, "see-also"], [23, "see-also"], [24, "see-also"], [25, "see-also"], [26, "see-also"], [27, "see-also"], [28, "see-also"], [29, "see-also"], [30, "see-also"], [31, "see-also"], [32, "see-also"], [33, "see-also"], [34, "see-also"], [35, "see-also"], [36, "see-also"], [37, "see-also"], [38, "see-also"], [39, "see-also"], [41, "see-also"], [42, "see-also"], [43, "see-also"], [44, "see-also"], [45, "see-also"], [46, "see-also"], [47, "see-also"], [48, "see-also"]], "Examples": [[1, "examples"], [2, "examples"], [3, "examples"], [4, "examples"], [5, "examples"], [6, "examples"], [7, "examples"], [8, "examples"], [11, "examples"], [12, "examples"], [14, "examples"], [15, "examples"], [16, "examples"], [18, "examples"], [19, "examples"], [20, "examples"], [23, "examples"], [24, "examples"], [25, "examples"], [26, "examples"], [27, "examples"], [28, "examples"], [29, "examples"], [30, "examples"], [31, "examples"], [32, "examples"], [33, "examples"], [34, "examples"], [35, "examples"], [36, "examples"], [37, "examples"], [38, "examples"], [39, "examples"], [40, "examples"], [41, "examples"], [42, "examples"], [43, "examples"], [44, "examples"], [45, "examples"], [46, "examples"], [47, "examples"], [48, "examples"]], "Return Values": [[1, "return-values"], [2, "return-values"], [3, "return-values"], [5, "return-values"], [6, "return-values"], [7, "return-values"], [8, "return-values"], [11, "return-values"], [12, "return-values"], [14, "return-values"], [18, "return-values"], [19, "return-values"], [20, "return-values"], [24, "return-values"], [25, "return-values"], [26, "return-values"], [27, "return-values"], [28, "return-values"], [29, "return-values"], [31, "return-values"], [32, "return-values"], [33, "return-values"], [35, "return-values"], [36, "return-values"], [37, "return-values"], [38, "return-values"], [43, "return-values"], [44, "return-values"], [45, "return-values"], [47, "return-values"], [48, "return-values"]], "Authors": [[1, "authors"], [2, "authors"], [3, "authors"], [4, "authors"], [5, "authors"], [6, "authors"], [7, "authors"], [8, "authors"], [11, "authors"], [12, "authors"], [14, "authors"], [15, "authors"], [16, "authors"], [18, "authors"], [19, "authors"], [20, "authors"], [23, "authors"], [24, "authors"], [25, "authors"], [26, "authors"], [27, "authors"], [28, "authors"], [29, "authors"], [30, "authors"], [31, "authors"], [32, "authors"], [33, "authors"], [34, "authors"], [35, "authors"], [36, "authors"], [37, "authors"], [38, "authors"], [39, "authors"], [40, "authors"], [41, "authors"], [42, "authors"], [43, "authors"], [44, "authors"], [45, "authors"], [46, "authors"], [47, "authors"], [48, "authors"]], "Collection links": [[1, "collection-links"], [2, "collection-links"], [3, "collection-links"], [4, "collection-links"], [5, "collection-links"], [6, "collection-links"], [7, "collection-links"], [8, "collection-links"], [11, "collection-links"], [12, "collection-links"], [14, "collection-links"], [15, "collection-links"], [16, "collection-links"], [18, "collection-links"], [19, "collection-links"], [20, "collection-links"], [23, "collection-links"], [24, "collection-links"], [25, "collection-links"], [26, "collection-links"], [27, "collection-links"], [28, "collection-links"], [29, "collection-links"], [30, "collection-links"], [31, "collection-links"], [32, "collection-links"], [33, "collection-links"], [34, "collection-links"], [35, "collection-links"], [36, "collection-links"], [37, "collection-links"], [38, "collection-links"], [39, "collection-links"], [40, "collection-links"], [41, "collection-links"], [42, "collection-links"], [43, "collection-links"], [44, "collection-links"], [45, "collection-links"], [46, "collection-links"], [47, "collection-links"], [48, "collection-links"]], "community.crypto.acme_account module \u2013 Create, modify or delete ACME accounts": [[2, "community-crypto-acme-account-module-create-modify-or-delete-acme-accounts"]], "community.crypto.acme_certificate module \u2013 Create SSL/TLS certificates with the ACME protocol": [[3, "community-crypto-acme-certificate-module-create-ssl-tls-certificates-with-the-acme-protocol"]], "community.crypto.acme_certificate_revoke module \u2013 Revoke certificates with the ACME protocol": [[4, "community-crypto-acme-certificate-revoke-module-revoke-certificates-with-the-acme-protocol"]], "community.crypto.acme_challenge_cert_helper module \u2013 Prepare certificates required for ACME challenges such as tls-alpn-01": [[5, "community-crypto-acme-challenge-cert-helper-module-prepare-certificates-required-for-acme-challenges-such-as-tls-alpn-01"]], "community.crypto.acme_inspect module \u2013 Send direct requests to an ACME server": [[6, "community-crypto-acme-inspect-module-send-direct-requests-to-an-acme-server"]], "community.crypto.certificate_complete_chain module \u2013 Complete certificate chain given a set of untrusted and root certificates": [[7, "community-crypto-certificate-complete-chain-module-complete-certificate-chain-given-a-set-of-untrusted-and-root-certificates"]], "community.crypto.crypto_info module \u2013 Retrieve cryptographic capabilities": [[8, "community-crypto-crypto-info-module-retrieve-cryptographic-capabilities"]], "How to create a small CA": [[9, "how-to-create-a-small-ca"]], "Set up the CA": [[9, "set-up-the-ca"]], "Use the CA to sign a certificate": [[9, "use-the-ca-to-sign-a-certificate"]], "How to create self-signed certificates": [[10, "how-to-create-self-signed-certificates"]], "community.crypto.ecs_certificate module \u2013 Request SSL/TLS certificates with the Entrust Certificate Services (ECS) API": [[11, "community-crypto-ecs-certificate-module-request-ssl-tls-certificates-with-the-entrust-certificate-services-ecs-api"]], "community.crypto.ecs_domain module \u2013 Request validation of a domain with the Entrust Certificate Services (ECS) API": [[12, "community-crypto-ecs-domain-module-request-validation-of-a-domain-with-the-entrust-certificate-services-ecs-api"]], "Index of all Collection Environment Variables": [[13, "index-of-all-collection-environment-variables"]], "community.crypto.get_certificate module \u2013 Get a certificate from a host:port": [[14, "community-crypto-get-certificate-module-get-a-certificate-from-a-host-port"]], "community.crypto.gpg_fingerprint filter \u2013 Retrieve a GPG fingerprint from a GPG public or private key": [[15, "community-crypto-gpg-fingerprint-filter-retrieve-a-gpg-fingerprint-from-a-gpg-public-or-private-key"]], "Input": [[15, "input"], [23, "input"], [30, "input"], [34, "input"], [39, "input"], [40, "input"], [41, "input"], [42, "input"], [46, "input"]], "Return Value": [[15, "return-value"], [16, "return-value"], [23, "return-value"], [30, "return-value"], [34, "return-value"], [39, "return-value"], [40, "return-value"], [41, "return-value"], [42, "return-value"], [46, "return-value"]], "community.crypto.gpg_fingerprint lookup \u2013 Retrieve a GPG fingerprint from a GPG public or private key file": [[16, "community-crypto-gpg-fingerprint-lookup-retrieve-a-gpg-fingerprint-from-a-gpg-public-or-private-key-file"]], "Terms": [[16, "terms"]], "Community.Crypto": [[17, "community-crypto"]], "Description": [[17, "description"]], "Communication": [[17, "communication"]], "Scenario Guides": [[17, "scenario-guides"]], "Plugin Index": [[17, "plugin-index"]], "Modules": [[17, "modules"]], "Filter Plugins": [[17, "filter-plugins"]], "Lookup Plugins": [[17, "lookup-plugins"]], "community.crypto.luks_device module \u2013 Manage encrypted (LUKS) devices": [[18, "community-crypto-luks-device-module-manage-encrypted-luks-devices"]], "community.crypto.openssh_cert module \u2013 Generate OpenSSH host or user certificates.": [[19, "community-crypto-openssh-cert-module-generate-openssh-host-or-user-certificates"]], "community.crypto.openssh_keypair module \u2013 Generate OpenSSH private and public keys": [[20, "community-crypto-openssh-keypair-module-generate-openssh-private-and-public-keys"]], "community.crypto.openssl_certificate_info": [[21, "community-crypto-openssl-certificate-info"]], "community.crypto.openssl_certificate": [[22, "community-crypto-openssl-certificate"]], "community.crypto.openssl_csr_info filter \u2013 Retrieve information from OpenSSL Certificate Signing Requests (CSR)": [[23, "community-crypto-openssl-csr-info-filter-retrieve-information-from-openssl-certificate-signing-requests-csr"]], "Keyword parameters": [[23, "keyword-parameters"], [30, "keyword-parameters"], [42, "keyword-parameters"], [46, "keyword-parameters"]], "community.crypto.openssl_csr_info module \u2013 Provide information of OpenSSL Certificate Signing Requests (CSR)": [[24, "community-crypto-openssl-csr-info-module-provide-information-of-openssl-certificate-signing-requests-csr"]], "community.crypto.openssl_csr module \u2013 Generate OpenSSL Certificate Signing Request (CSR)": [[25, "community-crypto-openssl-csr-module-generate-openssl-certificate-signing-request-csr"]], "community.crypto.openssl_csr_pipe module \u2013 Generate OpenSSL Certificate Signing Request (CSR)": [[26, "community-crypto-openssl-csr-pipe-module-generate-openssl-certificate-signing-request-csr"]], "community.crypto.openssl_dhparam module \u2013 Generate OpenSSL Diffie-Hellman Parameters": [[27, "community-crypto-openssl-dhparam-module-generate-openssl-diffie-hellman-parameters"]], "community.crypto.openssl_pkcs12 module \u2013 Generate OpenSSL PKCS#12 archive": [[28, "community-crypto-openssl-pkcs12-module-generate-openssl-pkcs-12-archive"]], "community.crypto.openssl_privatekey_convert module \u2013 Convert OpenSSL private keys": [[29, "community-crypto-openssl-privatekey-convert-module-convert-openssl-private-keys"]], "community.crypto.openssl_privatekey_info filter \u2013 Retrieve information from OpenSSL private keys": [[30, "community-crypto-openssl-privatekey-info-filter-retrieve-information-from-openssl-private-keys"]], "community.crypto.openssl_privatekey_info module \u2013 Provide information for OpenSSL private keys": [[31, "community-crypto-openssl-privatekey-info-module-provide-information-for-openssl-private-keys"]], "community.crypto.openssl_privatekey module \u2013 Generate OpenSSL private keys": [[32, "community-crypto-openssl-privatekey-module-generate-openssl-private-keys"]], "community.crypto.openssl_privatekey_pipe module \u2013 Generate OpenSSL private keys without disk access": [[33, "community-crypto-openssl-privatekey-pipe-module-generate-openssl-private-keys-without-disk-access"]], "community.crypto.openssl_publickey_info filter \u2013 Retrieve information from OpenSSL public keys in PEM format": [[34, "community-crypto-openssl-publickey-info-filter-retrieve-information-from-openssl-public-keys-in-pem-format"]], "community.crypto.openssl_publickey_info module \u2013 Provide information for OpenSSL public keys": [[35, "community-crypto-openssl-publickey-info-module-provide-information-for-openssl-public-keys"]], "community.crypto.openssl_publickey module \u2013 Generate an OpenSSL public key from its private key.": [[36, "community-crypto-openssl-publickey-module-generate-an-openssl-public-key-from-its-private-key"]], "community.crypto.openssl_signature_info module \u2013 Verify signatures with openssl": [[37, "community-crypto-openssl-signature-info-module-verify-signatures-with-openssl"]], "community.crypto.openssl_signature module \u2013 Sign data with openssl": [[38, "community-crypto-openssl-signature-module-sign-data-with-openssl"]], "community.crypto.parse_serial filter \u2013 Convert a serial number as a colon-separated list of hex numbers to an integer": [[39, "community-crypto-parse-serial-filter-convert-a-serial-number-as-a-colon-separated-list-of-hex-numbers-to-an-integer"]], "community.crypto.split_pem filter \u2013 Split PEM file contents into multiple objects": [[40, "community-crypto-split-pem-filter-split-pem-file-contents-into-multiple-objects"]], "community.crypto.to_serial filter \u2013 Convert an integer to a colon-separated list of hex numbers": [[41, "community-crypto-to-serial-filter-convert-an-integer-to-a-colon-separated-list-of-hex-numbers"]], "community.crypto.x509_certificate_info filter \u2013 Retrieve information from X.509 certificates in PEM format": [[42, "community-crypto-x509-certificate-info-filter-retrieve-information-from-x-509-certificates-in-pem-format"]], "community.crypto.x509_certificate_info module \u2013 Provide information of OpenSSL X.509 certificates": [[43, "community-crypto-x509-certificate-info-module-provide-information-of-openssl-x-509-certificates"]], "community.crypto.x509_certificate module \u2013 Generate and/or check OpenSSL certificates": [[44, "community-crypto-x509-certificate-module-generate-and-or-check-openssl-certificates"]], "community.crypto.x509_certificate_pipe module \u2013 Generate and/or check OpenSSL certificates": [[45, "community-crypto-x509-certificate-pipe-module-generate-and-or-check-openssl-certificates"]], "community.crypto.x509_crl_info filter \u2013 Retrieve information from X.509 CRLs in PEM format": [[46, "community-crypto-x509-crl-info-filter-retrieve-information-from-x-509-crls-in-pem-format"]], "community.crypto.x509_crl_info module \u2013 Retrieve information on Certificate Revocation Lists (CRLs)": [[47, "community-crypto-x509-crl-info-module-retrieve-information-on-certificate-revocation-lists-crls"]], "community.crypto.x509_crl module \u2013 Generate Certificate Revocation Lists (CRLs)": [[48, "community-crypto-x509-crl-module-generate-certificate-revocation-lists-crls"]]}, "indexentries": {}}) \ No newline at end of file diff --git a/tag/2.18.0/split_pem_filter.html b/tag/2.18.0/split_pem_filter.html new file mode 100644 index 000000000..24e5fc169 --- /dev/null +++ b/tag/2.18.0/split_pem_filter.html @@ -0,0 +1,297 @@ + + + + + + + + community.crypto.split_pem filter – Split PEM file contents into multiple objects — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.split_pem filter – Split PEM file contents into multiple objects

+
+

Note

+

This filter plugin is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto.

+

To use it in a playbook, specify: community.crypto.split_pem.

+
+

New in community.crypto 2.10.0

+ +
+

Synopsis

+
    +
  • Split PEM file contents into multiple PEM objects. Comments or invalid parts are ignored.

  • +
+
+
+

Input

+

This describes the input of the filter, the value before | community.crypto.split_pem.

+ + + + + + + + + + + +

Parameter

Comments

+

Input

+

string / required

+

The PEM contents to split.

+
+
+
+

Examples

+
- name: Print all CA certificates
+  ansible.builtin.debug:
+    msg: '{{ item }}'
+  loop: >-
+    {{ lookup('ansible.builtin.file', '/path/to/ca-bundle.pem') | community.crypto.split_pem }}
+
+
+
+
+

Return Value

+ + + + + + + + + + + +

Key

Description

+

Return value

+

list / elements=string

+

A list of PEM file contents.

+

Returned: success

+
+
+

Authors

+
    +
  • Felix Fontein (@felixfontein)

  • +
+
+

Hint

+

Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.

+
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/to_serial_filter.html b/tag/2.18.0/to_serial_filter.html new file mode 100644 index 000000000..8d2e8e2f2 --- /dev/null +++ b/tag/2.18.0/to_serial_filter.html @@ -0,0 +1,309 @@ + + + + + + + + community.crypto.to_serial filter – Convert an integer to a colon-separated list of hex numbers — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.to_serial filter – Convert an integer to a colon-separated list of hex numbers

+
+

Note

+

This filter plugin is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto.

+

To use it in a playbook, specify: community.crypto.to_serial.

+
+

New in community.crypto 2.18.0

+ +
+

Synopsis

+
    +
  • Converts an integer to a colon-separated list of hex numbers of the form 00:11:22:33.

  • +
+
+
+

Input

+

This describes the input of the filter, the value before | community.crypto.to_serial.

+ + + + + + + + + + + +

Parameter

Comments

+

Input

+

integer / required

+

The non-negative integer to convert.

+
+
+
+

See Also

+
+

See also

+
+
community.crypto.to_serial filter plugin

Convert an integer to a colon-separated list of hex numbers.

+
+
+
+
+
+

Examples

+
- name: Convert integer to serial number
+  ansible.builtin.debug:
+    msg: "{{ 1234567 | community.crypto.to_serial }}"
+
+
+
+
+

Return Value

+ + + + + + + + + + + +

Key

Description

+

Return value

+

string

+

A colon-separated list of hexadecimal numbers.

+

Letters are upper-case, and all numbers have exactly two digits.

+

The string is never empty. The representation of 0 is "00".

+

Returned: success

+
+
+

Authors

+
    +
  • Felix Fontein (@felixfontein)

  • +
+
+

Hint

+

Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.

+
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/x509_certificate_info_filter.html b/tag/2.18.0/x509_certificate_info_filter.html new file mode 100644 index 000000000..abe3333ea --- /dev/null +++ b/tag/2.18.0/x509_certificate_info_filter.html @@ -0,0 +1,756 @@ + + + + + + + + community.crypto.x509_certificate_info filter – Retrieve information from X.509 certificates in PEM format — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.x509_certificate_info filter – Retrieve information from X.509 certificates in PEM format

+
+

Note

+

This filter plugin is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this filter plugin, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.x509_certificate_info.

+
+

New in community.crypto 2.10.0

+ +
+

Synopsis

+ +
+
+

Requirements

+

The below requirements are needed on the local controller node that executes this filter.

+ +
+
+

Input

+

This describes the input of the filter, the value before | community.crypto.x509_certificate_info.

+ + + + + + + + + + + +

Parameter

Comments

+

Input

+

string / required

+

The content of the X.509 certificate in PEM format.

+
+
+
+

Keyword parameters

+

This describes keyword parameters of the filter. These are the values key1=value1, key2=value2 and so on in the following +example: input | community.crypto.x509_certificate_info(key1=value1, key2=value2, ...)

+ + + + + + + + + + + +

Parameter

Comments

+

name_encoding

+

string

+

How to encode names (DNS names, URIs, email addresses) in return values.

+

ignore will use the encoding returned by the backend.

+

idna will convert all labels of domain names to IDNA encoding. IDNA2008 will be preferred, and IDNA2003 will be used if IDNA2008 encoding fails.

+

unicode will convert all labels of domain names to Unicode. IDNA2008 will be preferred, and IDNA2003 will be used if IDNA2008 decoding fails.

+

Note that idna and unicode require the idna Python library to be installed.

+

Choices:

+
    +
  • "ignore" ← (default)

  • +
  • "idna"

  • +
  • "unicode"

  • +
+
+
+
+

See Also

+
+

See also

+
+
community.crypto.x509_certificate_info

Provide information of OpenSSL X.509 certificates.

+
+
community.crypto.to_serial filter plugin

Convert an integer to a colon-separated list of hex numbers.

+
+
+
+
+
+

Examples

+
- name: Show the Subject Alt Names of the certificate
+  ansible.builtin.debug:
+    msg: >-
+      {{
+        (
+          lookup('ansible.builtin.file', '/path/to/cert.pem')
+          | community.crypto.x509_certificate_info
+        ).subject_alt_name | join(', ')
+      }}
+
+
+
+
+

Return Value

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Key

Description

+

Return value

+

dictionary

+

Information on the certificate.

+

Returned: success

+
+

authority_cert_issuer

+

list / elements=string

+

The certificate’s authority cert issuer as a list of general names.

+

Is none if the AuthorityKeyIdentifier extension is not present.

+

See name_encoding for how IDNs are handled.

+

Returned: success

+

Sample: ["DNS:www.ansible.com", "IP:1.2.3.4"]

+
+

authority_cert_serial_number

+

integer

+

The certificate’s authority cert serial number.

+

Is none if the AuthorityKeyIdentifier extension is not present.

+

This return value is an integer. If you need the serial numbers as a colon-separated hex string, such as 11:22:33, you need to convert it to that form with community.crypto.to_serial.

+

Returned: success

+

Sample: 12345

+
+

authority_key_identifier

+

string

+

The certificate’s authority key identifier.

+

The identifier is returned in hexadecimal, with : used to separate bytes.

+

Is none if the AuthorityKeyIdentifier extension is not present.

+

Returned: success

+

Sample: "00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff:00:11:22:33"

+
+

basic_constraints

+

list / elements=string

+

Entries in the basic_constraints extension, or none if extension is not present.

+

Returned: success

+

Sample: ["CA:TRUE", "pathlen:1"]

+
+

basic_constraints_critical

+

boolean

+

Whether the basic_constraints extension is critical.

+

Returned: success

+
+

expired

+

boolean

+

Whether the certificate is expired (in other words, notAfter is in the past).

+

Returned: success

+
+

extended_key_usage

+

list / elements=string

+

Entries in the extended_key_usage extension, or none if extension is not present.

+

Returned: success

+

Sample: ["Biometric Info", "DVCS", "Time Stamping"]

+
+

extended_key_usage_critical

+

boolean

+

Whether the extended_key_usage extension is critical.

+

Returned: success

+
+

extensions_by_oid

+

dictionary

+

Returns a dictionary for every extension OID.

+

Returned: success

+

Sample: {"1.3.6.1.5.5.7.1.24": {"critical": false, "value": "MAMCAQU="}}

+
+

critical

+

boolean

+

Whether the extension is critical.

+

Returned: success

+
+

value

+

string

+

The Base64 encoded value (in DER format) of the extension.

+

Note that depending on the cryptography version used, it is not possible to extract the ASN.1 content of the extension, but only to provide the re-encoded content of the extension in case it was parsed by cryptography. This should usually result in exactly the same value, except if the original extension value was malformed.

+

Returned: success

+

Sample: "MAMCAQU="

+
+

fingerprints

+

dictionary

+

Fingerprints of the DER-encoded form of the whole certificate.

+

For every hash algorithm available, the fingerprint is computed.

+

Returned: success

+

Sample: "{'sha256': 'd4:b3:aa:6d:c8:04:ce:4e:ba:f6:29:4d:92:a3:94:b0:c2:ff:bd:bf:33:63:11:43:34:0f:51:b0:95:09:2f:63', 'sha512': 'f7:07:4a:f0:b0:f0:e6:8b:95:5f:f9:e6:61:0a:32:68:f1..."

+
+

issuer

+

dictionary

+

The certificate’s issuer.

+

Note that for repeated values, only the last one will be returned.

+

Returned: success

+

Sample: {"commonName": "ca.example.com", "organizationName": "Ansible"}

+
+

issuer_ordered

+

list / elements=list

+

The certificate’s issuer as an ordered list of tuples.

+

Returned: success

+

Sample: [["organizationName", "Ansible"], [{"commonName": "ca.example.com"}]]

+
+

issuer_uri

+

string

+

The Issuer URI, if included in the certificate. Will be none if no issuer URI is included.

+

Returned: success

+
+

key_usage

+

string

+

Entries in the key_usage extension, or none if extension is not present.

+

Returned: success

+

Sample: "['Key Agreement', 'Data Encipherment']"

+
+

key_usage_critical

+

boolean

+

Whether the key_usage extension is critical.

+

Returned: success

+
+

not_after

+

string

+

notAfter date as ASN.1 TIME.

+

Returned: success

+

Sample: "20190413202428Z"

+
+

not_before

+

string

+

notBefore date as ASN.1 TIME.

+

Returned: success

+

Sample: "20190331202428Z"

+
+

ocsp_must_staple

+

boolean

+

true if the OCSP Must Staple extension is present, none otherwise.

+

Returned: success

+
+

ocsp_must_staple_critical

+

boolean

+

Whether the ocsp_must_staple extension is critical.

+

Returned: success

+
+

ocsp_uri

+

string

+

The OCSP responder URI, if included in the certificate. Will be none if no OCSP responder URI is included.

+

Returned: success

+
+

public_key

+

string

+

Certificate’s public key in PEM format.

+

Returned: success

+

Sample: "-----BEGIN PUBLIC KEY----- MIICIjANBgkqhkiG9w0BAQEFAAOCAg8A..."

+
+

public_key_data

+

dictionary

+

Public key data. Depends on the public key’s type.

+

Returned: success

+
+

curve

+

string

+

The curve’s name for ECC.

+

Returned: When _value.public_key_type=ECC

+
+

exponent

+

integer

+

The RSA key’s public exponent.

+

Returned: When _value.public_key_type=RSA

+
+

exponent_size

+

integer

+

The maximum number of bits of a private key. This is basically the bit size of the subgroup used.

+

Returned: When _value.public_key_type=ECC

+
+

g

+

integer

+

The g value for DSA.

+

This is the element spanning the subgroup of the multiplicative group of the prime field used.

+

Returned: When _value.public_key_type=DSA

+
+

modulus

+

integer

+

The RSA key’s modulus.

+

Returned: When _value.public_key_type=RSA

+
+

p

+

integer

+

The p value for DSA.

+

This is the prime modulus upon which arithmetic takes place.

+

Returned: When _value.public_key_type=DSA

+
+

q

+

integer

+

The q value for DSA.

+

This is a prime that divides p - 1, and at the same time the order of the subgroup of the multiplicative group of the prime field used.

+

Returned: When _value.public_key_type=DSA

+
+

size

+

integer

+

Bit size of modulus (RSA) or prime number (DSA).

+

Returned: When _value.public_key_type=RSA or _value.public_key_type=DSA

+
+

x

+

integer

+

The x coordinate for the public point on the elliptic curve.

+

Returned: When _value.public_key_type=ECC

+
+

y

+

integer

+

For _value.public_key_type=ECC, this is the y coordinate for the public point on the elliptic curve.

+

For _value.public_key_type=DSA, this is the publicly known group element whose discrete logarithm with respect to g is the private key.

+

Returned: When _value.public_key_type=DSA or _value.public_key_type=ECC

+
+

public_key_fingerprints

+

dictionary

+

Fingerprints of certificate’s public key.

+

For every hash algorithm available, the fingerprint is computed.

+

Returned: success

+

Sample: "{'sha256': 'd4:b3:aa:6d:c8:04:ce:4e:ba:f6:29:4d:92:a3:94:b0:c2:ff:bd:bf:33:63:11:43:34:0f:51:b0:95:09:2f:63', 'sha512': 'f7:07:4a:f0:b0:f0:e6:8b:95:5f:f9:e6:61:0a:32:68:f1..."

+
+

public_key_type

+

string

+

The certificate’s public key’s type.

+

One of RSA, DSA, ECC, Ed25519, X25519, Ed448, or X448.

+

Will start with unknown if the key type cannot be determined.

+

Returned: success

+

Sample: "RSA"

+
+

serial_number

+

integer

+

The certificate’s serial number.

+

This return value is an integer. If you need the serial numbers as a colon-separated hex string, such as 11:22:33, you need to convert it to that form with community.crypto.to_serial.

+

Returned: success

+

Sample: 1234

+
+

signature_algorithm

+

string

+

The signature algorithm used to sign the certificate.

+

Returned: success

+

Sample: "sha256WithRSAEncryption"

+
+

subject

+

dictionary

+

The certificate’s subject as a dictionary.

+

Note that for repeated values, only the last one will be returned.

+

Returned: success

+

Sample: {"commonName": "www.example.com", "emailAddress": "test@example.com"}

+
+

subject_alt_name

+

list / elements=string

+

Entries in the subject_alt_name extension, or none if extension is not present.

+

See name_encoding for how IDNs are handled.

+

Returned: success

+

Sample: ["DNS:www.ansible.com", "IP:1.2.3.4"]

+
+

subject_alt_name_critical

+

boolean

+

Whether the subject_alt_name extension is critical.

+

Returned: success

+
+

subject_key_identifier

+

string

+

The certificate’s subject key identifier.

+

The identifier is returned in hexadecimal, with : used to separate bytes.

+

Is none if the SubjectKeyIdentifier extension is not present.

+

Returned: success

+

Sample: "00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff:00:11:22:33"

+
+

subject_ordered

+

list / elements=list

+

The certificate’s subject as an ordered list of tuples.

+

Returned: success

+

Sample: [["commonName", "www.example.com"], [{"emailAddress": "test@example.com"}]]

+
+

version

+

integer

+

The certificate version.

+

Returned: success

+

Sample: 3

+
+
+

Authors

+
    +
  • Felix Fontein (@felixfontein)

  • +
+
+

Hint

+

Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.

+
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/x509_certificate_info_module.html b/tag/2.18.0/x509_certificate_info_module.html new file mode 100644 index 000000000..e27e5c78f --- /dev/null +++ b/tag/2.18.0/x509_certificate_info_module.html @@ -0,0 +1,855 @@ + + + + + + + + community.crypto.x509_certificate_info module – Provide information of OpenSSL X.509 certificates — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.x509_certificate_info module – Provide information of OpenSSL X.509 certificates

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.x509_certificate_info.

+
+ +
+

Synopsis

+
    +
  • This module allows one to query information on OpenSSL certificates.

  • +
  • It uses the cryptography python library to interact with OpenSSL.

  • +
  • Note that this module was called openssl_certificate_info when included directly in Ansible up to version 2.9. When moved to the collection community.crypto, it was renamed to community.crypto.x509_certificate_info. From Ansible 2.10 on, it can still be used by the old short name (or by ansible.builtin.openssl_certificate_info), which redirects to community.crypto.x509_certificate_info. When using FQCNs or when using the collections keyword, the new name community.crypto.x509_certificate_info should be used to avoid a deprecation warning.

  • +
+
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+ +
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + +

Parameter

Comments

+

content

+

string

+

added in community.crypto 1.0.0

+

Content of the X.509 certificate in PEM format.

+

Either path or content must be specified, but not both.

+
+

name_encoding

+

string

+

How to encode names (DNS names, URIs, email addresses) in return values.

+

ignore will use the encoding returned by the backend.

+

idna will convert all labels of domain names to IDNA encoding. IDNA2008 will be preferred, and IDNA2003 will be used if IDNA2008 encoding fails.

+

unicode will convert all labels of domain names to Unicode. IDNA2008 will be preferred, and IDNA2003 will be used if IDNA2008 decoding fails.

+

Note that idna and unicode require the idna Python library to be installed.

+

Choices:

+
    +
  • "ignore" ← (default)

  • +
  • "idna"

  • +
  • "unicode"

  • +
+
+

path

+

path

+

Remote absolute path where the certificate file is loaded from.

+

Either path or content must be specified, but not both.

+

PEM and DER formats are supported.

+
+

select_crypto_backend

+

string

+

Determines which crypto backend to use.

+

The default choice is auto, which tries to use cryptography if available.

+

If set to cryptography, will try to use the cryptography library.

+

Choices:

+
    +
  • "auto" ← (default)

  • +
  • "cryptography"

  • +
+
+

valid_at

+

dictionary

+

A dict of names mapping to time specifications. Every time specified here will be checked whether the certificate is valid at this point. See the valid_at return value for information on the result.

+

Time can be specified either as relative time or as absolute timestamp.

+

Time will always be interpreted as UTC.

+

Valid format is [+-]timespec | ASN.1 TIME where timespec can be an integer + [w | d | h | m | s] (for example +32w1d2h), and ASN.1 TIME (in other words, pattern YYYYMMDDHHMMSSZ). Note that all timestamps will be treated as being in UTC.

+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

check_mode

+

Support: full

+

This action does not modify state.

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: N/A

+

This action does not modify state.

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+
+
+

Notes

+
+

Note

+
    +
  • All timestamp values are provided in ASN.1 TIME format, in other words, following the YYYYMMDDHHMMSSZ pattern. They are all in UTC.

  • +
+
+
+
+

See Also

+
+

See also

+
+
community.crypto.x509_certificate

Generate and/or check OpenSSL certificates.

+
+
community.crypto.x509_certificate_pipe

Generate and/or check OpenSSL certificates.

+
+
community.crypto.x509_certificate_info filter plugin

A filter variant of this module.

+
+
community.crypto.to_serial filter plugin

Convert an integer to a colon-separated list of hex numbers.

+
+
+
+
+
+

Examples

+
- name: Generate a Self Signed OpenSSL certificate
+  community.crypto.x509_certificate:
+    path: /etc/ssl/crt/ansible.com.crt
+    privatekey_path: /etc/ssl/private/ansible.com.pem
+    csr_path: /etc/ssl/csr/ansible.com.csr
+    provider: selfsigned
+
+
+# Get information on the certificate
+
+- name: Get information on generated certificate
+  community.crypto.x509_certificate_info:
+    path: /etc/ssl/crt/ansible.com.crt
+  register: result
+
+- name: Dump information
+  ansible.builtin.debug:
+    var: result
+
+
+# Check whether the certificate is valid or not valid at certain times, fail
+# if this is not the case. The first task (x509_certificate_info) collects
+# the information, and the second task (assert) validates the result and
+# makes the playbook fail in case something is not as expected.
+
+- name: Test whether that certificate is valid tomorrow and/or in three weeks
+  community.crypto.x509_certificate_info:
+    path: /etc/ssl/crt/ansible.com.crt
+    valid_at:
+      point_1: "+1d"
+      point_2: "+3w"
+  register: result
+
+- name: Validate that certificate is valid tomorrow, but not in three weeks
+  ansible.builtin.assert:
+    that:
+      - result.valid_at.point_1      # valid in one day
+      - not result.valid_at.point_2  # not valid in three weeks
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Key

Description

+

authority_cert_issuer

+

list / elements=string

+

The certificate’s authority cert issuer as a list of general names.

+

Is none if the AuthorityKeyIdentifier extension is not present.

+

See name_encoding for how IDNs are handled.

+

Returned: success

+

Sample: ["DNS:www.ansible.com", "IP:1.2.3.4"]

+
+

authority_cert_serial_number

+

integer

+

The certificate’s authority cert serial number.

+

Is none if the AuthorityKeyIdentifier extension is not present.

+

This return value is an integer. If you need the serial numbers as a colon-separated hex string, such as 11:22:33, you need to convert it to that form with community.crypto.to_serial.

+

Returned: success

+

Sample: 12345

+
+

authority_key_identifier

+

string

+

The certificate’s authority key identifier.

+

The identifier is returned in hexadecimal, with : used to separate bytes.

+

Is none if the AuthorityKeyIdentifier extension is not present.

+

Returned: success

+

Sample: "00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff:00:11:22:33"

+
+

basic_constraints

+

list / elements=string

+

Entries in the basic_constraints extension, or none if extension is not present.

+

Returned: success

+

Sample: ["CA:TRUE", "pathlen:1"]

+
+

basic_constraints_critical

+

boolean

+

Whether the basic_constraints extension is critical.

+

Returned: success

+
+

expired

+

boolean

+

Whether the certificate is expired (in other words, notAfter is in the past).

+

Returned: success

+
+

extended_key_usage

+

list / elements=string

+

Entries in the extended_key_usage extension, or none if extension is not present.

+

Returned: success

+

Sample: ["Biometric Info", "DVCS", "Time Stamping"]

+
+

extended_key_usage_critical

+

boolean

+

Whether the extended_key_usage extension is critical.

+

Returned: success

+
+

extensions_by_oid

+

dictionary

+

Returns a dictionary for every extension OID.

+

Returned: success

+

Sample: {"1.3.6.1.5.5.7.1.24": {"critical": false, "value": "MAMCAQU="}}

+
+

critical

+

boolean

+

Whether the extension is critical.

+

Returned: success

+
+

value

+

string

+

The Base64 encoded value (in DER format) of the extension.

+

Note that depending on the cryptography version used, it is not possible to extract the ASN.1 content of the extension, but only to provide the re-encoded content of the extension in case it was parsed by cryptography. This should usually result in exactly the same value, except if the original extension value was malformed.

+

Returned: success

+

Sample: "MAMCAQU="

+
+

fingerprints

+

dictionary

+

added in community.crypto 1.2.0

+

Fingerprints of the DER-encoded form of the whole certificate.

+

For every hash algorithm available, the fingerprint is computed.

+

Returned: success

+

Sample: "{'sha256': 'd4:b3:aa:6d:c8:04:ce:4e:ba:f6:29:4d:92:a3:94:b0:c2:ff:bd:bf:33:63:11:43:34:0f:51:b0:95:09:2f:63', 'sha512': 'f7:07:4a:f0:b0:f0:e6:8b:95:5f:f9:e6:61:0a:32:68:f1..."

+
+

issuer

+

dictionary

+

The certificate’s issuer.

+

Note that for repeated values, only the last one will be returned.

+

Returned: success

+

Sample: {"commonName": "ca.example.com", "organizationName": "Ansible"}

+
+

issuer_ordered

+

list / elements=list

+

The certificate’s issuer as an ordered list of tuples.

+

Returned: success

+

Sample: [["organizationName", "Ansible"], [{"commonName": "ca.example.com"}]]

+
+

issuer_uri

+

string

+

added in community.crypto 2.9.0

+

The Issuer URI, if included in the certificate. Will be none if no issuer URI is included.

+

Returned: success

+
+

key_usage

+

string

+

Entries in the key_usage extension, or none if extension is not present.

+

Returned: success

+

Sample: "['Key Agreement', 'Data Encipherment']"

+
+

key_usage_critical

+

boolean

+

Whether the key_usage extension is critical.

+

Returned: success

+
+

not_after

+

string

+

notAfter date as ASN.1 TIME.

+

Returned: success

+

Sample: "20190413202428Z"

+
+

not_before

+

string

+

notBefore date as ASN.1 TIME.

+

Returned: success

+

Sample: "20190331202428Z"

+
+

ocsp_must_staple

+

boolean

+

true if the OCSP Must Staple extension is present, none otherwise.

+

Returned: success

+
+

ocsp_must_staple_critical

+

boolean

+

Whether the ocsp_must_staple extension is critical.

+

Returned: success

+
+

ocsp_uri

+

string

+

The OCSP responder URI, if included in the certificate. Will be none if no OCSP responder URI is included.

+

Returned: success

+
+

public_key

+

string

+

Certificate’s public key in PEM format.

+

Returned: success

+

Sample: "-----BEGIN PUBLIC KEY-----\nMIICIjANBgkqhkiG9w0BAQEFAAOCAg8A..."

+
+

public_key_data

+

dictionary

+

added in community.crypto 1.7.0

+

Public key data. Depends on the public key’s type.

+

Returned: success

+
+

curve

+

string

+

The curve’s name for ECC.

+

Returned: When public_key_type=ECC

+
+

exponent

+

integer

+

The RSA key’s public exponent.

+

Returned: When public_key_type=RSA

+
+

exponent_size

+

integer

+

The maximum number of bits of a private key. This is basically the bit size of the subgroup used.

+

Returned: When public_key_type=ECC

+
+

g

+

integer

+

The g value for DSA.

+

This is the element spanning the subgroup of the multiplicative group of the prime field used.

+

Returned: When public_key_type=DSA

+
+

modulus

+

integer

+

The RSA key’s modulus.

+

Returned: When public_key_type=RSA

+
+

p

+

integer

+

The p value for DSA.

+

This is the prime modulus upon which arithmetic takes place.

+

Returned: When public_key_type=DSA

+
+

q

+

integer

+

The q value for DSA.

+

This is a prime that divides p - 1, and at the same time the order of the subgroup of the multiplicative group of the prime field used.

+

Returned: When public_key_type=DSA

+
+

size

+

integer

+

Bit size of modulus (RSA) or prime number (DSA).

+

Returned: When public_key_type=RSA or public_key_type=DSA

+
+

x

+

integer

+

The x coordinate for the public point on the elliptic curve.

+

Returned: When public_key_type=ECC

+
+

y

+

integer

+

For public_key_type=ECC, this is the y coordinate for the public point on the elliptic curve.

+

For public_key_type=DSA, this is the publicly known group element whose discrete logarithm w.r.t. g is the private key.

+

Returned: When public_key_type=DSA or public_key_type=ECC

+
+

public_key_fingerprints

+

dictionary

+

Fingerprints of certificate’s public key.

+

For every hash algorithm available, the fingerprint is computed.

+

Returned: success

+

Sample: "{'sha256': 'd4:b3:aa:6d:c8:04:ce:4e:ba:f6:29:4d:92:a3:94:b0:c2:ff:bd:bf:33:63:11:43:34:0f:51:b0:95:09:2f:63', 'sha512': 'f7:07:4a:f0:b0:f0:e6:8b:95:5f:f9:e6:61:0a:32:68:f1..."

+
+

public_key_type

+

string

+

added in community.crypto 1.7.0

+

The certificate’s public key’s type.

+

One of RSA, DSA, ECC, Ed25519, X25519, Ed448, or X448.

+

Will start with unknown if the key type cannot be determined.

+

Returned: success

+

Sample: "RSA"

+
+

serial_number

+

integer

+

The certificate’s serial number.

+

This return value is an integer. If you need the serial numbers as a colon-separated hex string, such as 11:22:33, you need to convert it to that form with community.crypto.to_serial.

+

Returned: success

+

Sample: 1234

+
+

signature_algorithm

+

string

+

The signature algorithm used to sign the certificate.

+

Returned: success

+

Sample: "sha256WithRSAEncryption"

+
+

subject

+

dictionary

+

The certificate’s subject as a dictionary.

+

Note that for repeated values, only the last one will be returned.

+

Returned: success

+

Sample: {"commonName": "www.example.com", "emailAddress": "test@example.com"}

+
+

subject_alt_name

+

list / elements=string

+

Entries in the subject_alt_name extension, or none if extension is not present.

+

See name_encoding for how IDNs are handled.

+

Returned: success

+

Sample: ["DNS:www.ansible.com", "IP:1.2.3.4"]

+
+

subject_alt_name_critical

+

boolean

+

Whether the subject_alt_name extension is critical.

+

Returned: success

+
+

subject_key_identifier

+

string

+

The certificate’s subject key identifier.

+

The identifier is returned in hexadecimal, with : used to separate bytes.

+

Is none if the SubjectKeyIdentifier extension is not present.

+

Returned: success

+

Sample: "00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff:00:11:22:33"

+
+

subject_ordered

+

list / elements=list

+

The certificate’s subject as an ordered list of tuples.

+

Returned: success

+

Sample: [["commonName", "www.example.com"], [{"emailAddress": "test@example.com"}]]

+
+

valid_at

+

dictionary

+

For every time stamp provided in the valid_at option, a boolean whether the certificate is valid at that point in time or not.

+

Returned: success

+
+

version

+

integer

+

The certificate version.

+

Returned: success

+

Sample: 3

+
+
+

Authors

+
    +
  • Felix Fontein (@felixfontein)

  • +
  • Yanis Guenane (@Spredzy)

  • +
  • Markus Teufelberger (@MarkusTeufelberger)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/x509_certificate_module.html b/tag/2.18.0/x509_certificate_module.html new file mode 100644 index 000000000..34a176520 --- /dev/null +++ b/tag/2.18.0/x509_certificate_module.html @@ -0,0 +1,1087 @@ + + + + + + + + community.crypto.x509_certificate module – Generate and/or check OpenSSL certificates — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.x509_certificate module – Generate and/or check OpenSSL certificates

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.x509_certificate.

+
+ +
+

Synopsis

+
    +
  • It implements a notion of provider (one of selfsigned, ownca, acme, and entrust) for your certificate.

  • +
  • It uses the cryptography python library to interact with OpenSSL.

  • +
  • Note that this module was called openssl_certificate when included directly in Ansible up to version 2.9. When moved to the collection community.crypto, it was renamed to community.crypto.x509_certificate. From Ansible 2.10 on, it can still be used by the old short name (or by ansible.builtin.openssl_certificate), which redirects to community.crypto.x509_certificate. When using FQCNs or when using the collections keyword, the new name community.crypto.x509_certificate should be used to avoid a deprecation warning.

  • +
  • Please note that the module regenerates existing certificate if it does not match the module’s options, or if it seems to be corrupt. If you are concerned that this could overwrite your existing certificate, consider using the backup option.

  • +
  • The ownca provider is intended for generating an OpenSSL certificate signed with your own CA (Certificate Authority) certificate (self-signed certificate).

  • +
  • This module allows one to (re)generate OpenSSL certificates.

  • +
+
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+
    +
  • acme-tiny >= 4.0.0 (if using the acme provider)

  • +
  • cryptography >= 1.6 (if using selfsigned or ownca provider)

  • +
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

Comments

+

acme_accountkey_path

+

path

+

The path to the accountkey for the acme provider.

+

This is only used by the acme provider.

+
+

acme_chain

+

boolean

+

Include the intermediate certificate to the generated certificate

+

This is only used by the acme provider.

+

Note that this is only available for older versions of acme-tiny. New versions include the chain automatically, and setting acme_chain to true results in an error.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

acme_challenge_path

+

path

+

The path to the ACME challenge directory that is served on http://%3CHOST%3E:80/.well-known/acme-challenge/

+

This is only used by the acme provider.

+
+

acme_directory

+

string

+

added in community.crypto 1.0.0

+

The ACME directory to use. You can use any directory that supports the ACME protocol, such as Buypass or Let’s Encrypt.

+

Let’s Encrypt recommends using their staging server while developing jobs. https://letsencrypt.org/docs/staging-environment/.

+

Default: "https://acme-v02.api.letsencrypt.org/directory"

+
+
+

attributes

+

aliases: attr

+

string

+

The attributes the resulting filesystem object should have.

+

To get supported flags look at the man page for chattr on the target system.

+

This string should contain the attributes in the same order as the one displayed by lsattr.

+

The = operator is assumed as default, otherwise + or - operators need to be included in the string.

+
+

backup

+

boolean

+

Create a backup file including a timestamp so you can get the original certificate back if you overwrote it with a new one by accident.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

csr_content

+

string

+

added in community.crypto 1.0.0

+

Content of the Certificate Signing Request (CSR) used to generate this certificate.

+

This is mutually exclusive with csr_path.

+
+

csr_path

+

path

+

Path to the Certificate Signing Request (CSR) used to generate this certificate.

+

This is mutually exclusive with csr_content.

+
+

entrust_api_client_cert_key_path

+

path

+

The path to the private key of the client certificate used to authenticate to the Entrust Certificate Services (ECS) API.

+

This is only used by the entrust provider.

+

This is required if the provider is entrust.

+
+

entrust_api_client_cert_path

+

path

+

The path to the client certificate used to authenticate to the Entrust Certificate Services (ECS) API.

+

This is only used by the entrust provider.

+

This is required if the provider is entrust.

+
+

entrust_api_key

+

string

+

The key (password) for authentication to the Entrust Certificate Services (ECS) API.

+

This is only used by the entrust provider.

+

This is required if the provider is entrust.

+
+

entrust_api_specification_path

+

path

+

The path to the specification file defining the Entrust Certificate Services (ECS) API configuration.

+

You can use this to keep a local copy of the specification to avoid downloading it every time the module is used.

+

This is only used by the entrust provider.

+

Default: "https://cloud.entrust.net/EntrustCloud/documentation/cms-api-2.1.0.yaml"

+
+

entrust_api_user

+

string

+

The username for authentication to the Entrust Certificate Services (ECS) API.

+

This is only used by the entrust provider.

+

This is required if the provider is entrust.

+
+

entrust_cert_type

+

string

+

Specify the type of certificate requested.

+

This is only used by the entrust provider.

+

Choices:

+
    +
  • "STANDARD_SSL" ← (default)

  • +
  • "ADVANTAGE_SSL"

  • +
  • "UC_SSL"

  • +
  • "EV_SSL"

  • +
  • "WILDCARD_SSL"

  • +
  • "PRIVATE_SSL"

  • +
  • "PD_SSL"

  • +
  • "CDS_ENT_LITE"

  • +
  • "CDS_ENT_PRO"

  • +
  • "SMIME_ENT"

  • +
+
+

entrust_not_after

+

string

+

The point in time at which the certificate stops being valid.

+

Time can be specified either as relative time or as an absolute timestamp.

+

A valid absolute time format is ASN.1 TIME such as 2019-06-18.

+

A valid relative time format is [+-]timespec where timespec can be an integer + [w | d | h | m | s], such as +365d or +32w1d2h).

+

Time will always be interpreted as UTC.

+

Note that only the date (day, month, year) is supported for specifying the expiry date of the issued certificate.

+

The full date-time is adjusted to EST (GMT -5:00) before issuance, which may result in a certificate with an expiration date one day earlier than expected if a relative time is used.

+

The minimum certificate lifetime is 90 days, and maximum is three years.

+

If this value is not specified, the certificate will stop being valid 365 days the date of issue.

+

This is only used by the entrust provider.

+

Please note that this value is not covered by the ignore_timestamps option.

+

Default: "+365d"

+
+

entrust_requester_email

+

string

+

The email of the requester of the certificate (for tracking purposes).

+

This is only used by the entrust provider.

+

This is required if the provider is entrust.

+
+

entrust_requester_name

+

string

+

The name of the requester of the certificate (for tracking purposes).

+

This is only used by the entrust provider.

+

This is required if the provider is entrust.

+
+

entrust_requester_phone

+

string

+

The phone number of the requester of the certificate (for tracking purposes).

+

This is only used by the entrust provider.

+

This is required if the provider is entrust.

+
+

force

+

boolean

+

Generate the certificate, even if it already exists.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

group

+

string

+

Name of the group that should own the filesystem object, as would be fed to chown.

+

When left unspecified, it uses the current group of the current user unless you are root, in which case it can preserve the previous ownership.

+
+

ignore_timestamps

+

boolean

+

added in community.crypto 2.0.0

+

Whether the “not before” and “not after” timestamps should be ignored for idempotency checks.

+

It is better to keep the default value true when using relative timestamps (like +0s for now).

+

Choices:

+
    +
  • false

  • +
  • true ← (default)

  • +
+
+

mode

+

any

+

The permissions the resulting filesystem object should have.

+

For those used to /usr/bin/chmod remember that modes are actually octal numbers. You must give Ansible enough information to parse them correctly. For consistent results, quote octal numbers (for example, '644' or '1777') so Ansible receives a string and can do its own conversion from string into number. Adding a leading zero (for example, 0755) works sometimes, but can fail in loops and some other circumstances.

+

Giving Ansible a number without following either of these rules will end up with a decimal number which will have unexpected results.

+

As of Ansible 1.8, the mode may be specified as a symbolic mode (for example, u+rwx or u=rw,g=r,o=r).

+

If mode is not specified and the destination filesystem object does not exist, the default umask on the system will be used when setting the mode for the newly created filesystem object.

+

If mode is not specified and the destination filesystem object does exist, the mode of the existing filesystem object will be used.

+

Specifying mode is the best way to ensure filesystem objects are created with the correct permissions. See CVE-2020-1736 for further details.

+
+

ownca_content

+

string

+

added in community.crypto 1.0.0

+

Content of the CA (Certificate Authority) certificate.

+

This is only used by the ownca provider.

+

This is mutually exclusive with ownca_path.

+
+

ownca_create_authority_key_identifier

+

boolean

+

Create a Authority Key Identifier from the CA’s certificate. If the CSR provided a authority key identifier, it is ignored.

+

The Authority Key Identifier is generated from the CA certificate’s Subject Key Identifier, if available. If it is not available, the CA certificate’s public key will be used.

+

This is only used by the ownca provider.

+

Note that this is only supported if the cryptography backend is used!

+

Choices:

+
    +
  • false

  • +
  • true ← (default)

  • +
+
+

ownca_create_subject_key_identifier

+

string

+

Whether to create the Subject Key Identifier (SKI) from the public key.

+

A value of create_if_not_provided (default) only creates a SKI when the CSR does not provide one.

+

A value of always_create always creates a SKI. If the CSR provides one, that one is ignored.

+

A value of never_create never creates a SKI. If the CSR provides one, that one is used.

+

This is only used by the ownca provider.

+

Note that this is only supported if the cryptography backend is used!

+

Choices:

+
    +
  • "create_if_not_provided" ← (default)

  • +
  • "always_create"

  • +
  • "never_create"

  • +
+
+

ownca_digest

+

string

+

The digest algorithm to be used for the ownca certificate.

+

This is only used by the ownca provider.

+

Default: "sha256"

+
+

ownca_not_after

+

string

+

The point in time at which the certificate stops being valid.

+

Time can be specified either as relative time or as absolute timestamp.

+

Time will always be interpreted as UTC.

+

Valid format is [+-]timespec | ASN.1 TIME where timespec can be an integer + [w | d | h | m | s] (for example +32w1d2h).

+

If this value is not specified, the certificate will stop being valid 10 years from now.

+

Note that this value is not used to determine whether an existing certificate should be regenerated. This can be changed by setting the ignore_timestamps option to false. Please note that you should avoid relative timestamps when setting ignore_timestamps=false.

+

This is only used by the ownca provider.

+

On macOS 10.15 and onwards, TLS server certificates must have a validity period of 825 days or fewer. Please see https://support.apple.com/en-us/HT210176 for more details.

+

Default: "+3650d"

+
+

ownca_not_before

+

string

+

The point in time the certificate is valid from.

+

Time can be specified either as relative time or as absolute timestamp.

+

Time will always be interpreted as UTC.

+

Valid format is [+-]timespec | ASN.1 TIME where timespec can be an integer + [w | d | h | m | s] (for example +32w1d2h).

+

If this value is not specified, the certificate will start being valid from now.

+

Note that this value is not used to determine whether an existing certificate should be regenerated. This can be changed by setting the ignore_timestamps option to false. Please note that you should avoid relative timestamps when setting ignore_timestamps=false.

+

This is only used by the ownca provider.

+

Default: "+0s"

+
+

ownca_path

+

path

+

Remote absolute path of the CA (Certificate Authority) certificate.

+

This is only used by the ownca provider.

+

This is mutually exclusive with ownca_content.

+
+

ownca_privatekey_content

+

string

+

added in community.crypto 1.0.0

+

Content of the CA (Certificate Authority) private key to use when signing the certificate.

+

This is only used by the ownca provider.

+

This is mutually exclusive with ownca_privatekey_path.

+
+

ownca_privatekey_passphrase

+

string

+

The passphrase for the ownca_privatekey_path resp. ownca_privatekey_content.

+

This is only used by the ownca provider.

+
+

ownca_privatekey_path

+

path

+

Path to the CA (Certificate Authority) private key to use when signing the certificate.

+

This is only used by the ownca provider.

+

This is mutually exclusive with ownca_privatekey_content.

+
+

ownca_version

+

integer

+

The version of the ownca certificate.

+

Nowadays it should almost always be 3.

+

This is only used by the ownca provider.

+

Default: 3

+
+

owner

+

string

+

Name of the user that should own the filesystem object, as would be fed to chown.

+

When left unspecified, it uses the current user unless you are root, in which case it can preserve the previous ownership.

+

Specifying a numeric username will be assumed to be a user ID and not a username. Avoid numeric usernames to avoid this confusion.

+
+

path

+

path / required

+

Remote absolute path where the generated certificate file should be created or is already located.

+
+

privatekey_content

+

string

+

added in community.crypto 1.0.0

+

Content of the private key to use when signing the certificate.

+

This is mutually exclusive with privatekey_path.

+
+

privatekey_passphrase

+

string

+

The passphrase for the privatekey_path resp. privatekey_content.

+

This is required if the private key is password protected.

+
+

privatekey_path

+

path

+

Path to the private key to use when signing the certificate.

+

This is mutually exclusive with privatekey_content.

+
+

provider

+

string

+

Name of the provider to use to generate/retrieve the OpenSSL certificate. Please see the examples on how to emulate it with community.crypto.x509_certificate_info, community.crypto.openssl_csr_info, community.crypto.openssl_privatekey_info and ansible.builtin.assert.

+

The entrust provider was added for Ansible 2.9 and requires credentials for the Entrust Certificate Services (ECS) API.

+

Required if state is present.

+

Choices:

+
    +
  • "acme"

  • +
  • "entrust"

  • +
  • "ownca"

  • +
  • "selfsigned"

  • +
+
+

return_content

+

boolean

+

added in community.crypto 1.0.0

+

If set to true, will return the (current or generated) certificate’s content as certificate.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

select_crypto_backend

+

string

+

Determines which crypto backend to use.

+

The default choice is auto, which tries to use cryptography if available.

+

If set to cryptography, will try to use the cryptography library.

+

Choices:

+
    +
  • "auto" ← (default)

  • +
  • "cryptography"

  • +
+
+

selevel

+

string

+

The level part of the SELinux filesystem object context.

+

This is the MLS/MCS attribute, sometimes known as the range.

+

When set to _default, it will use the level portion of the policy if available.

+
+

selfsigned_create_subject_key_identifier

+

string

+

Whether to create the Subject Key Identifier (SKI) from the public key.

+

A value of create_if_not_provided (default) only creates a SKI when the CSR does not provide one.

+

A value of always_create always creates a SKI. If the CSR provides one, that one is ignored.

+

A value of never_create never creates a SKI. If the CSR provides one, that one is used.

+

This is only used by the selfsigned provider.

+

Note that this is only supported if the cryptography backend is used!

+

Choices:

+
    +
  • "create_if_not_provided" ← (default)

  • +
  • "always_create"

  • +
  • "never_create"

  • +
+
+

selfsigned_digest

+

string

+

Digest algorithm to be used when self-signing the certificate.

+

This is only used by the selfsigned provider.

+

Default: "sha256"

+
+
+

selfsigned_not_after

+

aliases: selfsigned_notAfter

+

string

+

The point in time at which the certificate stops being valid.

+

Time can be specified either as relative time or as absolute timestamp.

+

Time will always be interpreted as UTC.

+

Valid format is [+-]timespec | ASN.1 TIME where timespec can be an integer + [w | d | h | m | s] (for example +32w1d2h).

+

If this value is not specified, the certificate will stop being valid 10 years from now.

+

Note that this value is not used to determine whether an existing certificate should be regenerated. This can be changed by setting the ignore_timestamps option to false. Please note that you should avoid relative timestamps when setting ignore_timestamps=false.

+

This is only used by the selfsigned provider.

+

On macOS 10.15 and onwards, TLS server certificates must have a validity period of 825 days or fewer. Please see https://support.apple.com/en-us/HT210176 for more details.

+

Default: "+3650d"

+
+
+

selfsigned_not_before

+

aliases: selfsigned_notBefore

+

string

+

The point in time the certificate is valid from.

+

Time can be specified either as relative time or as absolute timestamp.

+

Time will always be interpreted as UTC.

+

Valid format is [+-]timespec | ASN.1 TIME where timespec can be an integer + [w | d | h | m | s] (for example +32w1d2h).

+

If this value is not specified, the certificate will start being valid from now.

+

Note that this value is not used to determine whether an existing certificate should be regenerated. This can be changed by setting the ignore_timestamps option to false. Please note that you should avoid relative timestamps when setting ignore_timestamps=false.

+

This is only used by the selfsigned provider.

+

Default: "+0s"

+
+

selfsigned_version

+

integer

+

Version of the selfsigned certificate.

+

Nowadays it should almost always be 3.

+

This is only used by the selfsigned provider.

+

Default: 3

+
+

serole

+

string

+

The role part of the SELinux filesystem object context.

+

When set to _default, it will use the role portion of the policy if available.

+
+

setype

+

string

+

The type part of the SELinux filesystem object context.

+

When set to _default, it will use the type portion of the policy if available.

+
+

seuser

+

string

+

The user part of the SELinux filesystem object context.

+

By default it uses the system policy, where applicable.

+

When set to _default, it will use the user portion of the policy if available.

+
+

state

+

string

+

Whether the certificate should exist or not, taking action if the state is different from what is stated.

+

Choices:

+
    +
  • "absent"

  • +
  • "present" ← (default)

  • +
+
+

unsafe_writes

+

boolean

+

Influence when to use atomic operation to prevent data corruption or inconsistent reads from the target filesystem object.

+

By default this module uses atomic operations to prevent data corruption or inconsistent reads from the target filesystem objects, but sometimes systems are configured or just broken in ways that prevent this. One example is docker mounted filesystem objects, which cannot be updated atomically from inside the container and can only be written in an unsafe manner.

+

This option allows Ansible to fall back to unsafe methods of updating filesystem objects when atomic operations fail (however, it doesn’t force Ansible to perform unsafe writes).

+

IMPORTANT! Unsafe writes are subject to race conditions and can lead to data corruption.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

check_mode

+

Support: full

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: full

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+

safe_file_operations

+

Support: full

+

Uses Ansible’s strict file operation functions to ensure proper permissions and avoid data corruption.

+
+
+
+

Notes

+
+

Note

+
    +
  • All ASN.1 TIME values should be specified following the YYYYMMDDHHMMSSZ pattern.

  • +
  • Date specified should be UTC. Minutes and seconds are mandatory.

  • +
  • For security reason, when you use ownca provider, you should NOT run community.crypto.x509_certificate on a target machine, but on a dedicated CA machine. It is recommended not to store the CA private key on the target machine. Once signed, the certificate can be moved to the target machine.

  • +
  • For the selfsigned provider, csr_path and csr_content are optional. If not provided, a certificate without any information (Subject, Subject Alternative Names, Key Usage, etc.) is created.

  • +
+
+
+
+

See Also

+
+

See also

+
+
community.crypto.x509_certificate_pipe

Generate and/or check OpenSSL certificates.

+
+
community.crypto.openssl_csr

Generate OpenSSL Certificate Signing Request (CSR).

+
+
community.crypto.openssl_csr_pipe

Generate OpenSSL Certificate Signing Request (CSR).

+
+
community.crypto.openssl_dhparam

Generate OpenSSL Diffie-Hellman Parameters.

+
+
community.crypto.openssl_pkcs12

Generate OpenSSL PKCS#12 archive.

+
+
community.crypto.openssl_privatekey

Generate OpenSSL private keys.

+
+
community.crypto.openssl_privatekey_pipe

Generate OpenSSL private keys without disk access.

+
+
community.crypto.openssl_publickey

Generate an OpenSSL public key from its private key.

+
+
+
+
+
+

Examples

+
- name: Generate a Self Signed OpenSSL certificate
+  community.crypto.x509_certificate:
+    path: /etc/ssl/crt/ansible.com.crt
+    privatekey_path: /etc/ssl/private/ansible.com.pem
+    csr_path: /etc/ssl/csr/ansible.com.csr
+    provider: selfsigned
+
+- name: Generate an OpenSSL certificate signed with your own CA certificate
+  community.crypto.x509_certificate:
+    path: /etc/ssl/crt/ansible.com.crt
+    csr_path: /etc/ssl/csr/ansible.com.csr
+    ownca_path: /etc/ssl/crt/ansible_CA.crt
+    ownca_privatekey_path: /etc/ssl/private/ansible_CA.pem
+    provider: ownca
+
+- name: Generate a Let's Encrypt Certificate
+  community.crypto.x509_certificate:
+    path: /etc/ssl/crt/ansible.com.crt
+    csr_path: /etc/ssl/csr/ansible.com.csr
+    provider: acme
+    acme_accountkey_path: /etc/ssl/private/ansible.com.pem
+    acme_challenge_path: /etc/ssl/challenges/ansible.com/
+
+- name: Force (re-)generate a new Let's Encrypt Certificate
+  community.crypto.x509_certificate:
+    path: /etc/ssl/crt/ansible.com.crt
+    csr_path: /etc/ssl/csr/ansible.com.csr
+    provider: acme
+    acme_accountkey_path: /etc/ssl/private/ansible.com.pem
+    acme_challenge_path: /etc/ssl/challenges/ansible.com/
+    force: true
+
+- name: Generate an Entrust certificate via the Entrust Certificate Services (ECS) API
+  community.crypto.x509_certificate:
+    path: /etc/ssl/crt/ansible.com.crt
+    csr_path: /etc/ssl/csr/ansible.com.csr
+    provider: entrust
+    entrust_requester_name: Jo Doe
+    entrust_requester_email: jdoe@ansible.com
+    entrust_requester_phone: 555-555-5555
+    entrust_cert_type: STANDARD_SSL
+    entrust_api_user: apiusername
+    entrust_api_key: a^lv*32!cd9LnT
+    entrust_api_client_cert_path: /etc/ssl/entrust/ecs-client.crt
+    entrust_api_client_cert_key_path: /etc/ssl/entrust/ecs-key.crt
+    entrust_api_specification_path: /etc/ssl/entrust/api-docs/cms-api-2.1.0.yaml
+
+# The following example shows how to emulate the behavior of the removed
+# "assertonly" provider with the x509_certificate_info, openssl_csr_info,
+# openssl_privatekey_info and assert modules:
+
+- name: Get certificate information
+  community.crypto.x509_certificate_info:
+    path: /etc/ssl/crt/ansible.com.crt
+    # for valid_at, invalid_at and valid_in
+    valid_at:
+      one_day_ten_hours: "+1d10h"
+      fixed_timestamp: 20200331202428Z
+      ten_seconds: "+10"
+  register: result
+
+- name: Get CSR information
+  community.crypto.openssl_csr_info:
+    # Verifies that the CSR signature is valid; module will fail if not
+    path: /etc/ssl/csr/ansible.com.csr
+  register: result_csr
+
+- name: Get private key information
+  community.crypto.openssl_privatekey_info:
+    path: /etc/ssl/csr/ansible.com.key
+  register: result_privatekey
+
+- name: Check conditions on certificate, CSR, and private key
+  ansible.builtin.assert:
+    that:
+      # When private key was specified for assertonly, this was checked:
+      - result.public_key == result_privatekey.public_key
+      # When CSR was specified for assertonly, this was checked:
+      - result.public_key == result_csr.public_key
+      - result.subject_ordered == result_csr.subject_ordered
+      - result.extensions_by_oid == result_csr.extensions_by_oid
+      # signature_algorithms check
+      - "result.signature_algorithm == 'sha256WithRSAEncryption' or result.signature_algorithm == 'sha512WithRSAEncryption'"
+      # subject and subject_strict
+      - "result.subject.commonName == 'ansible.com'"
+      - "result.subject | length == 1"  # the number must be the number of entries you check for
+      # issuer and issuer_strict
+      - "result.issuer.commonName == 'ansible.com'"
+      - "result.issuer | length == 1"  # the number must be the number of entries you check for
+      # has_expired
+      - not result.expired
+      # version
+      - result.version == 3
+      # key_usage and key_usage_strict
+      - "'Data Encipherment' in result.key_usage"
+      - "result.key_usage | length == 1"  # the number must be the number of entries you check for
+      # extended_key_usage and extended_key_usage_strict
+      - "'DVCS' in result.extended_key_usage"
+      - "result.extended_key_usage | length == 1"  # the number must be the number of entries you check for
+      # subject_alt_name and subject_alt_name_strict
+      - "'dns:ansible.com' in result.subject_alt_name"
+      - "result.subject_alt_name | length == 1"  # the number must be the number of entries you check for
+      # not_before and not_after
+      - "result.not_before == '20190331202428Z'"
+      - "result.not_after == '20190413202428Z'"
+      # valid_at, invalid_at and valid_in
+      - "result.valid_at.one_day_ten_hours"  # for valid_at
+      - "not result.valid_at.fixed_timestamp"  # for invalid_at
+      - "result.valid_at.ten_seconds"  # for valid_in
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + + + + + + + +

Key

Description

+

backup_file

+

string

+

Name of backup file created.

+

Returned: changed and if backup is true

+

Sample: "/path/to/www.ansible.com.crt.2019-03-09@11:22~"

+
+

certificate

+

string

+

added in community.crypto 1.0.0

+

The (current or generated) certificate’s content.

+

Returned: if state is present and return_content is true

+
+

filename

+

string

+

Path to the generated certificate.

+

Returned: changed or success

+

Sample: "/etc/ssl/crt/www.ansible.com.crt"

+
+
+

Authors

+
    +
  • Yanis Guenane (@Spredzy)

  • +
  • Markus Teufelberger (@MarkusTeufelberger)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/x509_certificate_pipe_module.html b/tag/2.18.0/x509_certificate_pipe_module.html new file mode 100644 index 000000000..05575506a --- /dev/null +++ b/tag/2.18.0/x509_certificate_pipe_module.html @@ -0,0 +1,837 @@ + + + + + + + + community.crypto.x509_certificate_pipe module – Generate and/or check OpenSSL certificates — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.x509_certificate_pipe module – Generate and/or check OpenSSL certificates

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.x509_certificate_pipe.

+
+

New in community.crypto 1.3.0

+ +
+

Synopsis

+
    +
  • It implements a notion of provider (one of selfsigned, ownca, entrust) for your certificate.

  • +
  • It uses the cryptography python library to interact with OpenSSL.

  • +
  • The ownca provider is intended for generating an OpenSSL certificate signed with your own CA (Certificate Authority) certificate (self-signed certificate).

  • +
  • This module allows one to (re)generate OpenSSL certificates.

  • +
+
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+
    +
  • cryptography >= 1.6 (if using selfsigned or ownca provider)

  • +
+
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

Comments

+

content

+

string

+

The existing certificate.

+
+

csr_content

+

string

+

Content of the Certificate Signing Request (CSR) used to generate this certificate.

+

This is mutually exclusive with csr_path.

+
+

csr_path

+

path

+

Path to the Certificate Signing Request (CSR) used to generate this certificate.

+

This is mutually exclusive with csr_content.

+
+

entrust_api_client_cert_key_path

+

path

+

The path to the private key of the client certificate used to authenticate to the Entrust Certificate Services (ECS) API.

+

This is only used by the entrust provider.

+

This is required if the provider is entrust.

+
+

entrust_api_client_cert_path

+

path

+

The path to the client certificate used to authenticate to the Entrust Certificate Services (ECS) API.

+

This is only used by the entrust provider.

+

This is required if the provider is entrust.

+
+

entrust_api_key

+

string

+

The key (password) for authentication to the Entrust Certificate Services (ECS) API.

+

This is only used by the entrust provider.

+

This is required if the provider is entrust.

+
+

entrust_api_specification_path

+

path

+

The path to the specification file defining the Entrust Certificate Services (ECS) API configuration.

+

You can use this to keep a local copy of the specification to avoid downloading it every time the module is used.

+

This is only used by the entrust provider.

+

Default: "https://cloud.entrust.net/EntrustCloud/documentation/cms-api-2.1.0.yaml"

+
+

entrust_api_user

+

string

+

The username for authentication to the Entrust Certificate Services (ECS) API.

+

This is only used by the entrust provider.

+

This is required if the provider is entrust.

+
+

entrust_cert_type

+

string

+

Specify the type of certificate requested.

+

This is only used by the entrust provider.

+

Choices:

+
    +
  • "STANDARD_SSL" ← (default)

  • +
  • "ADVANTAGE_SSL"

  • +
  • "UC_SSL"

  • +
  • "EV_SSL"

  • +
  • "WILDCARD_SSL"

  • +
  • "PRIVATE_SSL"

  • +
  • "PD_SSL"

  • +
  • "CDS_ENT_LITE"

  • +
  • "CDS_ENT_PRO"

  • +
  • "SMIME_ENT"

  • +
+
+

entrust_not_after

+

string

+

The point in time at which the certificate stops being valid.

+

Time can be specified either as relative time or as an absolute timestamp.

+

A valid absolute time format is ASN.1 TIME such as 2019-06-18.

+

A valid relative time format is [+-]timespec where timespec can be an integer + [w | d | h | m | s], such as +365d or +32w1d2h).

+

Time will always be interpreted as UTC.

+

Note that only the date (day, month, year) is supported for specifying the expiry date of the issued certificate.

+

The full date-time is adjusted to EST (GMT -5:00) before issuance, which may result in a certificate with an expiration date one day earlier than expected if a relative time is used.

+

The minimum certificate lifetime is 90 days, and maximum is three years.

+

If this value is not specified, the certificate will stop being valid 365 days the date of issue.

+

This is only used by the entrust provider.

+

Please note that this value is not covered by the ignore_timestamps option.

+

Default: "+365d"

+
+

entrust_requester_email

+

string

+

The email of the requester of the certificate (for tracking purposes).

+

This is only used by the entrust provider.

+

This is required if the provider is entrust.

+
+

entrust_requester_name

+

string

+

The name of the requester of the certificate (for tracking purposes).

+

This is only used by the entrust provider.

+

This is required if the provider is entrust.

+
+

entrust_requester_phone

+

string

+

The phone number of the requester of the certificate (for tracking purposes).

+

This is only used by the entrust provider.

+

This is required if the provider is entrust.

+
+

force

+

boolean

+

Generate the certificate, even if it already exists.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

ignore_timestamps

+

boolean

+

added in community.crypto 2.0.0

+

Whether the “not before” and “not after” timestamps should be ignored for idempotency checks.

+

It is better to keep the default value true when using relative timestamps (like +0s for now).

+

Choices:

+
    +
  • false

  • +
  • true ← (default)

  • +
+
+

ownca_content

+

string

+

Content of the CA (Certificate Authority) certificate.

+

This is only used by the ownca provider.

+

This is mutually exclusive with ownca_path.

+
+

ownca_create_authority_key_identifier

+

boolean

+

Create a Authority Key Identifier from the CA’s certificate. If the CSR provided a authority key identifier, it is ignored.

+

The Authority Key Identifier is generated from the CA certificate’s Subject Key Identifier, if available. If it is not available, the CA certificate’s public key will be used.

+

This is only used by the ownca provider.

+

Note that this is only supported if the cryptography backend is used!

+

Choices:

+
    +
  • false

  • +
  • true ← (default)

  • +
+
+

ownca_create_subject_key_identifier

+

string

+

Whether to create the Subject Key Identifier (SKI) from the public key.

+

A value of create_if_not_provided (default) only creates a SKI when the CSR does not provide one.

+

A value of always_create always creates a SKI. If the CSR provides one, that one is ignored.

+

A value of never_create never creates a SKI. If the CSR provides one, that one is used.

+

This is only used by the ownca provider.

+

Note that this is only supported if the cryptography backend is used!

+

Choices:

+
    +
  • "create_if_not_provided" ← (default)

  • +
  • "always_create"

  • +
  • "never_create"

  • +
+
+

ownca_digest

+

string

+

The digest algorithm to be used for the ownca certificate.

+

This is only used by the ownca provider.

+

Default: "sha256"

+
+

ownca_not_after

+

string

+

The point in time at which the certificate stops being valid.

+

Time can be specified either as relative time or as absolute timestamp.

+

Time will always be interpreted as UTC.

+

Valid format is [+-]timespec | ASN.1 TIME where timespec can be an integer + [w | d | h | m | s] (for example +32w1d2h).

+

If this value is not specified, the certificate will stop being valid 10 years from now.

+

Note that this value is not used to determine whether an existing certificate should be regenerated. This can be changed by setting the ignore_timestamps option to false. Please note that you should avoid relative timestamps when setting ignore_timestamps=false.

+

This is only used by the ownca provider.

+

On macOS 10.15 and onwards, TLS server certificates must have a validity period of 825 days or fewer. Please see https://support.apple.com/en-us/HT210176 for more details.

+

Default: "+3650d"

+
+

ownca_not_before

+

string

+

The point in time the certificate is valid from.

+

Time can be specified either as relative time or as absolute timestamp.

+

Time will always be interpreted as UTC.

+

Valid format is [+-]timespec | ASN.1 TIME where timespec can be an integer + [w | d | h | m | s] (for example +32w1d2h).

+

If this value is not specified, the certificate will start being valid from now.

+

Note that this value is not used to determine whether an existing certificate should be regenerated. This can be changed by setting the ignore_timestamps option to false. Please note that you should avoid relative timestamps when setting ignore_timestamps=false.

+

This is only used by the ownca provider.

+

Default: "+0s"

+
+

ownca_path

+

path

+

Remote absolute path of the CA (Certificate Authority) certificate.

+

This is only used by the ownca provider.

+

This is mutually exclusive with ownca_content.

+
+

ownca_privatekey_content

+

string

+

Content of the CA (Certificate Authority) private key to use when signing the certificate.

+

This is only used by the ownca provider.

+

This is mutually exclusive with ownca_privatekey_path.

+
+

ownca_privatekey_passphrase

+

string

+

The passphrase for the ownca_privatekey_path resp. ownca_privatekey_content.

+

This is only used by the ownca provider.

+
+

ownca_privatekey_path

+

path

+

Path to the CA (Certificate Authority) private key to use when signing the certificate.

+

This is only used by the ownca provider.

+

This is mutually exclusive with ownca_privatekey_content.

+
+

ownca_version

+

integer

+

The version of the ownca certificate.

+

Nowadays it should almost always be 3.

+

This is only used by the ownca provider.

+

Default: 3

+
+

privatekey_content

+

string

+

Content of the private key to use when signing the certificate.

+

This is mutually exclusive with privatekey_path.

+
+

privatekey_passphrase

+

string

+

The passphrase for the privatekey_path resp. privatekey_content.

+

This is required if the private key is password protected.

+
+

privatekey_path

+

path

+

Path to the private key to use when signing the certificate.

+

This is mutually exclusive with privatekey_content.

+
+

provider

+

string / required

+

Name of the provider to use to generate/retrieve the OpenSSL certificate.

+

The entrust provider requires credentials for the Entrust Certificate Services (ECS) API.

+

Choices:

+
    +
  • "entrust"

  • +
  • "ownca"

  • +
  • "selfsigned"

  • +
+
+

select_crypto_backend

+

string

+

Determines which crypto backend to use.

+

The default choice is auto, which tries to use cryptography if available.

+

If set to cryptography, will try to use the cryptography library.

+

Choices:

+
    +
  • "auto" ← (default)

  • +
  • "cryptography"

  • +
+
+

selfsigned_create_subject_key_identifier

+

string

+

Whether to create the Subject Key Identifier (SKI) from the public key.

+

A value of create_if_not_provided (default) only creates a SKI when the CSR does not provide one.

+

A value of always_create always creates a SKI. If the CSR provides one, that one is ignored.

+

A value of never_create never creates a SKI. If the CSR provides one, that one is used.

+

This is only used by the selfsigned provider.

+

Note that this is only supported if the cryptography backend is used!

+

Choices:

+
    +
  • "create_if_not_provided" ← (default)

  • +
  • "always_create"

  • +
  • "never_create"

  • +
+
+

selfsigned_digest

+

string

+

Digest algorithm to be used when self-signing the certificate.

+

This is only used by the selfsigned provider.

+

Default: "sha256"

+
+
+

selfsigned_not_after

+

aliases: selfsigned_notAfter

+

string

+

The point in time at which the certificate stops being valid.

+

Time can be specified either as relative time or as absolute timestamp.

+

Time will always be interpreted as UTC.

+

Valid format is [+-]timespec | ASN.1 TIME where timespec can be an integer + [w | d | h | m | s] (for example +32w1d2h).

+

If this value is not specified, the certificate will stop being valid 10 years from now.

+

Note that this value is not used to determine whether an existing certificate should be regenerated. This can be changed by setting the ignore_timestamps option to false. Please note that you should avoid relative timestamps when setting ignore_timestamps=false.

+

This is only used by the selfsigned provider.

+

On macOS 10.15 and onwards, TLS server certificates must have a validity period of 825 days or fewer. Please see https://support.apple.com/en-us/HT210176 for more details.

+

Default: "+3650d"

+
+
+

selfsigned_not_before

+

aliases: selfsigned_notBefore

+

string

+

The point in time the certificate is valid from.

+

Time can be specified either as relative time or as absolute timestamp.

+

Time will always be interpreted as UTC.

+

Valid format is [+-]timespec | ASN.1 TIME where timespec can be an integer + [w | d | h | m | s] (for example +32w1d2h).

+

If this value is not specified, the certificate will start being valid from now.

+

Note that this value is not used to determine whether an existing certificate should be regenerated. This can be changed by setting the ignore_timestamps option to false. Please note that you should avoid relative timestamps when setting ignore_timestamps=false.

+

This is only used by the selfsigned provider.

+

Default: "+0s"

+
+

selfsigned_version

+

integer

+

Version of the selfsigned certificate.

+

Nowadays it should almost always be 3.

+

This is only used by the selfsigned provider.

+

Default: 3

+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

check_mode

+

Support: full

+

Currently in check mode, private keys will not be (re-)generated, only the changed status is set. This will change in community.crypto 3.0.0.

+

From community.crypto 3.0.0 on, the module will ignore check mode and always behave as if check mode is not active. If you think this breaks your use-case of this module, please create an issue in the community.crypto repository.

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: full

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+
+
+

Notes

+
+

Note

+
    +
  • All ASN.1 TIME values should be specified following the YYYYMMDDHHMMSSZ pattern.

  • +
  • Date specified should be UTC. Minutes and seconds are mandatory.

  • +
  • For security reason, when you use ownca provider, you should NOT run community.crypto.x509_certificate on a target machine, but on a dedicated CA machine. It is recommended not to store the CA private key on the target machine. Once signed, the certificate can be moved to the target machine.

  • +
  • For the selfsigned provider, csr_path and csr_content are optional. If not provided, a certificate without any information (Subject, Subject Alternative Names, Key Usage, etc.) is created.

  • +
+
+
+
+

See Also

+
+

See also

+
+
community.crypto.x509_certificate

Generate and/or check OpenSSL certificates.

+
+
community.crypto.openssl_csr

Generate OpenSSL Certificate Signing Request (CSR).

+
+
community.crypto.openssl_csr_pipe

Generate OpenSSL Certificate Signing Request (CSR).

+
+
community.crypto.openssl_dhparam

Generate OpenSSL Diffie-Hellman Parameters.

+
+
community.crypto.openssl_pkcs12

Generate OpenSSL PKCS#12 archive.

+
+
community.crypto.openssl_privatekey

Generate OpenSSL private keys.

+
+
community.crypto.openssl_privatekey_pipe

Generate OpenSSL private keys without disk access.

+
+
community.crypto.openssl_publickey

Generate an OpenSSL public key from its private key.

+
+
+
+
+
+

Examples

+
- name: Generate a Self Signed OpenSSL certificate
+  community.crypto.x509_certificate_pipe:
+    provider: selfsigned
+    privatekey_path: /etc/ssl/private/ansible.com.pem
+    csr_path: /etc/ssl/csr/ansible.com.csr
+  register: result
+- name: Print the certificate
+  ansible.builtin.debug:
+    var: result.certificate
+
+# In the following example, both CSR and certificate file are stored on the
+# machine where ansible-playbook is executed, while the OwnCA data (certificate,
+# private key) are stored on the remote machine.
+
+- name: (1/2) Generate an OpenSSL Certificate with the CSR provided inline
+  community.crypto.x509_certificate_pipe:
+    provider: ownca
+    content: "{{ lookup('ansible.builtin.file', '/etc/ssl/csr/www.ansible.com.crt') }}"
+    csr_content: "{{ lookup('ansible.builtin.file', '/etc/ssl/csr/www.ansible.com.csr') }}"
+    ownca_cert: /path/to/ca_cert.crt
+    ownca_privatekey: /path/to/ca_cert.key
+    ownca_privatekey_passphrase: hunter2
+  register: result
+
+- name: (2/2) Store certificate
+  ansible.builtin.copy:
+    dest: /etc/ssl/csr/www.ansible.com.crt
+    content: "{{ result.certificate }}"
+  delegate_to: localhost
+  when: result is changed
+
+# In the following example, the certificate from another machine is signed by
+# our OwnCA whose private key and certificate are only available on this
+# machine (where ansible-playbook is executed), without having to write
+# the certificate file to disk on localhost. The CSR could have been
+# provided by community.crypto.openssl_csr_pipe earlier, or also have been
+# read from the remote machine.
+
+- name: (1/3) Read certificate's contents from remote machine
+  ansible.builtin.slurp:
+    src: /etc/ssl/csr/www.ansible.com.crt
+  register: certificate_content
+
+- name: (2/3) Generate an OpenSSL Certificate with the CSR provided inline
+  community.crypto.x509_certificate_pipe:
+    provider: ownca
+    content: "{{ certificate_content.content | b64decode }}"
+    csr_content: "{{ the_csr }}"
+    ownca_cert: /path/to/ca_cert.crt
+    ownca_privatekey: /path/to/ca_cert.key
+    ownca_privatekey_passphrase: hunter2
+  delegate_to: localhost
+  register: result
+
+- name: (3/3) Store certificate
+  ansible.builtin.copy:
+    dest: /etc/ssl/csr/www.ansible.com.crt
+    content: "{{ result.certificate }}"
+  when: result is changed
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + +

Key

Description

+

certificate

+

string

+

The (current or generated) certificate’s content.

+

Returned: changed or success

+
+
+

Authors

+
    +
  • Yanis Guenane (@Spredzy)

  • +
  • Markus Teufelberger (@MarkusTeufelberger)

  • +
  • Felix Fontein (@felixfontein)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/x509_crl_info_filter.html b/tag/2.18.0/x509_crl_info_filter.html new file mode 100644 index 000000000..66a2d6a0d --- /dev/null +++ b/tag/2.18.0/x509_crl_info_filter.html @@ -0,0 +1,531 @@ + + + + + + + + community.crypto.x509_crl_info filter – Retrieve information from X.509 CRLs in PEM format — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.x509_crl_info filter – Retrieve information from X.509 CRLs in PEM format

+
+

Note

+

This filter plugin is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this filter plugin, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.x509_crl_info.

+
+

New in community.crypto 2.10.0

+ +
+

Synopsis

+ +
+
+

Requirements

+

The below requirements are needed on the local controller node that executes this filter.

+ +
+
+

Input

+

This describes the input of the filter, the value before | community.crypto.x509_crl_info.

+ + + + + + + + + + + +

Parameter

Comments

+

Input

+

string / required

+

The content of the X.509 CRL in PEM format.

+
+
+
+

Keyword parameters

+

This describes keyword parameters of the filter. These are the values key1=value1, key2=value2 and so on in the following +example: input | community.crypto.x509_crl_info(key1=value1, key2=value2, ...)

+ + + + + + + + + + + + + + +

Parameter

Comments

+

list_revoked_certificates

+

boolean

+

added in community.crypto 1.7.0

+

If set to false, the list of revoked certificates is not included in the result.

+

This is useful when retrieving information on large CRL files. Enumerating all revoked certificates can take some time, including serializing the result as JSON, sending it to the Ansible controller, and decoding it again.

+

Choices:

+
    +
  • false

  • +
  • true ← (default)

  • +
+
+

name_encoding

+

string

+

How to encode names (DNS names, URIs, email addresses) in return values.

+

ignore will use the encoding returned by the backend.

+

idna will convert all labels of domain names to IDNA encoding. IDNA2008 will be preferred, and IDNA2003 will be used if IDNA2008 encoding fails.

+

unicode will convert all labels of domain names to Unicode. IDNA2008 will be preferred, and IDNA2003 will be used if IDNA2008 decoding fails.

+

Note that idna and unicode require the idna Python library to be installed.

+

Choices:

+
    +
  • "ignore" ← (default)

  • +
  • "idna"

  • +
  • "unicode"

  • +
+
+
+
+

See Also

+
+

See also

+
+
community.crypto.x509_crl_info

Retrieve information on Certificate Revocation Lists (CRLs).

+
+
community.crypto.to_serial filter plugin

Convert an integer to a colon-separated list of hex numbers.

+
+
+
+
+
+

Examples

+
- name: Show the Organization Name of the CRL's subject
+  ansible.builtin.debug:
+    msg: >-
+      {{
+        (
+          lookup('ansible.builtin.file', '/path/to/cert.pem')
+          | community.crypto.x509_crl_info
+        ).issuer.organizationName
+      }}
+
+
+
+
+

Return Value

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Key

Description

+

Return value

+

dictionary

+

Information on the CRL.

+

Returned: success

+
+

digest

+

string

+

The signature algorithm used to sign the CRL.

+

Returned: success

+

Sample: "sha256WithRSAEncryption"

+
+

format

+

string

+

Whether the CRL is in PEM format (pem) or in DER format (der).

+

Returned: success

+

Can only return:

+
    +
  • "pem"

  • +
  • "der"

  • +
+

Sample: "pem"

+
+

issuer

+

dictionary

+

The CRL’s issuer.

+

Note that for repeated values, only the last one will be returned.

+

See name_encoding for how IDNs are handled.

+

Returned: success

+

Sample: {"commonName": "ca.example.com", "organizationName": "Ansible"}

+
+

issuer_ordered

+

list / elements=list

+

The CRL’s issuer as an ordered list of tuples.

+

Returned: success

+

Sample: [["organizationName", "Ansible"], [{"commonName": "ca.example.com"}]]

+
+

last_update

+

string

+

The point in time from which this CRL can be trusted as ASN.1 TIME.

+

Returned: success

+

Sample: "20190413202428Z"

+
+

next_update

+

string

+

The point in time from which a new CRL will be issued and the client has to check for it as ASN.1 TIME.

+

Returned: success

+

Sample: "20190413202428Z"

+
+

revoked_certificates

+

list / elements=dictionary

+

List of certificates to be revoked.

+

Returned: success if list_revoked_certificates=true

+
+

invalidity_date

+

string

+

The point in time it was known/suspected that the private key was compromised +or that the certificate otherwise became invalid as ASN.1 TIME.

+

Returned: success

+

Sample: "20190413202428Z"

+
+

invalidity_date_critical

+

boolean

+

Whether the invalidity date extension is critical.

+

Returned: success

+

Sample: false

+
+

issuer

+

list / elements=string

+

The certificate’s issuer.

+

See name_encoding for how IDNs are handled.

+

Returned: success

+

Sample: ["DNS:ca.example.org"]

+
+

issuer_critical

+

boolean

+

Whether the certificate issuer extension is critical.

+

Returned: success

+

Sample: false

+
+

reason

+

string

+

The value for the revocation reason extension.

+

Returned: success

+

Can only return:

+
    +
  • "unspecified"

  • +
  • "key_compromise"

  • +
  • "ca_compromise"

  • +
  • "affiliation_changed"

  • +
  • "superseded"

  • +
  • "cessation_of_operation"

  • +
  • "certificate_hold"

  • +
  • "privilege_withdrawn"

  • +
  • "aa_compromise"

  • +
  • "remove_from_crl"

  • +
+

Sample: "key_compromise"

+
+

reason_critical

+

boolean

+

Whether the revocation reason extension is critical.

+

Returned: success

+

Sample: false

+
+

revocation_date

+

string

+

The point in time the certificate was revoked as ASN.1 TIME.

+

Returned: success

+

Sample: "20190413202428Z"

+
+

serial_number

+

integer

+

Serial number of the certificate.

+

This return value is an integer. If you need the serial numbers as a colon-separated hex string, such as 11:22:33, you need to convert it to that form with community.crypto.to_serial.

+

Returned: success

+

Sample: 1234

+
+
+

Authors

+
    +
  • Felix Fontein (@felixfontein)

  • +
+
+

Hint

+

Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.

+
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/x509_crl_info_module.html b/tag/2.18.0/x509_crl_info_module.html new file mode 100644 index 000000000..a8364efe2 --- /dev/null +++ b/tag/2.18.0/x509_crl_info_module.html @@ -0,0 +1,563 @@ + + + + + + + + community.crypto.x509_crl_info module – Retrieve information on Certificate Revocation Lists (CRLs) — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.x509_crl_info module – Retrieve information on Certificate Revocation Lists (CRLs)

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.x509_crl_info.

+
+

New in community.crypto 1.0.0

+ +
+

Synopsis

+
    +
  • This module allows one to retrieve information on Certificate Revocation Lists (CRLs).

  • +
+
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+ +
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + +

Parameter

Comments

+

content

+

string

+

Content of the X.509 CRL in PEM format, or Base64-encoded X.509 CRL.

+

Either path or content must be specified, but not both.

+
+

list_revoked_certificates

+

boolean

+

added in community.crypto 1.7.0

+

If set to false, the list of revoked certificates is not included in the result.

+

This is useful when retrieving information on large CRL files. Enumerating all revoked certificates can take some time, including serializing the result as JSON, sending it to the Ansible controller, and decoding it again.

+

Choices:

+
    +
  • false

  • +
  • true ← (default)

  • +
+
+

name_encoding

+

string

+

How to encode names (DNS names, URIs, email addresses) in return values.

+

ignore will use the encoding returned by the backend.

+

idna will convert all labels of domain names to IDNA encoding. IDNA2008 will be preferred, and IDNA2003 will be used if IDNA2008 encoding fails.

+

unicode will convert all labels of domain names to Unicode. IDNA2008 will be preferred, and IDNA2003 will be used if IDNA2008 decoding fails.

+

Note that idna and unicode require the idna Python library to be installed.

+

Choices:

+
    +
  • "ignore" ← (default)

  • +
  • "idna"

  • +
  • "unicode"

  • +
+
+

path

+

path

+

Remote absolute path where the generated CRL file should be created or is already located.

+

Either path or content must be specified, but not both.

+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

check_mode

+

Support: full

+

This action does not modify state.

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: N/A

+

This action does not modify state.

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+
+
+

Notes

+
+

Note

+
    +
  • All timestamp values are provided in ASN.1 TIME format, in other words, following the YYYYMMDDHHMMSSZ pattern. They are all in UTC.

  • +
+
+
+
+

See Also

+
+

See also

+
+
community.crypto.x509_crl

Generate Certificate Revocation Lists (CRLs).

+
+
community.crypto.x509_crl_info filter plugin

A filter variant of this module.

+
+
community.crypto.to_serial filter plugin

Convert an integer to a colon-separated list of hex numbers.

+
+
+
+
+
+

Examples

+
- name: Get information on CRL
+  community.crypto.x509_crl_info:
+    path: /etc/ssl/my-ca.crl
+  register: result
+
+- name: Print the information
+  ansible.builtin.debug:
+    msg: "{{ result }}"
+
+- name: Get information on CRL without list of revoked certificates
+  community.crypto.x509_crl_info:
+    path: /etc/ssl/very-large.crl
+    list_revoked_certificates: false
+  register: result
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Key

Description

+

digest

+

string

+

The signature algorithm used to sign the CRL.

+

Returned: success

+

Sample: "sha256WithRSAEncryption"

+
+

format

+

string

+

Whether the CRL is in PEM format (pem) or in DER format (der).

+

Returned: success

+

Can only return:

+
    +
  • "pem"

  • +
  • "der"

  • +
+

Sample: "pem"

+
+

issuer

+

dictionary

+

The CRL’s issuer.

+

Note that for repeated values, only the last one will be returned.

+

See name_encoding for how IDNs are handled.

+

Returned: success

+

Sample: {"commonName": "ca.example.com", "organizationName": "Ansible"}

+
+

issuer_ordered

+

list / elements=list

+

The CRL’s issuer as an ordered list of tuples.

+

Returned: success

+

Sample: [["organizationName", "Ansible"], [{"commonName": "ca.example.com"}]]

+
+

last_update

+

string

+

The point in time from which this CRL can be trusted as ASN.1 TIME.

+

Returned: success

+

Sample: "20190413202428Z"

+
+

next_update

+

string

+

The point in time from which a new CRL will be issued and the client has to check for it as ASN.1 TIME.

+

Returned: success

+

Sample: "20190413202428Z"

+
+

revoked_certificates

+

list / elements=dictionary

+

List of certificates to be revoked.

+

Returned: success if list_revoked_certificates=true

+
+

invalidity_date

+

string

+

The point in time it was known/suspected that the private key was compromised +or that the certificate otherwise became invalid as ASN.1 TIME.

+

Returned: success

+

Sample: "20190413202428Z"

+
+

invalidity_date_critical

+

boolean

+

Whether the invalidity date extension is critical.

+

Returned: success

+

Sample: false

+
+

issuer

+

list / elements=string

+

The certificate’s issuer.

+

See name_encoding for how IDNs are handled.

+

Returned: success

+

Sample: ["DNS:ca.example.org"]

+
+

issuer_critical

+

boolean

+

Whether the certificate issuer extension is critical.

+

Returned: success

+

Sample: false

+
+

reason

+

string

+

The value for the revocation reason extension.

+

Returned: success

+

Can only return:

+
    +
  • "unspecified"

  • +
  • "key_compromise"

  • +
  • "ca_compromise"

  • +
  • "affiliation_changed"

  • +
  • "superseded"

  • +
  • "cessation_of_operation"

  • +
  • "certificate_hold"

  • +
  • "privilege_withdrawn"

  • +
  • "aa_compromise"

  • +
  • "remove_from_crl"

  • +
+

Sample: "key_compromise"

+
+

reason_critical

+

boolean

+

Whether the revocation reason extension is critical.

+

Returned: success

+

Sample: false

+
+

revocation_date

+

string

+

The point in time the certificate was revoked as ASN.1 TIME.

+

Returned: success

+

Sample: "20190413202428Z"

+
+

serial_number

+

integer

+

Serial number of the certificate.

+

This return value is an integer. If you need the serial numbers as a colon-separated hex string, such as 11:22:33, you need to convert it to that form with community.crypto.to_serial.

+

Returned: success

+

Sample: 1234

+
+
+

Authors

+
    +
  • Felix Fontein (@felixfontein)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/tag/2.18.0/x509_crl_module.html b/tag/2.18.0/x509_crl_module.html new file mode 100644 index 000000000..9b42fc7e6 --- /dev/null +++ b/tag/2.18.0/x509_crl_module.html @@ -0,0 +1,987 @@ + + + + + + + + community.crypto.x509_crl module – Generate Certificate Revocation Lists (CRLs) — Community.Crypto Collection documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Community.Crypto Collection Docs
+
+
+ + +
+ +
+
+
+
    +
  • + +
  • + + Edit on GitHub +
  • +
+
+
+
+ + +
+ +
+

community.crypto.x509_crl module – Generate Certificate Revocation Lists (CRLs)

+
+

Note

+

This module is part of the community.crypto collection (version 2.18.0).

+

It is not included in ansible-core. +To check whether it is installed, run ansible-galaxy collection list.

+

To install it, use: ansible-galaxy collection install community.crypto. +You need further requirements to be able to use this module, +see Requirements for details.

+

To use it in a playbook, specify: community.crypto.x509_crl.

+
+

New in community.crypto 1.0.0

+ +
+

Synopsis

+
    +
  • This module allows one to (re)generate or update Certificate Revocation Lists (CRLs).

  • +
  • Certificates on the revocation list can be either specified by serial number and (optionally) their issuer, or as a path to a certificate file in PEM format.

  • +
+
+
+

Requirements

+

The below requirements are needed on the host that executes this module.

+ +
+
+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Parameter

Comments

+
+

attributes

+

aliases: attr

+

string

+

The attributes the resulting filesystem object should have.

+

To get supported flags look at the man page for chattr on the target system.

+

This string should contain the attributes in the same order as the one displayed by lsattr.

+

The = operator is assumed as default, otherwise + or - operators need to be included in the string.

+
+

backup

+

boolean

+

Create a backup file including a timestamp so you can get the original CRL back if you overwrote it with a new one by accident.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

crl_mode

+

string

+

added in community.crypto 2.13.0

+

Defines how to process entries of existing CRLs.

+

If set to generate, makes sure that the CRL has the exact set of revoked certificates as specified in revoked_certificates.

+

If set to update, makes sure that the CRL contains the revoked certificates from revoked_certificates, but can also contain other revoked certificates. If the CRL file already exists, all entries from the existing CRL will also be included in the new CRL. When using update, you might be interested in setting ignore_timestamps to true.

+

The default value is generate.

+

This parameter was called mode before community.crypto 2.13.0. It has been renamed to avoid a collision with the common mode parameter for setting the CRL file’s access mode.

+

Choices:

+
    +
  • "generate"

  • +
  • "update"

  • +
+
+

digest

+

string

+

Digest algorithm to be used when signing the CRL.

+

Default: "sha256"

+
+

force

+

boolean

+

Should the CRL be forced to be regenerated.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

format

+

string

+

Whether the CRL file should be in PEM or DER format.

+

If an existing CRL file does match everything but format, it will be converted to the correct format instead of regenerated.

+

Choices:

+
    +
  • "pem" ← (default)

  • +
  • "der"

  • +
+
+

group

+

string

+

Name of the group that should own the filesystem object, as would be fed to chown.

+

When left unspecified, it uses the current group of the current user unless you are root, in which case it can preserve the previous ownership.

+
+

ignore_timestamps

+

boolean

+

Whether the timestamps last_update, next_update and revoked_certificates[].revocation_date should be ignored for idempotency checks. The timestamp revoked_certificates[].invalidity_date will never be ignored.

+

Use this in combination with relative timestamps for these values to get idempotency.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

issuer

+

dictionary

+

Key/value pairs that will be present in the issuer name field of the CRL.

+

If you need to specify more than one value with the same key, use a list as value.

+

If the order of the components is important, use issuer_ordered.

+

One of issuer and issuer_ordered is required if state is present.

+

Mutually exclusive with issuer_ordered.

+
+

issuer_ordered

+

list / elements=dictionary

+

added in community.crypto 2.0.0

+

A list of dictionaries, where every dictionary must contain one key/value pair. This key/value pair will be present in the issuer name field of the CRL.

+

If you want to specify more than one value with the same key in a row, you can use a list as value.

+

One of issuer and issuer_ordered is required if state is present.

+

Mutually exclusive with issuer.

+
+

last_update

+

string

+

The point in time from which this CRL can be trusted.

+

Time can be specified either as relative time or as absolute timestamp.

+

Time will always be interpreted as UTC.

+

Valid format is [+-]timespec | ASN.1 TIME where timespec can be an integer + [w | d | h | m | s] (for example +32w1d2h).

+

Note that if using relative time this module is NOT idempotent, except when ignore_timestamps is set to true.

+

Default: "+0s"

+
+

mode

+

string

+

This parameter has been renamed to crl_mode. The old name mode is now deprecated and will be removed in community.crypto 3.0.0. Replace usage of this parameter with crl_mode.

+

Note that from community.crypto 3.0.0 on, mode will be used for the CRL file’s mode.

+

Choices:

+
    +
  • "generate"

  • +
  • "update"

  • +
+
+

name_encoding

+

string

+

How to encode names (DNS names, URIs, email addresses) in return values.

+

ignore will use the encoding returned by the backend.

+

idna will convert all labels of domain names to IDNA encoding. IDNA2008 will be preferred, and IDNA2003 will be used if IDNA2008 encoding fails.

+

unicode will convert all labels of domain names to Unicode. IDNA2008 will be preferred, and IDNA2003 will be used if IDNA2008 decoding fails.

+

Note that idna and unicode require the idna Python library to be installed.

+

Choices:

+
    +
  • "ignore" ← (default)

  • +
  • "idna"

  • +
  • "unicode"

  • +
+
+

next_update

+

string

+

The absolute latest point in time by which this issuer is expected to have issued another CRL. Many clients will treat a CRL as expired once next_update occurs.

+

Time can be specified either as relative time or as absolute timestamp.

+

Time will always be interpreted as UTC.

+

Valid format is [+-]timespec | ASN.1 TIME where timespec can be an integer + [w | d | h | m | s] (for example +32w1d2h).

+

Note that if using relative time this module is NOT idempotent, except when ignore_timestamps is set to true.

+

Required if state is present.

+
+

owner

+

string

+

Name of the user that should own the filesystem object, as would be fed to chown.

+

When left unspecified, it uses the current user unless you are root, in which case it can preserve the previous ownership.

+

Specifying a numeric username will be assumed to be a user ID and not a username. Avoid numeric usernames to avoid this confusion.

+
+

path

+

path / required

+

Remote absolute path where the generated CRL file should be created or is already located.

+
+

privatekey_content

+

string

+

The content of the CA’s private key to use when signing the CRL.

+

Either privatekey_path or privatekey_content must be specified if state is present, but not both.

+
+

privatekey_passphrase

+

string

+

The passphrase for the privatekey_path.

+

This is required if the private key is password protected.

+
+

privatekey_path

+

path

+

Path to the CA’s private key to use when signing the CRL.

+

Either privatekey_path or privatekey_content must be specified if state is present, but not both.

+
+

return_content

+

boolean

+

If set to true, will return the (current or generated) CRL’s content as crl.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

revoked_certificates

+

list / elements=dictionary

+

List of certificates to be revoked.

+

Required if state is present.

+
+

content

+

string

+

Content of a certificate in PEM format.

+

The serial number and issuer will be extracted from the certificate.

+

Mutually exclusive with revoked_certificates[].path and revoked_certificates[].serial_number. One of these three options must be specified.

+
+

invalidity_date

+

string

+

The point in time it was known/suspected that the private key was compromised or that the certificate otherwise became invalid.

+

Time can be specified either as relative time or as absolute timestamp.

+

Time will always be interpreted as UTC.

+

Valid format is [+-]timespec | ASN.1 TIME where timespec can be an integer + [w | d | h | m | s] (for example +32w1d2h).

+

Note that if using relative time this module is NOT idempotent. This will NOT change when ignore_timestamps is set to true.

+
+

invalidity_date_critical

+

boolean

+

Whether the invalidity date extension should be critical.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

issuer

+

list / elements=string

+

The certificate’s issuer.

+

Example: DNS:ca.example.org

+
+

issuer_critical

+

boolean

+

Whether the certificate issuer extension should be critical.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

path

+

path

+

Path to a certificate in PEM format.

+

The serial number and issuer will be extracted from the certificate.

+

Mutually exclusive with revoked_certificates[].content and revoked_certificates[].serial_number. One of these three options must be specified.

+
+

reason

+

string

+

The value for the revocation reason extension.

+

Choices:

+
    +
  • "unspecified"

  • +
  • "key_compromise"

  • +
  • "ca_compromise"

  • +
  • "affiliation_changed"

  • +
  • "superseded"

  • +
  • "cessation_of_operation"

  • +
  • "certificate_hold"

  • +
  • "privilege_withdrawn"

  • +
  • "aa_compromise"

  • +
  • "remove_from_crl"

  • +
+
+

reason_critical

+

boolean

+

Whether the revocation reason extension should be critical.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+

revocation_date

+

string

+

The point in time the certificate was revoked.

+

Time can be specified either as relative time or as absolute timestamp.

+

Time will always be interpreted as UTC.

+

Valid format is [+-]timespec | ASN.1 TIME where timespec can be an integer + [w | d | h | m | s] (for example +32w1d2h).

+

Note that if using relative time this module is NOT idempotent, except when ignore_timestamps is set to true.

+

Default: "+0s"

+
+

serial_number

+

any

+

Serial number of the certificate.

+

Mutually exclusive with revoked_certificates[].path and revoked_certificates[].content. One of these three options must be specified.

+

This option accepts integers or hex octet strings, depending on the value of serial_numbers.

+

If serial_numbers=integer, integers such as 66223 must be provided.

+

If serial_numbers=hex-octets, strings such as 01:02:AF must be provided.

+

You can use the filters community.crypto.parse_serial and community.crypto.to_serial to convert these two representations.

+
+

selevel

+

string

+

The level part of the SELinux filesystem object context.

+

This is the MLS/MCS attribute, sometimes known as the range.

+

When set to _default, it will use the level portion of the policy if available.

+
+

serial_numbers

+

string

+

added in community.crypto 2.18.0

+

This option determines which values will be accepted for revoked_certificates[].serial_number.

+

If set to integer (default), serial numbers are assumed to be integers, for example 66223. (This example value is equivalent to the hex octet string 01:02:AF.)

+

If set to hex-octets, serial numbers are assumed to be colon-separated hex octet strings, for example 01:02:AF. (This example value is equivalent to the integer 66223.)

+

Choices:

+
    +
  • "integer" ← (default)

  • +
  • "hex-octets"

  • +
+
+

serole

+

string

+

The role part of the SELinux filesystem object context.

+

When set to _default, it will use the role portion of the policy if available.

+
+

setype

+

string

+

The type part of the SELinux filesystem object context.

+

When set to _default, it will use the type portion of the policy if available.

+
+

seuser

+

string

+

The user part of the SELinux filesystem object context.

+

By default it uses the system policy, where applicable.

+

When set to _default, it will use the user portion of the policy if available.

+
+

state

+

string

+

Whether the CRL file should exist or not, taking action if the state is different from what is stated.

+

Choices:

+
    +
  • "absent"

  • +
  • "present" ← (default)

  • +
+
+

unsafe_writes

+

boolean

+

Influence when to use atomic operation to prevent data corruption or inconsistent reads from the target filesystem object.

+

By default this module uses atomic operations to prevent data corruption or inconsistent reads from the target filesystem objects, but sometimes systems are configured or just broken in ways that prevent this. One example is docker mounted filesystem objects, which cannot be updated atomically from inside the container and can only be written in an unsafe manner.

+

This option allows Ansible to fall back to unsafe methods of updating filesystem objects when atomic operations fail (however, it doesn’t force Ansible to perform unsafe writes).

+

IMPORTANT! Unsafe writes are subject to race conditions and can lead to data corruption.

+

Choices:

+
    +
  • false ← (default)

  • +
  • true

  • +
+
+
+
+

Attributes

+ + + + + + + + + + + + + + + + + + + + + +

Attribute

Support

Description

+

check_mode

+

Support: full

+

Can run in check_mode and return changed status prediction without modifying target.

+
+

diff_mode

+

Support: full

+

Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode.

+
+

safe_file_operations

+

Support: full

+

Uses Ansible’s strict file operation functions to ensure proper permissions and avoid data corruption.

+
+
+
+

Notes

+
+

Note

+
    +
  • All ASN.1 TIME values should be specified following the YYYYMMDDHHMMSSZ pattern.

  • +
  • Date specified should be UTC. Minutes and seconds are mandatory.

  • +
+
+
+
+

See Also

+
+

See also

+
+
community.crypto.parse_serial filter plugin

Convert a serial number as a colon-separated list of hex numbers to an integer.

+
+
community.crypto.to_serial filter plugin

Convert an integer to a colon-separated list of hex numbers.

+
+
+
+
+
+

Examples

+
- name: Generate a CRL
+  community.crypto.x509_crl:
+    path: /etc/ssl/my-ca.crl
+    privatekey_path: /etc/ssl/private/my-ca.pem
+    issuer:
+      CN: My CA
+    last_update: "+0s"
+    next_update: "+7d"
+    revoked_certificates:
+      - serial_number: 1234
+        revocation_date: 20190331202428Z
+        issuer:
+          CN: My CA
+      - serial_number: 2345
+        revocation_date: 20191013152910Z
+        reason: affiliation_changed
+        invalidity_date: 20191001000000Z
+      - path: /etc/ssl/crt/revoked-cert.pem
+        revocation_date: 20191010010203Z
+
+
+
+
+

Return Values

+

Common return values are documented here, the following are the fields unique to this module:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Key

Description

+

backup_file

+

string

+

Name of backup file created.

+

Returned: changed and if backup is true

+

Sample: "/path/to/my-ca.crl.2019-03-09@11:22~"

+
+

crl

+

string

+

The (current or generated) CRL’s content.

+

Will be the CRL itself if format is pem, and Base64 of the CRL if format is der.

+

Returned: if state is present and return_content is true

+
+

digest

+

string

+

The signature algorithm used to sign the CRL.

+

Returned: success

+

Sample: "sha256WithRSAEncryption"

+
+

filename

+

string

+

Path to the generated CRL.

+

Returned: changed or success

+

Sample: "/path/to/my-ca.crl"

+
+

format

+

string

+

Whether the CRL is in PEM format (pem) or in DER format (der).

+

Returned: success

+

Can only return:

+
    +
  • "pem"

  • +
  • "der"

  • +
+

Sample: "pem"

+
+

issuer

+

dictionary

+

The CRL’s issuer.

+

Note that for repeated values, only the last one will be returned.

+

See name_encoding for how IDNs are handled.

+

Returned: success

+

Sample: {"commonName": "ca.example.com", "organizationName": "Ansible"}

+
+

issuer_ordered

+

list / elements=list

+

The CRL’s issuer as an ordered list of tuples.

+

Returned: success

+

Sample: [["organizationName", "Ansible"], [{"commonName": "ca.example.com"}]]

+
+

last_update

+

string

+

The point in time from which this CRL can be trusted as ASN.1 TIME.

+

Returned: success

+

Sample: "20190413202428Z"

+
+

next_update

+

string

+

The point in time from which a new CRL will be issued and the client has to check for it as ASN.1 TIME.

+

Returned: success

+

Sample: "20190413202428Z"

+
+

privatekey

+

string

+

Path to the private CA key.

+

Returned: changed or success

+

Sample: "/path/to/my-ca.pem"

+
+

revoked_certificates

+

list / elements=dictionary

+

List of certificates to be revoked.

+

Returned: success

+
+

invalidity_date

+

string

+

The point in time it was known/suspected that the private key was compromised +or that the certificate otherwise became invalid as ASN.1 TIME.

+

Returned: success

+

Sample: "20190413202428Z"

+
+

invalidity_date_critical

+

boolean

+

Whether the invalidity date extension is critical.

+

Returned: success

+

Sample: false

+
+

issuer

+

list / elements=string

+

The certificate’s issuer.

+

See name_encoding for how IDNs are handled.

+

Returned: success

+

Sample: ["DNS:ca.example.org"]

+
+

issuer_critical

+

boolean

+

Whether the certificate issuer extension is critical.

+

Returned: success

+

Sample: false

+
+

reason

+

string

+

The value for the revocation reason extension.

+

Returned: success

+

Can only return:

+
    +
  • "unspecified"

  • +
  • "key_compromise"

  • +
  • "ca_compromise"

  • +
  • "affiliation_changed"

  • +
  • "superseded"

  • +
  • "cessation_of_operation"

  • +
  • "certificate_hold"

  • +
  • "privilege_withdrawn"

  • +
  • "aa_compromise"

  • +
  • "remove_from_crl"

  • +
+

Sample: "key_compromise"

+
+

reason_critical

+

boolean

+

Whether the revocation reason extension is critical.

+

Returned: success

+

Sample: false

+
+

revocation_date

+

string

+

The point in time the certificate was revoked as ASN.1 TIME.

+

Returned: success

+

Sample: "20190413202428Z"

+
+

serial_number

+

integer

+

Serial number of the certificate.

+

This return value is an integer. If you need the serial numbers as a colon-separated hex string, such as 11:22:33, you need to convert it to that form with community.crypto.to_serial.

+

Returned: success

+

Sample: 1234

+
+
+

Authors

+
    +
  • Felix Fontein (@felixfontein)

  • +
+
+ +
+
+ + +
+
+ + +
+ +
+ +
+

© Copyright Community.Crypto Contributors.

+
+ + + + +
+
+
+
+
+ + + + \ No newline at end of file