Commit 75cf872
“sahmad154”
Fix PKCS#11 infrastructure issues
- Fix slot detection: Use grep -B 20 to find slot number before label
Resolves CKR_TOKEN_NOT_RECOGNIZED errors with dynamic slot assignment
- Add PKCS#11 engine symlink: Create link from ENGINESDIR to actual engine location
Enables OpenSSL to find pkcs11.so engine for curl --engine pkcs11
- Fix client CA chain copy: Add existence check before copying
Prevents silent failures when ICA chain file missing
Tested in running container:
- Certificate import successful with 3 objects (rdkclient, rdkclient-key, rdkclient-p12-key)
- OpenSSL engine available: openssl engine -t pkcs11 returns [available]
- L2 tests pass: 54 passed, 30 skipped1 parent 39612af commit 75cf872
File tree
3 files changed
+12
-3
lines changed- native-platform
- scripts
3 files changed
+12
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
107 | 111 | | |
108 | 112 | | |
109 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
92 | 97 | | |
93 | 98 | | |
94 | 99 | | |
| |||
0 commit comments