Try and require softhsm2 first and if it fails try softhsm, ignore all o...

...utput from softhsm2 require.