Skip to main content
Nintex Community Menu Bar
Solved

PDF Converter error

  • April 15, 2025
  • 5 replies
  • 54 views
  • Translate

Forum|alt.badge.img+3

I’m unable to generate the pdf using the smart object - pdf converter.

Error below is from the log:
[2025-04-15 19:35:04][ERR][Host:][App:SourceCode.PdfConverter.Api][CID:][SID:][Path:/api/v1.0/convert][Src:SourceCode.PdfConverter.Api.Middleware.ExceptionHandler]: System.AggregateException: One or more errors occurred. (Load_Error (-200) - ERR_CERT_COMMON_NAME_INVALID)
 ---> System.Exception: Load_Error (-200) - ERR_CERT_COMMON_NAME_INVALID
   at SourceCode.PdfConverter.Api.Converter.CefPdfConverter.LoadPage(ChromiumWebBrowser browser, Action`3 loadAction, String urlOrHtml, String baseUrl)
   at SourceCode.PdfConverter.Api.Converter.CefPdfConverter.GetPdfBytes(Action`3 loadAction, Func`2 readyAction, String urlOrHtml, String baseUrl)
   at SourceCode.PdfConverter.Api.Converter.CefPdfConverter.GetPdfBytesFromUrl(String url, String baseUrl)
   --- End of inner exception stack trace ---
   

 

Best answer by yennyenn

I manage to fix this by generating ssl cert for internal IP(Cert generated from local CA server)

View original
Did this topic help you find an answer to your question?

5 replies

Forum|alt.badge.img+10
  • Nintex Employee
  • 193 replies
  • April 15, 2025

Base on the error, it looks to be a certificate related:

ERR_CERT_COMMON_NAME_INVALID

Are you using a self-signed certificate?

Is the certificate from a trusted certificate authority?

Does the Common Name/Subject Alternative Names cover the binding/url that you are using to load the SmartForms?

If you browse to that same URL outside of the K2 server, does your browser indicate any certificate issue?

Translate

Forum|alt.badge.img+3
  • Author
  • Rookie
  • 7 replies
  • April 18, 2025

I tried another alternative using Save As PDF. However the pdf output was not ideal and weird. 

Below is my form:

This is using K2 5.8. Is this issue related to Fix pack 10? 
 

 

Translate

Forum|alt.badge.img+10
  • Nintex Employee
  • 193 replies
  • April 18, 2025

It looks like there were 2 code fixes relating to the PDF Converter functionality.

I would apply the latest fix pack and retest afterwards.

Make sure to create a K2 VM snapshot and K2 database backup in case you need to roll back.

Translate

Forum|alt.badge.img+3
  • Author
  • Rookie
  • 7 replies
  • April 22, 2025

I’ve downloaded latest Fix Pack 13, however the output of Save as PDF is the same. 

Below is a simple form created to test it. 

 

Here’s the output: 

 

Have tried different theme, it doesnt work as well. 

Translate

Forum|alt.badge.img+3
  • Author
  • Rookie
  • 7 replies
  • Answer
  • April 22, 2025

I manage to fix this by generating ssl cert for internal IP(Cert generated from local CA server)

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings