CLI could not contact EJBCA instance - jboss

I can't access to ejbca CLI althought the deploy build successfully, JBoss is up and running, FirewallD is not running and all Troubleshooting steps are treated mentioned here:
https://doc.primekey.com/ejbca/troubleshooting-guide/command-line-interface
/opt/ejbca/bin/ejbcaa.sh return
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.

This is most commonly due to that EJBCA has not been deployed correctly. Check the server.log file in WildFly/JBoss for errors.

Related

Azure Kubernetes Service (AKS) hybrid - Error Install

During AKS installation on stack hci fails without more details
Notification details
ErrorError
Set platform configurations
Source
Go to Azure Kubernetes Service.
Type
Error
Message
Applying platform configurations failed. Error: The provided configuration is not valid. Please review the report moc_validation_report.html, fix the configuration and retry.
Resolve issues and errors during an AKS hybrid installation
Verify your Vnet Config, if you use different VLANs for AKS and host Management. Enable full traffic between it. Make sure the cloudcidr is set from host network.

tomcat localhost url return ERR_CONNECTION_REFUSED

I developed a spring MVC app in eclipse and trying to test in my laptop tomcat localhost. This URL works http://localhost:8080. It brings up the tomcat admin page. But when i call http://localhost:8080/mywebsite, as part of spring security port mapping it forwards to https://localhost:8443/mywebsite, but i get
This site can’t be reached
localhost refused to connect.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
This is definitely not firewall issue, as i uninstalled all my antivirus, disabled firewall in windows defender
I have also changed the server location to "use tomcat installation" in eclipse
I have cleaned up deployment folder multiple times and reinstalled app and restarted server multiple times. The server started successfully i can see the logs
I am using tomcat 9 and JDK-19
I dont see any calls in access logs, only a 302 when it redirects from http://localhost:8080/mywebsite to https://localhost:8443/mywebsite
I have been trying this for 2 days and it wont budge an inch. I need help please
As #nitin pointed out in the comment above, I had not configured SSL connector. My bad I thought SSl cert is not needed for localhost testing. But it is required. I following the steps in
https://medium.com/beingcoders/setup-ssl-on-apache-tomcat-in-just-10-minutes-step-by-step-guide-706484094bb2

Service Unavailable on Azure DevOps Local Server

First I installed Azure DevOps on windows server 2016 successfully then I could create Projects with Administrator user.After that I installed Active Directory. I don't know active directory is related with this problem or not.
Service Unavailable
HTTP Error 503. The service is unavailable.
My steps to restart server:
Restarted Application Pool.
Restarted Team Project Collection.
Restarted Server
Team Project Collection:

service fabric failed to contact the server. please try again later or get help from "how to configure secure connections"

I'm trying to deploy a service fabric application to an unsecure Azure Service Fabric cluster. When I open the publish window in VS 2017 I get the following. If my cluster is unsecure, shouldn't I be able to publish it w/o configuring the cert?
I tried a publish anyways and I got:
Try accessing the server via powershell to maybe get a better error. Usually, errors like this are caused by firewalls blocking the port 19000.

Is there a documented way to secure (with SSL) the localhost cluster for Azure service fabric?

This article shows to how to secure the service fabric cluster in the Azure:
https://azure.microsoft.com/en-us/documentation/articles/service-fabric-visualstudio-configure-secure-connections/
But it makes no references as to how to configure developer's machine for the same. I tried to apply the same principles in the above link to see if I can make it work. It always fails to deploy services locally but works like a charm when I publish them to azure's service fabric cluster. If I remove the secure bindings, I can deploy services to local cluster successfully. But this becomes tedious whenever I want to publish the services to the azure's secure cluster.
Does any one have an idea as to how to go about creating a secure service fabric cluster on developer's machine?
I am using Service Fabric version 5.5.216.0 and it seems to be working. Run powershell command:
PS C:\Program Files\Microsoft SDKs\Service Fabric\ClusterSetup> .\DevClusterSetup.ps1 -PathToClusterDataRoot "C:\SfDevCluster\Data" -PathToClusterLogRoot "C:\SfDevCluster\Log" -AsSecureCluster
Then, open IE to browse "https://localhost:19080/Explorer/". You will see a popup asking you to choose which client certificate to connect. Use the one with name 'ServiceFabricDevClusterCert'. Chrome didn't work for me as it failed directly with no useful warning. Maybe somewhere in chrome I should enable popup window?