You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _articles/extended-usage/dynamsoft-service-configuration.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -130,7 +130,7 @@ On the left of the page, you can check the service's status and update the [`Log
130
130
131
131
On the right of the page, you can configure the service through the local access tab and the external access tab.
132
132
133
-
In the local access tab, you can update the SSL certificate for domains bound to `127.0.0.1`.
133
+
In the local access tab, you can update the SSL certificate for domains bound to `127.0.0.1` ([guide](/_articles/faq/change-dynamsoft-service-certificate.md)).
134
134
135
135
In the external access tab, you can update the following settings:
To replace the default certificate, the steps are:
18
18
19
-
<divclass="multi-panel-switching-prefix"></div>
19
+
- Generate a certificate for `127.0.0.1` with an RSA private key
20
+
- Rename the certificate to `server.pem` and the private key to `server_key.pem`
21
+
- Replace the old keys in the `cert` folder in the [service's installation folder](/_articles/extended-usage/dynamsoft-service-configuration.md#installation-folder)
22
+
- Restart the service
20
23
21
-
-[v19.0+](#19plus)
22
-
-[Versions below 19.0](#19min)
24
+
You can also pack the two files into a zip file and use the [configuration page](/_articles/extended-usage/dynamsoft-service-configuration.md#web-setup) to update.
23
25
24
-
<divclass="multi-panel-start"></div>
26
+
## Appendix
25
27
26
-
- Generate a certificate for `127.0.0.1`
27
-
- Install that certificate
28
-
- Use that certificate to generate public /private keys (pem)
29
-
- Rename these two keys to `server.pem` (public) and `server_key.pem` (private)
30
-
- Replace the old keys in `C:\Program Files (x86)\Dynamsoft\Dynamic Web TWAIN Service {version number}\cert`
31
-
- Restart the service
28
+
### How to Generate the Certificate with acme.sh?
32
29
33
-
<divclass="multi-panel-end"></div>
30
+
Run the following command to apply for an SSL certificate.
34
31
35
-
<divclass="multi-panel-start"></div>
32
+
```bash
33
+
acme.sh --issue -d <your-domain> --keylength 2048
34
+
```
36
35
37
-
- Generate a certificate for `127.0.0.1`
38
-
- Install that certificate
39
-
- Use that certificate to generate public /private keys (pem)
40
-
- Rename these two keys to `server.pem` (public) and `server_key.pem` (private)
41
-
- Replace the old keys in `C:\Windows\SysWOW64\Dynamsoft\DynamsoftServicex64_{version number}\cert`
42
-
- Restart the service
36
+
Then, you can find the certificate named `fullchain.cer` and the private key named `your-domain.key` in the output folder.
37
+
38
+
### What are the Files in the cert Folder
43
39
44
-
<divclass="multi-panel-end"></div>
40
+
* default keys
41
+
* server.pem
42
+
* server_key.pem
43
+
* keys for [local.dynamsoft.com](/_articles/faq/failed-to-load-resource.md) (encrypted)
44
+
* server.pem.ldsc
45
+
* server_key.pem.ldsc
46
+
* keys for [Remote Scan](https://www.dynamsoft.com/remote-scan/docs/introduction/)'s proxy server after installation (encrypted)
You get an error message that says **"Failed to load resource: net::ERR_CERT_DATE_INVALID https://local.dynamsoft.com:18623/f/VersionInfo?ts=XXXXXXXXXXXX"**. And the browser keeps asking to install the Dynamic Web TWAIN Service (also called "Dynamsoft Service").
19
+
You get an error message that says **"Failed to load resource: net::ERR_CERT_DATE_INVALID https://local.dynamsoft.com:18623/f/VersionInfo?ts=XXXXXXXXXXXX"**. And the browser keeps asking to install the Dynamic Web TWAIN Service (previously called "Dynamsoft Service").
20
20
21
21
### Cause
22
22
23
-
By default, “127.0.0.1” is used for service connection. "127.0.0.1" uses a self-signed certificate because it is an internal IP address, if your environment requires high level security, self-signed certificates may not be accepted. Moreover, Android OS or Chrome OS does not accept connection between browsers and Dynamic Web TWAIN Service via "127.0.0.1".
23
+
By default, "127.0.0.1" is used for service connection. "127.0.0.1" uses a self-signed SSL certificate without an expiry date. It is installed to your system so that the browser can trust it. If your environment requires high level security, self-signed certificates may not be accepted. Moreover, it is not easy to install the self-signed certificate for systems like Chrome OS.
24
24
25
-
26
-
In the case that you have used our expired certificate - local.dynamsoft.com, you will need to update to the latest VeriSign’ed certificate. The most recent expired "local.dynamsoft.com" certificate expired on <fontcolor=red>2024 November 19th</font>, and the latest certificate will expire on <fontcolor=red>2025 November 20th</font>.
25
+
In this case, we provide a domain, "local.dynamsoft.com", which points to "127.0.0.1". It has a VeriSign’ed certificate that has an expiry date. The most recent expired "local.dynamsoft.com" certificate expired on <fontcolor=red>2024 November 19th</font>, and the latest certificate will expire on <fontcolor=red>2025 November 20th</font>.
27
26
28
27
> ___Please note:____all official certificates issued by 3rd party come with an expiry date - generally one year. This means that each year the certificate will need to be updated if local.dynamsoft.com is used._
29
28
@@ -38,15 +37,13 @@ In the case that you have used our expired certificate - local.dynamsoft.com, yo
38
37
39
38
-**High Level Security Requirement (<fontcolor=red>Please note: you need to replace the certificate annually due to expiration</font>)**
40
39
41
-
1. (**<u>Recommended</u>**) Revert back to the self-signed certificate for "127.0.0.1". Dynamsoft understands the importance of [information security](https://www.dynamsoft.com/Products/Dynamsoft_Security_Whitepaper.pdf) and are committed to remaining one of the most security-compliant companies in the industry. Starting from April 9,2021, Dynamsoft becomes ISO 27001 certified. Although a self-sign certificate is being used all connections are limited to the device itself (127.0.0.1) which ensures security in most cases.
40
+
If you have to use "local.dynamsoft.com", the following methods can be taken:
41
+
42
+
- Method 1. Click <ahref="https://tst.dynamsoft.com/public/download/dwt/newcert/local.dynamsoft.com/newcert.zip"target="_blank">here</a> to download the new certificate and use the new server.pem.ldsc & server_key.pem.ldsc to replace the old one in the `cert` folder under the service's [installation folder](/_articles/extended-usage/dynamsoft-service-configuration.md#installation-folder). Then restart Dynamic Web TWAIN Service.
42
43
43
-
2. If you have to use "local.dynamsoft.com", the following methods can be taken:
44
-
- Method 1 (**<u>Recommended</u>**). Take advantage of the new feature -- **Remote Scan** which released in v18.0. With Remote Scan, you can limit the number of Dynamic Web TWAIN Service Installations to a minimum. For more details, please refer to [What is Remote Scan](https://www.dynamsoft.com/remote-scan/docs/introduction/).
45
-
46
-
- Method 2. If you must fix the issue on a few client machines immediately, manually update the following cert files on the client-side machine. Click <ahref="https://tst.dynamsoft.com/public/download/dwt/newcert/local.dynamsoft.com/newcert.zip"target="_blank">here</a> to download the new certificate and use the new server.pem.ldsc & server_key.pem.ldsc to replace the old one under **`C:\Windows\SysWOW64\Dynamsoft\DynamsoftService(DynamsoftServicex64_{version number})\cert`** (from v19.0+, the path is `C:\Program Files (x86)\Dynamsoft\Dynamic Web TWAIN Service {version number}\cert`). Then restart Dynamic Web TWAIN Service.
47
-
> Note: the new certificate from Dynamsoft will expire on <fontcolor=red>December 8th, 2023</font>. This means you must update the certificate again after this certificate expires.
44
+
- Method 2. [Contact Dynamsoft](/_articles/about/getsupport.md){:target="_blank"} for a new service installer for client-side. Please specify the exact service version build number found from the version your client currently has installed.
48
45
49
-
- Method 3. [Contact Dynamsoft](/_articles/about/getsupport.md){:target="_blank"} for a new MSI for client-side. Please specify the exact service version build number found from the version your client currently has installed.
46
+
- Method 3. You can also generate the certificate by yourself. Check out this [post](/_articles/faq/change-dynamsoft-service-certificate.md).
0 commit comments