View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009320 | VALENTINA SERVER | REST API | public | 2024-02-19 13:17 | 2024-02-26 09:48 |
Reporter | DeltaworX | Assigned To | Ivan Smahin | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | ALL | OS | ALL | OS Version | ALL |
Product Version | 13.7.x | ||||
Fixed in Version | 13.8.x | ||||
Summary | 0009320: REST_SSL-Certificate generates error: "error:0906D06C:PEM routines:PEM_read_bio:no start line." | ||||
Description | Trying to use a self-signed SSL certificate as REST SSL certificate results in an error messge when the VServer (13.9) starts. The SSL certificate was generated with openssl: openssl req -newkey rsa:2048 -nodes -keyout domain.key -x509 -days 1095 -out domain.crt and coverted from PEM to PKCS12 with openssl pkcs12 -inkey domain.key -in domain.crt -export -out domain.pfx (did also try the SSLToolbox with csr request, but with the same result): set_ssl_option: cannot open domain.pfx: error:0906D06C:PEM routines:PEM_read_bio:no start line. REST start error - probably not valid REST SSL certificate (The file must contain both - private key and public certificate). How do I create a self-signed SSL certificate to use inhouse with VServer as the rest ssl certificate? | ||||
Tags | No tags attached. | ||||
You may try just to merge PK and certificate files into a single file (copy the context of both files) and name it <something>.pem BTW, what OS, version do you use? |
|
Thanks, that solves the problem - no more error messages at VServer start. Maybe you can add this small note to the rest documentation, so other people who want to try REST SSL functionality inhouse with a self-signed certificate can find it easily... I did try it on macOS 10.11 ("High Sierra") and macOS 14 8"Sonoma") |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2024-02-19 13:17 | DeltaworX | New Issue | |
2024-02-20 11:11 | Ivan Smahin | Note Added: 0012283 | |
2024-02-20 11:40 | DeltaworX | Note Added: 0012284 | |
2024-02-26 09:48 | Ivan Smahin | Assigned To | => Ivan Smahin |
2024-02-26 09:48 | Ivan Smahin | Status | new => closed |
2024-02-26 09:48 | Ivan Smahin | Resolution | open => fixed |
2024-02-26 09:48 | Ivan Smahin | Fixed in Version | => 13.8.x |