Alon Bar-Lev has uploaded a new change for review. Change subject: pki: comply with rfc2459 UTCTime restriction ......................................................................
pki: comply with rfc2459 UTCTime restriction Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1210486 Change-Id: Ie7440b5918090fce595a237a4be861b2a7400b74 Signed-off-by: Alon Bar-Lev <alo...@redhat.com> --- M packaging/bin/pki-create-ca.sh 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/38/39738/1 diff --git a/packaging/bin/pki-create-ca.sh b/packaging/bin/pki-create-ca.sh index 35446e9..e1c35d8 100755 --- a/packaging/bin/pki-create-ca.sh +++ b/packaging/bin/pki-create-ca.sh @@ -79,7 +79,7 @@ -selfsign \ -subj "${subject}" \ -days 3650 \ - -startdate "$(date --utc --date "now -1 days" +"%y%m%d%H%M%S%z")" + -startdate "$(date --utc --date "now -1 days" +"%y%m%d%H%M%S%z" | sed 's/+0000/Z/')" ) || die "Cannot enroll CA certificate" openssl x509 -in "${PKIDIR}/ca.pem" -out "${PKIDIR}/certs/ca.der" || die "Cannot read CA certificate" -- To view, visit https://gerrit.ovirt.org/39738 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ie7440b5918090fce595a237a4be861b2a7400b74 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Alon Bar-Lev <alo...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches