Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
erp5
Commits
1e04c650
Commit
1e04c650
authored
Sep 18, 2023
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_certificate_authority: boostrap if user certificate isnt updated
parent
d64d9cad
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
bt5/erp5_certificate_authority/DocumentTemplateItem/portal_components/document.erp5.CaucaseConnector.py
...eItem/portal_components/document.erp5.CaucaseConnector.py
+4
-0
No files found.
bt5/erp5_certificate_authority/DocumentTemplateItem/portal_components/document.erp5.CaucaseConnector.py
View file @
1e04c650
...
@@ -67,6 +67,10 @@ class CaucaseConnector(XMLObject):
...
@@ -67,6 +67,10 @@ class CaucaseConnector(XMLObject):
return
CaucaseClient
(
ca_url
=
ca_url
,
**
kw
)
return
CaucaseClient
(
ca_url
=
ca_url
,
**
kw
)
def
_getAuthenticatedConnection
(
self
):
def
_getAuthenticatedConnection
(
self
):
if
self
.
getUserCertificate
()
is
None
:
if
self
.
hasUserCertificateRequestReference
():
self
.
_bootstrapCaucaseConfiguration
()
if
self
.
getUserCertificate
()
is
None
:
if
self
.
getUserCertificate
()
is
None
:
raise
ValueError
(
"You need to set the User Key and Certificate!"
)
raise
ValueError
(
"You need to set the User Key and Certificate!"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment