Code Review
/
src
/
app-framework-main.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Refactor of sample keys and certificates
[src/app-framework-main.git]
/
certs
/
sample
/
gen-certs.sh
diff --git
a/certs/gen-certs.sh
b/certs/sample/gen-certs.sh
similarity index 97%
rename from
certs/gen-certs.sh
rename to
certs/sample/gen-certs.sh
index
b432ce6
..
f0aa135
100755
(executable)
--- a/
certs/gen-certs.sh
+++ b/
certs/sample/gen-certs.sh
@@
-5,7
+5,7
@@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
-ORG="/C=FR/ST=Brittany/L=
Vannes
/O=IoT.bzh"
+ORG="/C=FR/ST=Brittany/L=
Lorient
/O=IoT.bzh"
cat > extensions << EOC
[root]
cat > extensions << EOC
[root]
@@
-58,7
+58,6
@@
fi
}
}
-
genroot() {
local s="$1" n="$2" cn="$3"
generate "$s" "$n" "$cn" "-signkey $(keyof "$n") -extensions root"
genroot() {
local s="$1" n="$2" cn="$3"
generate "$s" "$n" "$cn" "-signkey $(keyof "$n") -extensions root"