Highlighted
dcampisi Absent Member.
Absent Member.
3157 views

Certificate authority export fails connection refused

I am trying to export zenwork certificate and I receive the following error:
Command
zman --debug certificate-authority-export /root/cert

Error:Could not connect to the ZENworks Server. Ensure that the server is running, and the host and port information specified is correct.

Debug:
com.novell.zenworks.datamodel.exceptions.ConnectionException: Connection refused

What can I look at?
Labels (2)
0 Likes
11 Replies
shaunpond Absent Member.
Absent Member.

Re: Certificate authority export fails connection refused

Dcampisi,

can you connect for other zman commands?

--

Shaun Pond


0 Likes
dcampisi Absent Member.
Absent Member.

Re: Certificate authority export fails connection refused

I can not connect with other zman comands.
0 Likes
shaunpond Absent Member.
Absent Member.

Re: Certificate authority export fails connection refused

Dcampisi,

OK, then does your ZCM use standard ports? If not, you need to specify
the port # in the command

--

Shaun Pond


0 Likes
dcampisi Absent Member.
Absent Member.

Re: Certificate authority export fails connection refused

Standard ports.

All ready checked port 2638 for sybase
0 Likes
shaunpond Absent Member.
Absent Member.

Re: Certificate authority export fails connection refused

Dcampisi,

does zman.log show any more detail?

--

Shaun Pond


0 Likes
dcampisi Absent Member.
Absent Member.

Re: Certificate authority export fails connection refused

zman certificate-authority-export /root/cert --debug

Error:Could not connect to the ZENworks Server. Ensure that the server is runnin g, and the host and port information specified is correct.

Debug:
com.novell.zenworks.datamodel.exceptions.ConnectionException: Connection refused
at com.novell.zenworks.zman.exceptions.ZManExceptionHandler.createExcept ion(ZManExceptionHandler.java:286)
at com.novell.zenworks.zman.exceptions.ZManExceptionHandler.makeDataMode lException(ZManExceptionHandler.java:260)
at com.novell.zenworks.zman.exceptions.ZManExceptionHandler.processRemot eException(ZManExceptionHandler.java:390)
at com.novell.zenworks.zman.commands.CAHandler.<init>(CAHandler.java:72)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
at com.novell.zenworks.zman.CommandRunner.execute(CommandRunner.java:86)
at com.novell.zenworks.zman.ZMan.executeRunner(ZMan.java:321)
at com.novell.zenworks.zman.ZMan.main(ZMan.java:505)
Caused by: java.rmi.ConnectException: Connection refused
at com.novell.soa.ws.portable.ApplicationException.mapToRemote(Applicati onException.java:207)
at com.novell.zenworks.datamodel.services.zoneconfig.soap.ZoneConfigAdmi nServiceBinding_Stub.hasZENServerRole(ZoneConfigAdminServiceBinding_Stub.java:50 71)
at com.novell.zenworks.zman.commands.CAHandler.<init>(CAHandler.java:68
0 Likes
shaunpond Absent Member.
Absent Member.

Re: Certificate authority export fails connection refused

Dcampisi,

and everything else except zman works just fine? I think the first
thing to do is to run zdc to make sure your files are all OK, then if
that doesn't help , I will ask around...

--

Shaun Pond


0 Likes
dcampisi Absent Member.
Absent Member.

Re: Certificate authority export fails connection refused

I think I know what happened. I ran zenworks upgrade 11.2 and backed out before starting the upgrade.
Could some software be applied to the server?
The server is now upgraded to Zenworks 11.2, and now I getting Error 118 This command only applies to a server with certificate authority role enable.
Can I recreate the certificate?
0 Likes
shaunpond Absent Member.
Absent Member.

Re: Certificate authority export fails connection refused

Dcampisi,

if this is your only server, I would strongly suggest opening a SR at
this point

--

Shaun Pond


0 Likes
dcampisi Absent Member.
Absent Member.

Re: Certificate authority export fails connection refused

I was able to enable the ceritificate & export successfully.
zman certificate-authority-enable-role
zman certificate-authority-export /root/cert

I think I'm all right now..
0 Likes
shaunpond Absent Member.
Absent Member.

Re: Certificate authority export fails connection refused

Dcampisi,

nice

--

Shaun Pond


0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.