PDF conversion (HTTPS) |
This topic will show how to configure the PDF converter with HTTPS protocol in port 8585. To do that, take the following steps:
1.Create the sepdfconverter directory:
2.Access the sepdfconverter directory:
3.Create the docker-compose.yml file inside the sepdfconverter directory.
4.Paste the following text:
5.Find the extra_hosts parameter.
6.Insert the SE access URL and the local IP of the application server, as shown in the image below.
7.Create the cert directory:
8.Paste the .pfx certificate files to the /usr/local/se/sepdfconverter/cert directory and save it with the name certificate.pfx.
9.Create the pdf.env file inside the sepdfconverter directory.
10.Insert the following text, indicating the port that will be used for HTTPS connection, and enter the certificate password in the CERTIFICATE_PASSWORD= parameter:
By default, the port used for HTTPS connection is 8585, but it is possible to set a different port, if the default one is already being used. In this case, use the netstat -lnp | grep "8585" command to check if the port is being used.
11.Start the PDF conversion service using the command below:
▪To stop the service, execute the command below:
▪To check if the sepdfconverter service is up, execute the command below:
12.After doing that, access the SoftExpert Document component Configuration General parameters (DC035) and point the service in the application by entering https://ServerIP:8585 in the Enable PDF conversion service field Server.
13.Then, run the connection text and save.
14.After finishing the whole configuration, run a conversion test for .doc, .docx, .xls and xlsx files. |