Project

General

Profile

« Previous | Next » 

Revision 663e29bb

Added by Jim Pingle over 2 years ago

Note that CA serial is ignored when randomizing. Fixes #14188

While here, when creating a CA, set the default serial to 1 since the
GUI won't allow saving with the serial remaining at 0. That would
otherwise force the user to change it themselves.

View differences:

src/etc/inc/certs.inc
273 273
	// return our ca information
274 274
	$ca['crt'] = base64_encode($str_crt);
275 275
	$ca['prv'] = base64_encode($str_key);
276
	$ca['serial'] = 0;
276
	$ca['serial'] = 1;
277 277

  
278 278
	return true;
279 279
}

Also available in: Unified diff