Skip to content

[BUG] #797

@KhadeAvinash

Description

@KhadeAvinash

root@user1:/opt/ejbca-ce-r9.0.0/bin# ./ejbca.sh ra addendentity MyAdmin "CN=MyAdmin,O=MyOrganization,C=US" -password mypassword -type 1 -ca ManagementCA -profile SuperAdmin

when i am run this command it show below msg but my wildfly is active ,ejbca ear is deployed
i am using java 17 jdk,
using ejbca-ce-r9.0.0 and wildfly-32.0.0.Final and my mysql 8.0.40-0 ubuntu0.22.04.1
How to resolved this issue
Error: CLI could not contact EJBCA instance. Either your application server is not up and running, EJBCA has not been deployed successfully, or some firewall rule is blocking the CLI from the application server.

Please be aware that most commands will not work without the application server available.


The following categories are available:
[ ca | config | cryptotoken | keybind | ocsp | ra | roles | service ]

And the following commands are available:
asn1dump Dumps PEM or DER encoded certificate as readable ASN.1
batch Batch generate keys and certificates.
clearcache Clears caches used internally by EJBCA.
createcert Issue a certificate for a user based on a CSR
encryptpwd Encrypts a password
gencsr Create a CSR
recover Recover certificates and end entities.
setupgradeversion Sets the 'upgrade' and 'post upgrade' versions in database. Internal command; not meant to be used in production.
upgrade Post upgrade command. Use 'ant upgrade' instead of running this directly.

Type a command and "--help" for more information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions