File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,9 @@ export async function setup(connection: IBMi) {
116
116
`openssl genrsa -out debug_service.key 2048` ,
117
117
`openssl req -new -key debug_service.key -out debug_service.csr -subj '/CN=${ host } '` ,
118
118
`openssl x509 -req -in debug_service.csr -signkey debug_service.key -out debug_service.crt -days 1095 -sha256 -sha256 -req -extfile <(printf "${ extFileContent } ")` ,
119
- `openssl pkcs12 -export -out debug_service.pfx -inkey debug_service.key -in debug_service.crt -password pass:${ host } `
119
+ `openssl pkcs12 -export -out debug_service.pfx -inkey debug_service.key -in debug_service.crt -password pass:${ host } ` ,
120
+ `rm debug_service.key debug_service.csr` ,
121
+ `chmod 444 debug_service.pfx`
120
122
] ;
121
123
122
124
const directory = getRemoteCertDirectory ( connection ) ;
You can’t perform that action at this time.
0 commit comments