Work around for "PKCS #11 module returned CKR_DEVICE_ERROR"
Something must be doing a fork somewhere which is causing the tokens to be reset. This will work around the issue for now. Change-Id: I2f6b3ff26e49114e730a3d2f36d7771d6c08d049
This commit is contained in:
parent
12dfff8aa6
commit
f2727327bd
|
@ -14,9 +14,12 @@
|
|||
# under the License.
|
||||
|
||||
import sys
|
||||
import os
|
||||
|
||||
from novajoin.wsgi import main
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
# rcrit: work around "PKCS #11 module returned CKR_DEVICE_ERROR"
|
||||
os.environ['NSS_STRICT_NOFORK'] = 'DISABLED'
|
||||
sys.exit(main())
|
||||
|
|
Loading…
Reference in New Issue