Skip to content

Commit 32f45cc

Browse files
authored
Merge pull request #577 from ztyyLV/Jackson-branch
Jackson branch
2 parents cca1e20 + eda034e commit 32f45cc

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

faq/failed-to-load-resource.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ By default, “127.0.0.1” is used for service connection. "127.0.0.1" uses a s
3434

3535
Set back to self-signed certificate "127.0.0.1" by comment the line `Dynamsoft.WebTwainEnv.Host = "local.dynamsoft.com"` or `Dynamsoft.DWT.Host="local.dynamsoft.com"` out. No need to worry about the expiry date of the certificate anymore.
3636

37-
- **[Highly Recommend] High Level Security Requirement**
37+
- **High Level Security Requirement**
3838

3939
1. Set back to "127.0.0.1" by comment the line `Dynamsoft.WebTwainEnv.Host = "local.dynamsoft.com"` or `Dynamsoft.DWT.Host="local.dynamsoft.com"` out.
4040
2. Replace the certificate of "127.0.0.1" with your own domain certificate and build Service MSI yourself. More information refer to [How can I change the certificate of the Dynamsoft Service?](https://www.dynamsoft.com/web-twain/docs/faq/change-dynamsoft-service-certificate.html)
@@ -45,7 +45,7 @@ By default, “127.0.0.1” is used for service connection. "127.0.0.1" uses a s
4545
> Note: the new certificate from Dynamsoft will expire on <font color=red>December 8th, 2023</font>. This means you must update the certificate again after this certificate expires.
4646
- Method 3. <a href="{{site.about}}getsupport.html" target="_blank">Contact Dynamsoft</a> for a new MSI for client-side. -->
4747
48-
- For v17.2 or higher versions, you can use the new API <a href="{{site.info}}api/Dynamsoft_WebTwainEnv.html#updatecert" target="_blank">UpdateCert</a> to automatically update client side certificate before it expires. **Please go to dynamsoft.webtwain.install.js file in the Resource Folder and search the keyword "OnSSLCertInfo"**, add the following lines of code:
48+
<!-- - For v17.2 or higher versions, you can use the new API <a href="{{site.info}}api/Dynamsoft_WebTwainEnv.html#updatecert" target="_blank">UpdateCert</a> to automatically update client side certificate before it expires. **Please go to dynamsoft.webtwain.install.js file in the Resource Folder and search the keyword "OnSSLCertInfo"**, add the following lines of code:
4949
```javascript
5050
Dynamsoft.OnSSLCertInfo = function (sslExpiredDate) {
5151
if ((sslExpiredDate - new Date()) / 86400000 < 15) { // Automatically updates 15 days before expiration
@@ -60,7 +60,7 @@ By default, “127.0.0.1” is used for service connection. "127.0.0.1" uses a s
6060
);
6161
}
6262
};
63-
```
63+
``` -->
6464

6565
<!--
6666

info/api/Dynamsoft_WebTwainEnv.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ UpdateCert(
180180
// overwrite the following function in dynamsoft.webtwain.install.js
181181
Dynamsoft.OnSSLCertInfo = function (sslExpiredDate) {
182182
console.log(sslExpiredDate);
183-
Dynamsoft.DWT.UpdateCert("https://xxx.com/cert.zip",
183+
Dynamsoft.DWT.UpdateCert("https://domainlocation.com/cert.zip",
184184
function () { console.log("OK"); },
185185
function (errorCode, errorString) { console.log(errorString);}
186186
);
@@ -267,4 +267,4 @@ Specify the source of the loader bar image. Check out more on [HTMLImageElement.
267267

268268
#### `loaderBarClassName`
269269

270-
Specify the class name of the DIV element that contains the loader bar. With this class, you can customize the loader bar even further with CSS.
270+
Specify the class name of the DIV element that contains the loader bar. With this class, you can customize the loader bar even further with CSS.

0 commit comments

Comments
 (0)