Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ /usr/local/opt/nss/bin/modutil -create -dbdir /tmp/nssdb
- WARNING: Performing this operation while the browser is running could cause
- corruption of your security databases. If the browser is currently running,
- you should exit browser before continuing this operation. Type
- 'q <enter>' to abort, or <enter> to continue:
- Function # Calls Time Avg. % Time
- C_Initialize 1 1000us 1000.00us 50.00%
- C_Finalize 1 1000us 1000.00us 50.00%
- C_GetInfo 1 0 z 0.00us 0.00%
- C_GetSlotList 2 0 z 0.00us 0.00%
- C_GetSlotInfo 2 0 z 0.00us 0.00%
- C_GetTokenInfo 4 0 z 0.00us 0.00%
- C_GetMechanismList 6 0 z 0.00us 0.00%
- C_InitPIN 1 0 z 0.00us 0.00%
- C_OpenSession 5 0 z 0.00us 0.00%
- C_CloseSession 3 0 z 0.00us 0.00%
- C_CloseAllSessions 2 0 z 0.00us 0.00%
- C_GetSessionInfo 3 0 z 0.00us 0.00%
- C_Login 1 0 z 0.00us 0.00%
- C_Logout 1 0 z 0.00us 0.00%
- C_FindObjectsInit 2 0 z 0.00us 0.00%
- C_FindObjects 2 0 z 0.00us 0.00%
- C_FindObjectsFinal 2 0 z 0.00us 0.00%
- Totals 39 2000us
- Maximum number of concurrent open sessions: 3
- $ /usr/local/opt/nss/bin/pk12util -d /tmp/nssdb -i /tmp/[redacted].p12 -W '[redacted]'
- pk12util: no nickname for cert in PKCS12 file.
- pk12util: using nickname: [redacted]
- pk12util: PKCS12 IMPORT SUCCESSFUL
- Function # Calls Time Avg. % Time
- C_Initialize 1 1000us 1000.00us 10.00%
- C_Finalize 1 1000us 1000.00us 10.00%
- C_GetInfo 1 0 z 0.00us 0.00%
- C_GetSlotList 2 0 z 0.00us 0.00%
- C_GetSlotInfo 2 0 z 0.00us 0.00%
- C_GetTokenInfo 2 0 z 0.00us 0.00%
- C_GetMechanismList 4 0 z 0.00us 0.00%
- C_OpenSession 21 0 z 0.00us 0.00%
- C_CloseSession 19 0 z 0.00us 0.00%
- C_CloseAllSessions 2 0 z 0.00us 0.00%
- C_GetSessionInfo 1 0 z 0.00us 0.00%
- C_CreateObject 4 2000us 500.00us 20.00%
- C_DestroyObject 5 0 z 0.00us 0.00%
- C_GetAttributeValue 18 0 z 0.00us 0.00%
- C_SetAttributeValue 1 0 z 0.00us 0.00%
- C_FindObjectsInit 45 1000us 22.22us 10.00%
- C_FindObjects 45 0 z 0.00us 0.00%
- C_FindObjectsFinal 45 0 z 0.00us 0.00%
- C_DecryptInit 1 0 z 0.00us 0.00%
- C_DecryptUpdate 2 0 z 0.00us 0.00%
- C_DigestInit 8 0 z 0.00us 0.00%
- C_DigestUpdate 8 0 z 0.00us 0.00%
- C_DigestFinal 8 0 z 0.00us 0.00%
- C_SignInit 1 0 z 0.00us 0.00%
- C_SignUpdate 6 0 z 0.00us 0.00%
- C_SignFinal 1 0 z 0.00us 0.00%
- C_GenerateKey 5 4000us 800.00us 40.00%
- C_UnWrapKey 1 1000us 1000.00us 10.00%
- Totals 260 10ms
- Maximum number of concurrent open sessions: 5
- $ java -Djava.security.debug=sunpkcs11 -cp jetty-all-9.4.19.v20190610-uber.jar:openjsse-1.0.1-SNAPSHOT.jar:. HelloNSS11 '[redacted]'
- 2019-07-09 08:03:09.704:INFO::main: Logging initialized @166ms to org.eclipse.jetty.util.log.StdErrLog
- SunPKCS11 loading /tmp/pkcs11.cfg
- NSS modules: [NSS Internal PKCS #11 Module (CRYPTO, /usr/local/opt/nss/lib/libsoftokn3.dylib, slot 0), NSS Internal PKCS #11 Module (KEYSTORE, /usr/local/opt/nss/lib/libsoftokn3.dylib, slot 1)]
- sunpkcs11: Initializing PKCS#11 library /usr/local/opt/nss/lib/libsoftokn3.dylib
- Information for provider SunPKCS11-NSSfips
- Library info:
- cryptokiVersion: 2.20
- manufacturerID: Mozilla Foundation
- flags: 0
- libraryDescription: NSS Internal Crypto Services
- libraryVersion: 3.36
- All slots: 1, 2
- Slots with tokens: 1, 2
- Slot info for slot 2:
- slotDescription: NSS User Private Key and Certificate Services
- manufacturerID: Mozilla Foundation
- flags: CKF_TOKEN_PRESENT
- hardwareVersion: 3.36
- firmwareVersion: 0.00
- Token info for token in slot 2:
- label: NSS Certificate DB
- manufacturerID: Mozilla Foundation
- model: NSS 3
- serialNumber: 0000000000000000
- flags: CKF_RNG | CKF_USER_PIN_INITIALIZED | CKF_DUAL_CRYPTO_OPERATIONS | CKF_TOKEN_INITIALIZED
- ulMaxSessionCount: CK_EFFECTIVELY_INFINITE
- ulSessionCount: 1
- ulMaxRwSessionCount: CK_EFFECTIVELY_INFINITE
- ulRwSessionCount: 0
- ulMaxPinLen: 255
- ulMinPinLen: 0
- ulTotalPublicMemory: 1
- ulFreePublicMemory: 1
- ulTotalPrivateMemory: 1
- ulFreePrivateMemory: 1
- hardwareVersion: 0.00
- firmwareVersion: 0.00
- utcTime: 0000000000000000
- [...]
- WARNING: An illegal reflective access operation has occurred
- WARNING: Illegal reflective access by org.openjsse.sun.security.ssl.OpenJSSE$1 (file:/Users/arthur.ramsey/nss-3.36.0/openjsse-1.0.1-SNAPSHOT.jar) to field sun.security.x509.AlgorithmId.nameTable
- WARNING: Please consider reporting this to the maintainers of org.openjsse.sun.security.ssl.OpenJSSE$1
- WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
- WARNING: All illegal access operations will be denied in a future release
- sunpkcs11: login operation not required for token - ignoring login request
- 2019-07-09 08:03:09.914:INFO:oejs.Server:main: jetty-9.4.19.v20190610; built: 2019-06-10T16:30:51.723Z; git: afcf563148970e98786327af5e07c261fda175d3; jvm 11.0.2+9
- 2019-07-09 08:03:09.948:INFO:oejs.AbstractConnector:main: Started ServerConnector@2f943d71{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
- 2019-07-09 08:03:09.951:INFO:oejus.SslContextFactory:main: x509=X509@6a400542([redacted]) for FIPSSslContextFactory@6580cfdd[provider=null,keyStore=null,trustStore=null]
- 2019-07-09 08:03:10.043:INFO:oejs.AbstractConnector:main: Started ServerConnector@78047b92{SSL,[ssl, http/1.1]}{0.0.0.0:8443}
- 2019-07-09 08:03:10.043:INFO:oejs.Server:main: Started @507ms
Advertisement
Add Comment
Please, Sign In to add comment