Forums

×

Warning

JUser: :_load: Unable to load user with ID: 194441
Medium
Offline
Resolved
0 votes
There is a bug with user certificates. It creates working certificates and i can download them using ssh. And certificates will be work. But if i download certificate using "download" button in certificate manager it not working. Is there any bug tracker?

My knowledge in linux and php very poor but i think something wrong with class File. When i do this:
$file = new File('/etc/pki/CA/client-ivan.p12');
$file->get_contents()
I have a string with lenth = 3859. And file not work after saving.
But if i do this:
file_get_contents('/etc/pki/CA/client-ivan.p12');
I have a string with length = 3860. And all works fine.

function File->get_contents include such string: return implode("\n", $contents). Beefore this string strlen($contents) = 3860, after this string strlen($contents=3859)

Can anybоdy fix this bug?
Saturday, August 04 2018, 04:52 PM
Share this post:
Responses (0)
  • There are no replies here yet.
Your Reply