Skip to content

Commit

Permalink
fix csr validation
Browse files Browse the repository at this point in the history
  • Loading branch information
kirgene committed Feb 4, 2022
1 parent d296b81 commit ccd435c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "connection-manager-api",
"version": "1.7.24",
"version": "1.7.25",
"description": "ModusBox Connection Manager API",
"main": "index.js",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions server/src/pki_engine/VaultPKIEngine.js
Original file line number Diff line number Diff line change
Expand Up @@ -1302,6 +1302,7 @@ class VaultPKIEngine extends PKIEngine {
validateCSR (csr) {
const schema = Joi.object().description('CA initial parameters').keys({
CN: Joi.string().description('Common Name').required(),
E: Joi.string().description('Email'),
O: Joi.string().description('Organization').required(),
OU: Joi.string().description('Organizational Unit'),
C: Joi.string().description('Country'),
Expand Down

0 comments on commit ccd435c

Please sign in to comment.