Comments (4)
Do you mean the Java code or the openssl command?
from xipki.
README.md in xipki-ocsp :
You can use the openssl command to check whether the OCSP server answers as expected:
openssl ocsp -VAfile <PEM encoded OCSP signer certificate> -issuer <PEM encoded CA certificate> -url <URL> --serial <hex serial number>
e.g. openssl ocsp -VAfile ocsp-signer.pem -issuer ca.pem -url http://localhost:8080/ocsp/ -serial 0x123456789abc
Xi CLI command :
ocsp-status --issuer output/test/cacert.der --cert output/test/rsa-p12.der
result :
response is equipped with valid signature
produced at Fri Jan 05 11:31:11 KST 2024
issuer matched: true
serialNumber: 0x6f8e4e5803cce622855d58001313cc1afe229971
Certificate status: revoked, reason = keyCompromise, revocationTime = Thu Jan 04 16:28:01 KST 2024
openssl command :
openssl ocsp -VAfile /home/keycerts/ocsp1.p12 -issuer cacert.der -cert rsa-p12.der -url http://localhost:8080/ocsp/
Enter pass phrase for PKCS12 import pass phrase: *********
result :
Response verify OK
rsa-p12.der: revoked
This Update: Jan 5 02:29:17 2024 GMT
Next Update: Jan 6 02:29:17 2024 GMT
Reason: keyCompromise
Revocation Time: Jan 4 07:28:01 2024 GMT
from xipki.
from xipki.
It seems the problem has been solved.
from xipki.
Related Issues (20)
- Unable to access Karaf tool HOT 2
- est-gw: audit id ordering issue HOT 2
- ocsp.json, OCSP HOT 2
- CSR - Server Error 500
- Facing errror while initialising ca schema HOT 5
- The assemblies artifacts were not pushed to central for 6.4.0 HOT 3
- could not remove user <>, error: remote management is not permitted to the client without valid certificate HOT 6
- REST gateway CA can't be selected through URL
- Unable to import database to xipki:6.3.0 from 5.3.15 HOT 15
- Error while generating cert.der in xipki: 6.3.0v HOT 4
- Error while changing ca with new masterpassword. v6.3.0 HOT 4
- NullPointerException in cmp gateway using xi:cmp-update-p12 because no profile is set. HOT 4
- v6.4.0: Exception in ca-server SdkResponder while updating an existing certificate HOT 1
- Unable to adduser HOT 11
- Considerations on update and renewal in CMP HOT 6
- In xipki-6.5.1, cert does not get generated with SAN configuration HOT 4
- Ibm QradarDLC certificate apply error HOT 5
- Request support to configure CA_URL HOT 2
- Unable to revoke certs in Xipki:6.5.1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xipki.