Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Oct 2018 15:59:28 -0400
From:      Xandria Webb <xandria.webb@gmail.com>
To:        freebsd-doc@freebsd.org
Subject:   Edit to documentionat
Message-ID:  <CAFjRrOaFh9uAgJ60ypjf8fTKrH0k0A9jZNOOTg4qeYzZbo7JBg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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@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@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@neurocoreai.com
Getting CA Private Key



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFjRrOaFh9uAgJ60ypjf8fTKrH0k0A9jZNOOTg4qeYzZbo7JBg>