Hi,
Same situation here, I've copied cert_override.txt to the default profile directory, the test pdf generates right, but the dashboard pdf preview contains an untrusted warning only.
This is the python.log during the dashboard pdf preview:
2012-08-22 18:12:31,222 INFO Starting PDF App Renderer Version 1.3
2012-08-22 18:12:31,235 WARNING pdfhandler:458 - body=Splunk;4.3.2;4.3.2
2012-08-22 18:12:31,235 WARNING body=Splunk;4.3.2;4.3.2
2012-08-22 18:12:31,235 WARNING pdfhandler:459 - entries=['Splunk', '4.3.2', '4.3.2']
2012-08-22 18:12:31,235 WARNING entries=['Splunk', '4.3.2', '4.3.2']
2012-08-22 18:12:31,240 INFO xvfb:45 - Started new X server. Now 1 active
2012-08-22 18:12:31,240 INFO Started new X server. Now 1 active
2012-08-22 18:12:31,245 INFO xvfb:205 - Assigned DISPLAY :5
2012-08-22 18:12:31,245 INFO Assigned DISPLAY :5
2012-08-22 18:12:31,245 INFO xvfb:115 - Starting X Server: ['/usr/bin/Xvfb', ':5', '-screen', '0', '3000x768x24', '-nolisten', 'tcp']
2012-08-22 18:12:31,245 INFO Starting X Server: ['/usr/bin/Xvfb', ':5', '-screen', '0', '3000x768x24', '-nolisten', 'tcp']
2012-08-22 18:12:31,245 INFO xvfb:116 - Starting X Server env: {'XAUTHORITY': '/opt/splunk/var/run/splunk/xvfb/xauth-5/Xauthority'}
2012-08-22 18:12:31,245 INFO Starting X Server env: {'XAUTHORITY': '/opt/splunk/var/run/splunk/xvfb/xauth-5/Xauthority'}
2012-08-22 18:12:33,249 INFO xvfb:122 - X Started
2012-08-22 18:12:33,249 INFO X Started
2012-08-22 18:12:33,302 WARNING pdfhandler:419 - Created profile /tmp/tmp43TJBV/.mozilla/firefox/1ngh5dvf.splunk
2012-08-22 18:12:33,302 WARNING Created profile /tmp/tmp43TJBV/.mozilla/firefox/1ngh5dvf.splunk
2012-08-22 18:12:33,308 WARNING pdfhandler:551 - Restricting Firefox to following hosts only: *:53 10.10.5.181
2012-08-22 18:12:33,308 WARNING Restricting Firefox to following hosts only: *:53 10.10.5.181
2012-08-22 18:12:33,308 INFO pdfhandler:558 - Executing /opt/splunk/etc/apps/pdfserver/bin/firefox-x86_64/firefox -print https://(path-to-view) -printmode pdf -printfile /tmp/tmpYJShzA -title Splunk Report -orientation portrait -paperwidth 219 -paperheight 297 -mode splunk -timeout 180 -windowsize 793x768 -footer_right Generated by Splunk at &D -cookie session_id_None=c758a3880a6fa6ab0b413eb324fd62f74db3b16b -P splunk
2012-08-22 18:12:33,308 INFO Executing /opt/splunk/etc/apps/pdfserver/bin/firefox-x86_64/firefox -print https://(path-to-view) -printmode pdf -printfile /tmp/tmpYJShzA -title Splunk Report -orientation portrait -paperwidth 219 -paperheight 297 -mode splunk -timeout 180 -windowsize 793x768 -footer_right Generated by Splunk at &D -cookie session_id_None=c758a3880a6fa6ab0b413eb324fd62f74db3b16b -P splunk
2012-08-22 18:15:34,450 INFO pdfhandler:628 - Generated pdf file. bytes=31423 time=181.14
2012-08-22 18:15:34,450 INFO Generated pdf file. bytes=31423 time=181.14
2012-08-22 18:15:34,453 WARNING pdfhandler:749 - Firefox timed out while waiting for the report to be rendered - Incomplete snapshot generated
2012-08-22 18:15:34,453 WARNING Firefox timed out while waiting for the report to be rendered - Incomplete snapshot generated
2012-08-22 18:15:34,454 WARNING xvfb:132 - Stopping X Server 5
2012-08-22 18:15:34,454 WARNING Stopping X Server 5
In my view the problem is that Firefox creates a profile in the temporary directory (/tmp/tmp43TJBV) instead of splunk user's home, and does nothing with default profile preferencies. There is a cert_override.txt file in this temporary profile, but it has incorrect content and has nothing to do with the default one, therefore gives the browser this cert warning.
I've searched a lot for the solution related to my problem, but this is the only ticket without an answer 😞
Any help would be appreciated! Thanks
Versions:
splunk: 4.3.2, build 123586
pdfserver: 1.3
... View more