439 |
|
|
440 |
pemfile : PEMFILE PATH { |
pemfile : PEMFILE PATH { |
441 |
Run.httpsslpem= $2; |
Run.httpsslpem= $2; |
442 |
if(!check_file(Run.httpsslpem, |
if(!check_file_stat(Run.httpsslpem, |
443 |
"SSL server PEM file", S_IRWXU)) |
"SSL server PEM file", S_IRWXU)) |
444 |
YERROR("SSL server PEM file"); |
YERROR("SSL server PEM file"); |
445 |
} |
} |
446 |
; |
; |
449 |
| CLIENTPEMFILE PATH { |
| CLIENTPEMFILE PATH { |
450 |
Run.httpsslclientpem= $2; |
Run.httpsslclientpem= $2; |
451 |
Run.clientssl= TRUE; |
Run.clientssl= TRUE; |
452 |
if(!check_file(Run.httpsslclientpem, |
if(!check_file_stat(Run.httpsslclientpem, |
453 |
"SSL client PEM file", |
"SSL client PEM file", |
454 |
S_IRWXU | S_IRGRP | S_IROTH)) |
S_IRWXU | S_IRGRP | S_IROTH)) |
455 |
YERROR("SSL client PEM file"); |
YERROR("SSL client PEM file"); |
456 |
} |
} |
457 |
; |
; |