Edit to documentionat

Xandria Webb xandria.webb at gmail.com
Fri Oct 19 19:59:42 UTC 2018


Hi! Thanks for your tutorial! Its very helpful.
I came across one issue on this page:
https://www.freebsd.org/doc/en_US.ISO8859-1/articles/ldap-auth/ssl-ca.html

This line of code gets an error:
$ *sudo openssl x509 -req -days 1024 -in ldap-server-one.csr -CA root.crt
-CAkey root.key -out ldap-server-one.crt*
[sudo] password for user:
Signature ok
subject=/C=US/ST=Virginia/L=Virginia Beach/O=Neurocore AI/OU=Dev
Ops/CN=xandria-linux/emailAddress=xwebb at neurocoreai.com
Getting CA Private Key
root.srl: No such file or directory
140094903486352:error:06067099:digital envelope
routines:EVP_PKEY_copy_parameters:different parameters:p_lib.c:137:
140094903486352:error:02001002:system library:fopen:No such file or
directory:bss_file.c:402:fopen('root.srl','r')
140094903486352:error:20074002:BIO routines:FILE_CTRL:system
lib:bss_file.c:404:

I recommend you add* -CAcreateserial *to fix the error:
[user at xandria-linux certs]$ sudo openssl x509 -req -days 1024 -in
ldap-server-one.csr -CA root.crt -CAkey root.key* -CAcreateserial *-out
ldap-server-one.crtSignature ok
subject=/C=US/ST=Virginia/L=Virginia Beach/O=Neurocore AI/OU=Dev
Ops/CN=xandria-linux/emailAddress=xwebb at neurocoreai.com
Getting CA Private Key


More information about the freebsd-doc mailing list