Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sros2-tpm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ROS2 Security
ROS2 TPM
sros2-tpm
Commits
3ab0b7a5
Unverified
Commit
3ab0b7a5
authored
6 years ago
by
Mikael Arguedas
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
add X509 extensionCA:false (#47)
parent
c4b3e138
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sros2/api/__init__.py
+18
-1
18 additions, 1 deletion
sros2/api/__init__.py
with
18 additions
and
1 deletion
sros2/api/__init__.py
+
18
−
1
View file @
3ab0b7a5
...
...
@@ -77,12 +77,18 @@ crlnumber = $dir/crlnumber
crl = $dir/crl.pem
RANDFILE = $dir/private/.rand
name_opt = ca_default
cert_opt
= ca_default
cert_opt = ca_default
default_days = 1825
default_crl_days = 30
default_md = sha256
preserve = no
policy = policy_match
x509_extensions = local_ca_extensions
#
#
# Copy extensions specified in the certificate request
#
copy_extensions = copy
[ policy_match ]
countryName = optional
...
...
@@ -92,13 +98,24 @@ organizationalUnitName = optional
commonName = supplied
emailAddress = optional
#
#
# x509 extensions to use when generating server certificates.
#
[ local_ca_extensions ]
basicConstraints = CA:false
[ req ]
prompt = no
distinguished_name = req_distinguished_name
string_mask = utf8only
x509_extensions = root_ca_extensions
[ req_distinguished_name ]
commonName = sros2testCA
[ root_ca_extensions ]
basicConstraints = CA:true
"""
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment