Руководство Разработчика для Cisco Cisco Prime Optical 9.8

Скачать
Страница из 762
Cisco Prime Optical 9.8 GateWay/CORBA Programmer Reference Guide 
OL-29218-01
 
 
718
 
6.12  Using the CLI to Start and Stop GateWay/CORBA 
Prime Optical can manage the GateWay/CORBA service from the command line:  
•  To start a GateWay/CORBA service, run the 
/opt/CiscoTransportManagerServer/bin/gwcorba-start script from the command line.  
•  To stop a GateWay/CORBA service, run the 
/opt/CiscoTransportManagerServer/bin/gwcorba-stop script from the command line.  
Only Prime Optical users with administrative privileges can run these scripts. If the 
GateWay/CORBA service is already running and you attempt to run the gw-start script, the 
script exits with the message “GWCORBA already running.” If the GateWay/CORBA service is 
stopped and you attempt to run the gw-stop script, the script exits with the message 
“GWCORBA not running.” 
You must have a Prime Optical username and password with a SysAdmin or SuperUser profile 
to start or stop the scripts. 
6.13  Configuring Secure Socket Layer for GateWay/CORBA 
To ensure network security, CORBA calls can be made over Secure Socket Layer (SSL). 
The current JacORB implementation is precompiled with JacORB security libraries. To configure 
SSL for GateWay/CORBA, you must set up a keystore and configure the properties in the client-
side jacorb.properties file. 
The client must enforce SSL by modifying the jacorb.properties file. The server-side keystore is 
generated using the JSSE keystore. Prime Optical bundles a default keystore and a certificate for 
the GateWay/CORBA service. 
As explained in the following sections, you must generate the server-side certificate and add it 
to the client-side keystore; then generate and add the client-side certificate to the server-side 
keystore. 
6.13.1  Generating the Server-Side Certificate 
Step 1 
Enter the keytool command to generate a keystore and a key: