Digital signed pdf doesn’t show digital signature in browser, when file open using SPO Doc Lib

%3CLINGO-SUB%20id%3D%22lingo-sub-360272%22%20slang%3D%22en-US%22%3EDigital%20signed%20pdf%20doesn%E2%80%99t%20show%20digital%20signature%20in%20browser%2C%20when%20file%20open%20using%20SPO%20Doc%20Lib%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-360272%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRONG%3EIssue%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EDigital%20signed%20pdf%20doesn%E2%80%99t%20show%20digital%20signature%20in%20browser%2C%20when%20file%20open%20using%20SharePoint%20Online%20Document%20Library%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EReplication%20Steps%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EStep%201%3A-%20When%20user%20upload%20the%20PDF%20file%20with%20digital%20signature%20in%20SharePoint%20Online%20i.e.%20%E2%80%9CCommunication%20Site%E2%80%9D%20out%20of%20the%20box%20document%20library.%3C%2FP%3E%3CP%3EStep%202%3A-%20User%20double%20click%20on%20the%20filename%20and%20open%20into%20browser.%3C%2FP%3E%3CP%3EStep%203%3A-%20Provided%20Digital%20Signature%20area%20shows%20blank%20i.e.%20without%20signature%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EScreen%20Shot%20with%20Signature%20File%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CU%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F85088iC8E3A8E895814246%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22WithDigitalSign.png%22%20title%3D%22WithDigitalSign.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FU%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EScreen%20Shot%20with%20Missing%20Signature%20after%20browse%20from%20document%20library%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F85089i4C9E40058D7411AD%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22WithoutDigitalSign.png%22%20title%3D%22WithoutDigitalSign.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20have%20a%20look%20and%20share%20your%20views%20or%20suggestion%2C%20if%20you%20faced%20such%20issue%20with%20SharePoint%20Online.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-360272%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-361124%22%20slang%3D%22en-US%22%3ERe%3A%20Digital%20signed%20pdf%20doesn%E2%80%99t%20show%20digital%20signature%20in%20browser%2C%20when%20file%20open%20using%20SPO%20Doc%20Lib%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-361124%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F39848%22%20target%3D%22_blank%22%3E%40Fred%20Y%3C%2FA%3E%26nbsp%3B%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60%22%20target%3D%22_blank%22%3E%40Juan%20Carlos%20Gonz%C3%A1lez%20Mart%C3%ADn%3C%2FA%3E%26nbsp%3B%20for%20your%20time.%3C%2FP%3E%3CP%3EI%20got%20workaround%20which%20work%20using%20Data%20Column%20Formatting.%3CBR%20%2F%3EApplied%20below%20data%20column%20formatting%20to%20Name%20Column%2C%20Then%20browser%20shows%20the%20digital%20signature%20of%20PDF%20file.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CBLOCKQUOTE%3E%3CP%3E%7B%3CBR%20%2F%3E%22%24schema%22%3A%20%22%3CA%20href%3D%22https%3A%2F%2Fdeveloper.microsoft.com%2Fjson-schemas%2Fsp%2Fcolumn-formatting.schema.json%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdeveloper.microsoft.com%2Fjson-schemas%2Fsp%2Fcolumn-formatting.schema.json%3C%2FA%3E%22%2C%3CBR%20%2F%3E%22elmType%22%3A%20%22a%22%2C%3CBR%20%2F%3E%22txtContent%22%3A%20%22%40currentField%22%2C%3CBR%20%2F%3E%3CBR%20%2F%3E%22attributes%22%3A%20%7B%3CBR%20%2F%3E%22target%22%3A%20%22_blank%22%2C%3CBR%20%2F%3E%22href%22%3A%20%22%3D'%3CSITECOLLECTIONURL%3E%2F%3CDOCUMENT%20lib%3D%22%22%3E%2F'%20%2B%20%5B%24FileLeafRef%5D%2B'%3Fweb%3D1'%22%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%7D%3C%2FDOCUMENT%3E%3C%2FSITECOLLECTIONURL%3E%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-360890%22%20slang%3D%22en-US%22%3ERe%3A%20Digital%20signed%20pdf%20doesn%E2%80%99t%20show%20digital%20signature%20in%20browser%2C%20when%20file%20open%20using%20SPO%20Doc%20Lib%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-360890%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20experienced%20a%20similar%20issues%20with%20a%20different%20digital%20signature%20when%20viewing%20via%20browser.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20only%20way%20for%20me%20to%20check%20an%20e-signature%20is%20to%20download%20the%20file%20locally%20and%20open%20from%20the%20client%20app%20since%20it%20will%20need%20to%20verify%20the%20attached%20digital%20certificate.%20It%20is%20understandable%20that%20this%20can%20be%20a%20potential%20security%20issue.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFred%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-360887%22%20slang%3D%22en-US%22%3ERe%3A%20Digital%20signed%20pdf%20doesn%E2%80%99t%20show%20digital%20signature%20in%20browser%2C%20when%20file%20open%20using%20SPO%20Doc%20Lib%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-360887%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F76019%22%20target%3D%22_blank%22%3E%40Juan%20Carlos%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYup%2C%20If%20i%20download%20and%20browse%20the%20file%20using%20browser%20or%20open%20with%20PDF%2C%26nbsp%3BDigital%20Signature%20Persists.%20But%20unfortunately%20it%20doesn't%20appear%20when%20file%20browse%20using%20SPO%20document%20Library.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-360444%22%20slang%3D%22en-US%22%3ERe%3A%20Digital%20signed%20pdf%20doesn%E2%80%99t%20show%20digital%20signature%20in%20browser%2C%20when%20file%20open%20using%20SPO%20Doc%20Lib%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-360444%22%20slang%3D%22en-US%22%3EWhat%20happens%20if%20you%20try%20to%20open%20the%20file%20in%20the%20browser%20without%20opening%20from%20SPO%3F%20It%20could%20be%20a%20problem%20of%20the%20Office%20365%20File%20Viewer%3C%2FLINGO-BODY%3E
Occasional Contributor

Issue

Digital signed pdf doesn’t show digital signature in browser, when file open using SharePoint Online Document Library

 

Replication Steps

Step 1:- When user upload the PDF file with digital signature in SharePoint Online i.e. “Communication Site” out of the box document library.

Step 2:- User double click on the filename and open into browser.

Step 3:- Provided Digital Signature area shows blank i.e. without signature

 

Screen Shot with Signature File

WithDigitalSign.png

 

 

 

 

 

 

Screen Shot with Missing Signature after browse from document library

WithoutDigitalSign.png

 

Please have a look and share your views or suggestion, if you faced such issue with SharePoint Online.

5 Replies
What happens if you try to open the file in the browser without opening from SPO? It could be a problem of the Office 365 File Viewer

@Juan Carlos

 

Yup, If i download and browse the file using browser or open with PDF, Digital Signature Persists. But unfortunately it doesn't appear when file browse using SPO document Library.

I've experienced a similar issues with a different digital signature when viewing via browser. 

 

The only way for me to check an e-signature is to download the file locally and open from the client app since it will need to verify the attached digital certificate. It is understandable that this can be a potential security issue. 

 

Fred

 

Thanks @Fred Y  @Juan Carlos González Martín  for your time.

I got workaround which work using Data Column Formatting.
Applied below data column formatting to Name Column, Then browser shows the digital signature of PDF file.

 

 

{
"$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json",
"elmType": "a",
"txtContent": "@currentField",

"attributes": {
"target": "_blank",
"href": "='<SiteCollectionUrl>/<Document Lib>/' + [$FileLeafRef]+'?web=1'"
}
}

 

@Manoj Mittal Are you actually opening the file in the browser?  SPO opens PDFs in a view mode.  Click the drop down arrow next to Open and select Open in Browser.  After selecting Open in Browser the digital signature should appear.

PDF Open.png