<div dir="ltr"><div><br></div><div><br></div><div>when I build BIND, bellow:</div><div><br></div><div>hi all :</div><div><br></div><div>./configure --prefix=/opt/bind9 --with-openssl=/opt/openssl-1.1.1d <b> --with-pkcs11=/opt/hsm/libsspkcs11.so</b> --with-python-/usr/local/python27/bin/python && make && make install</div><div><br></div><div>ok it'fine </div><div><br></div><div>and then </div><div>/opt/bind9/sbin/pkcs11-list -p "" --- it' s ok </div><div>/opt/bind9/sbin/pkcs11-tokens ---- it's ok</div><div>but</div><div>/opt/bind9/sbin/dnssec-keyfromlabel -a RSASHA256 -l 'SS_RSA_PRIKEY1' -K keys -P now -A now+315360000 -I now+315360000 -D now+315360000 <a href="http://test.com">test.com</a></div><div>oh it's wrong, output info:</div><div><br></div><div>dnssec-keyfromlabel: fatal: failed to get key <a href="http://test.cn/RSASHA256">test.cn/RSASHA256</a>: no engine<br></div><div><br></div><div>i have been make the pkcs11 lib to bind</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div>Best Regards!!</div>
<div>champion_xie</div></div></div>