Sun ONE logo      ��һҳ      Ŀ¼      ����      ��һҳ     

Sun ONE Portal Server 6.2 ����Աָ��

�� 13 ��
���� Sun ONE Portal Server ϵͳ

���½�����ά�� Sun™ ONE Portal Server ϵͳ��صĸ��ֹ�������

���°����²��֣�


���ü����׽��ֲ� (SSL)

���ʹ�� Sun ONE Portal Server ���������������·������á������׽��ֲ㡱(SSL)��

ʹ�� Sun ONE Portal Server ���� SSL

��װ Sun ONE Portal Server �ڼ�ѯ�ʡ��Ƿ�Ҫ�� hostname ������ SSL����ʱ�������ش� y������ʹ�ô˹�̡��й���ϸ��Ϣ������� Sun ONE Portal Server 6.1 Installation Guide��

  1. Ϊ��װ�� Sun ONE Portal Server ��Web �������ί����ݿ⡣
  2. �й���ϸ��Ϣ������� Sun ONE Web Server 6.0 Enterprise Edition Administrator's Guide �еĵ� 5 �µġ�����ί����ݿ⡱���� URL Ϊ��

    http://docs.sun.com/source/816-5682-10/index.htm

  3. Ϊ��װ Sun ONE Portal Server �����Web ����������֤�飬����Web ������ʵ���ϰ�װ��֤�顣
  4. �й���ϸ��Ϣ������� Sun ONE Web Server 6.0 Enterprise Edition Administrator's Guide �еĵ� 5 �µġ����벢��װ VeriSign ֤�顱�����벢��װ���������֤�顱��

  5. Ϊ Sun ONE Portal Server Web ������ʵ������ܹ��ܡ�
  6. ��Web ������������̨�У�ѡ����ѡ���ǩ��ѡ����������׽��֡���Ȼ��ѡ�񡰱༭�����׽��֡�������ȫ���ܡ�

    �й���ϸ��Ϣ������� Sun ONE Web Server 6.0 Enterprise Edition Administrator's Guide �е� 5 �µġ�����ȫ���ܡ���

  7. ��Web ������������̨�У�����Ӧ�á��͡�Ӧ�ø�ġ���
  8. ������ Sun ONE Portal Server��
  9. /etc/init.d/amserver start

  10. ϵͳ����ʾ���������֤����ݿ�Ŀ��
  11. ÿ��������Web ������ִ�� /etc/init.d/amserver start��ʱ�����д˲��衣


    ע��

    Ϊ�˱���ÿ������ʱ���������볤����ɴ���һ���Web �����������ļ�����������Ϊ .wtpass���������� DSAME-BASEDIR/SUNWam/config Ŀ¼�¡���ȫWeb ��������û�д��ļ�ʱ�������������ϵͳ���������ϵͳ����̨���볤���


  12. ����֤��ʱ�Ƿ����ʹ�� SSL ��¼�� Sun ONE Portal Server �Ż���
    • Ҫ��¼�� Sun ONE Identity Server �������̨������룺
      https://server:port/amconsole
    • Ҫ���û���ݵ�¼�����棬����룺
      https://server:port/deploy_uri

      ���磬
      https://sesta:80/portal/dt

�޸����� Sun ONE Portal Server ��װ��ʹ�� SSL

��װ Sun ONE Portal Server �ڼ�ѯ�ʡ��Ƿ�Ҫ�� hostname ������ SSL����ʱ�������ش� n������ʹ�ô˹�̡��й���ϸ��Ϣ������� Sun ONE Portal Server 6.1 Installation Guide��

  1. �Թ���Ա��ݵ�¼�� Sun ONE Identity Server �������̨��
  2. Ĭ������£�λ�ô����еġ���ʶ���?����ѡ��״̬�����������л���ʾ�����Ѵ�������֯��

  3. ��λ�ô�����ѡ�񡰷������á���
  4. ����ƽ̨���Ե����Լ�ͷ��
  5. ��ƽ̨�����Գ�������ݴ����С�

  6. �ڷ������б��У��� http ��Ϊ https��
  7. ������桱�����ġ�
  8. ��Web �������ϰ�װ֤�顣
  9. ��ϸ��Ϣ�������ʹ�� Sun ONE Portal Server ���� SSL���е����� 1 ������ 4��

  10. �� server.xml �� magnus.conf �ļ��� /BaseDir/SUNWam/Server/https-hostname-domain/conf_bk Ŀ¼���Ƶ� /BaseDir/SUNWam/Server/https-hostname-domain/config Ŀ¼�¡�BaseDir �� Sun ONE Identity Server �Ļ�Ŀ¼��
  11. ���δΪ���֤�鰲װ�� CA������ /BaseDir/SUNWam/lib/AMConfig.properties �ļ������������С�
  12. com.sun.am.jssproxy.trustAllServerCerts=true

    ��ѡ���֪ JSS ��������֤�顣

  13. �� /BaseDir/SUNWam/lib/AMConfig.properties �ļ��У������¸���� http ��Ϊ https��
  14. com.sun.am.server.protocol

    com.sun.am.naming.url

    com.sun.am.notification.url

    com.sun.am.session.server.protocol

    com.sun.services.cdsso.CDCURL

    com.sun.services.cdc.authLoginUrl

  15. ������ Sun ONE Portal Server��
    1. Ҫ��������� Sun ONE Portal Server ʵ������룺
    2. /etc/init.d/amserver start

    3. Ҫ�������� Sun ONE Portal Server ʵ������룺
    4. /etc/init.d/amserver startall

  16. ϵͳ����ʾ���������֤����ݿ�Ŀ��

�й���ϸ��Ϣ������� Sun ONE Directory Server 5.1 Administrator's Guide �е� 11 �µġ����� SSL����

���� Sun ONE Portal Server ʵ����ʹ�� SSL

  1. �Թ���Ա��ݵ�¼�� Sun ONE Identity Server �������̨��
  2. Ĭ������£�λ�ô����еġ���ʶ���?����ѡ��״̬�����������л���ʾ�����Ѵ�������֯��

  3. ��λ�ô�����ѡ�񡰷������á���
  4. ����ƽ̨���Ե����Լ�ͷ��
  5. ��ƽ̨�����Գ�������ݴ����С�

  6. �ڷ������б��У��� http ��Ϊ https��
  7. ������桱�����ġ�
  8. ��Web �������ϰ�װ֤�顣
  9. ��ϸ��Ϣ�������ʹ�� Sun ONE Portal Server ���� SSL���е����� 1 ������ 4��

  10. ���˷�����Ϊ��ʵ��װ��һ���֣��뽫 server.xml �� magnus.conf �ļ��� /BaseDir/SUNWam/Server/https-instance_nickname/conf_bk Ŀ¼���Ƶ� /BaseDir/SUNWam/Server/https-instance_nickname/config Ŀ¼�¡�
  11. ���δΪ���֤�鰲װ�� CA������ /BaseDir/SUNWam/lib/AMConfig-instance_nickname.properties �ļ������������С�
  12. com.sun.am.jssproxy.trustAllServerCerts=true

    ��ѡ���֪ JSS ��������֤�顣

  13. �� /BaseDir/SUNWam/lib/AMConfig-instance_nickname.properties �ļ��У������¸���� http ��Ϊ https��
  14. com.sun.am.server.protocol

    com.sun.am.naming.url

    com.sun.am.notification.url

    com.sun.am.session.server.protocol

    com.sun.services.cdsso.CDCURL

    com.sun.services.cdc.authLoginUrl

  15. ������ Sun ONE Portal Server��
    1. Ҫ��������� Sun ONE Portal Server ʵ������룺
    2. /etc/init.d/amserver start

    3. Ҫ�������� Sun ONE Portal Server ʵ������룺
    4. /etc/init.d/amserver startall

  16. ϵͳ����ʾ���������֤����ݿ�Ŀ��

�й���ϸ��Ϣ������� Sun ONE Directory Server 5.1 Administrator's Guide �е� 11 �µġ����� SSL����


������ָ� Sun ONE Portal Server ����

Sun ONE Portal Server �û����������ô洢�� LDAP��Ŀ¼��Ϣ��(DIT) �е� Directory Server �С������������ͨ����Ŀ¼������ʽ��(LDIF) �ļ�4���ݺͻָ�������Ϣ��

���� Sun ONE Portal Server ����

Ҫ���� Sun ONE Portal Server ������Ϣ����ʹ�� db2ldif ����������� Directory Server �Ļ�Ŀ¼�µ� slapd-hostname Ŀ¼���ṩ�����磬��� Directory Server ��װ�ڷ����� sesta �ϵ�Ĭ�ϰ�װĿ¼ (/usr/ldap) �£����Ŀ¼���� /usr/ldap/slapd-sesta��

  1. ��Ŀ¼���Ϊ�� db2ldif ����� Directory Server ��Ŀ¼��
  2. cd DS_BASEDIR/slapd-HOSTNAME

  3. ʹ�ô� -s ѡ�ָ�� Sun ONE Portal Server �Ķ��� DIT���� db2ldif ��������ñ��浽 LDIF �ļ��С����磬Ҫ���涥�� DIT Ϊ isp �����ã��ɼ����������ݣ�
  4. ./db2ldif -s "o=isp"

    ��ݼ������浽 LDIF �ļ��С�������Ὣ�ļ����浽ĿǰĿ¼�¡�ʹ�����¸�ʽ�����ļ���

    YYYY_MM_DD_HHMMSS.ldif

    �����ļ��󣬽���ʾ����ʾ�������Ϣ��

    [16/May/2002:14:11:25 -0700] - Backend Instance:userRoot

    ldiffile:/usr/ldap/slapd-sesta/ldif/2002_05_16_141122.ldif

    [16/May/2002:14:11:28 -0700] - export userRoot:Processed 178 entries (100%).

�ָ� Sun ONE Portal Server ����

���ʹ�� ldif2db ����4�ָ�ͨ�� db2ldif ����ݵ� Sun ONE Portal Server ������Ϣ���������� Directory Server �Ļ�Ŀ¼�µ� slapd-hostname Ŀ¼���ṩ�����磬��� Directory Server ��װ�ڷ����� sesta �ϵ�Ĭ�ϰ�װĿ¼ (/usr/ldap) �£����Ŀ¼���� /usr/ldap/slapd-sesta��

  1. ͨ�������������ݣ���Ŀ¼���Ϊ�� ldif2db ����� Directory Server ��Ŀ¼��
  2. cd DS_BASEDIR/slapd-HOSTNAME

  3. ͨ��������������ֹͣ Directory Server��
  4. ./stop-slapd

  5. ʹ�ô� -s ѡ�ָ�� Sun ONE Portal Server �Ķ��� DIT���� -i ѡ�ָ���ļ���� ldif2db �����������Ϣ�� LDIF �ļ��ָ��� Directory Server �С����磬Ҫ����ǰ����б���� LDIF �ļ��ָ��� isp �Ķ��� DIT �У��ɼ����������ݣ�
  6. ./ldif2db -s "o=isp" -i /usr/ldap/slapd-sesta/ldif/2002_05_16_141122.ldif

    �ָ����ú󣬽���ʾ����ʾ�������Ϣ��

    importing data ...

    [16/May/2002:16:37:02 -0700] - Backend Instance:userRoot

    [16/May/2002:16:37:03 -0700] - import userRoot:Index buffering enabled with bucket size 13

    [16/May/2002:16:37:03 -0700] - import userRoot:Beginning import job...

    [16/May/2002:16:37:03 -0700] - import userRoot:Processing file "/usr/ldap/slapd-sesta/ldif/2002_05_16_141122.ldif"

    [16/May/2002:16:37:04 -0700] - import userRoot:Finished scanning file "/usr/ldap/slapd-sesta/ldif/2002_05_16_141122.ldif" (178 entries)

    [16/May/2002:16:37:05 -0700] - import userRoot:Workers finished; cleaning up...

    [16/May/2002:16:37:08 -0700] - import userRoot:Workers cleaned up.

    [16/May/2002:16:37:08 -0700] - import userRoot:Cleaning up producer thread...

    [16/May/2002:16:37:08 -0700] - import userRoot:Indexing complete.Post-processing...

    [16/May/2002:16:37:08 -0700] - import userRoot:Flushing caches...

    [16/May/2002:16:37:08 -0700] - import userRoot:Closing files...

    [16/May/2002:16:37:09 -0700] - import userRoot:Import complete.Processed 178 entries in 6 seconds.(29.67 entries/sec)

  7. ͨ�������������������� Directory Server��
  8. ./start-slapd


��� Sun ONE Portal Server ��������

Ҫ������ Sun ONE Portal Server ����ķ������һ������ʵ���ƶ�����һ���磬ֻ���� /etc/hosts �ļ���ӳ�� IP ��ַ��ȫ�޶�������Ҫ�������Ӳ�����ַ��


����� UI �ڵ㰲װ

�ڶ� UI �ڵ��ϰ�װ Sun ONE Portal Server ���ʱ����Ҫ�ڹ������̨�и�� Sun ONE Identity Server��ƽ̨�����Ե����á���ɱ༭���������б?���ԣ�ʹ���(ÿ�� UI �ڵ�� URL��

Sun ONE Identity Server ���������ڳ�ʼ���ڼ��ȡ���������б?���ԡ����б��� Sun ONE Identity Server �����е� Sun ONE Identity Server �Ự���������磬���װ��}̨ Sun ONE Identity Server ���������Ҫ��һ̨һ������ô��}̨��������붼��(�ڴ��б��С������б��в���ij���� URL ������ָ���������������񽫻�ܾ�������б��еĵ�һ��ֵָ��װ�ڼ�ָ���ķ�����������˿ڡ���ʹ�� protocol://server:port ��ʽ������������

������ Portal Server ��ӵ��������б���

  1. �Թ���Ա��ݵ�¼�� Sun ONE Identity Server �������̨��
  2. Ĭ������£�λ�ô����еġ���ʶ���?����ѡ��״̬�����������л���ʾ�����Ѵ�������֯��

  3. ��λ�ô�����ѡ�񡰷������á���
  4. ������������ʾȫ�ַ���

  5. ����ƽ̨���Ե����Լ�ͷ��
  6. ��ƽ̨�����Գ�������ݴ����С�

  7. �༭���������б?���ԡ�
  8. Ϊÿ̨�䵱 UI �ڵ�ķ������������� URL�����磬http://host1.sesta.com:80����Ȼ�󵥻���ӡ���ť����Ӧ�� URL ������ڡ��������б?�С�

  9. ������桱��
  10. ������ Sun ONE Portal Server��
  11. /etc/init.d/amserver start


���� Sun ONE Portal Server ʵ����ʹ�� HTTP ����

����ڲ���ֱ�ӷ���ij���� Internet ���ڲ����������ϰ�װ Sun ONE Portal Server ������������Ҫ����ʵ����ʹ�� HTTP ���?

  1. ��Ŀ¼���Ϊ��ʵ��������Ϣ�� Directory Server ��Ŀ¼�������������������ݣ�
  2. cd /BaseDir/SUNWam/Server/https-hostname-domain/config

  3. �༭��Ŀ¼�е� jvm12.conf������������У�
  4. http.proxyHost=proxy_host
    http.proxyPort=proxy_port

    ���У�proxy_host Ϊ��������ȫ�޶�����proxy_port Ϊ����������еĶ˿ڡ�


    ע��

    ��� jvm12.conf �ļ��������˴��?ʹ�� http.proxyHost= �� http.proxyPort= ѡ��������������� http.nonProxyHosts=proxy_host ѡ����δ�ڴ������������б��������Ӧ�� Portal Server���Ϳ����޷�ͨ������������ʸ� Portal Server��



���� Sun ONE Portal Server ��־

������� Sun ONE Portal Server ��¼���Ա㽫��Ϣ��¼��ƽ���ļ����¼����ݿ��С���¼����ݿ�ʱ��Ҫʹ�� JDBC Э�顣

�Լ�¼���ļ���������

  1. �Թ���Ա��ݵ�¼�� Sun ONE Identity Server �������̨��
  2. Ĭ������£�λ�ô����еġ���ʶ���?����ѡ��״̬�����������л���ʾ�����Ѵ�������֯��

  3. ��λ�ô�����ѡ�񡰷������á���
  4. ������������ʾȫ�ַ���

  5. �����¼���Ե����Լ�ͷ��
  6. ��ݴ����г��֡���¼�����ԡ�

  7. ѡ���ļ�����Ϊ����¼���͡����ԡ�
  8. �ڡ���־λ�á�������ָ����־�ļ���Ŀ¼·����
  9. �ڡ���¼�������ֵ��������ָ����־�ļ�������ļ����ȣ��ֽڣ���
  10. �ڡ���ʷ�ļ�����������ָ��������־������
  11. ������桱��

�Լ�¼����ݿ��������

  1. �Թ���Ա��ݵ�¼�� Sun ONE Identity Server �������̨��
  2. Ĭ������£�λ�ô����еġ���ʶ���?����ѡ��״̬�����������л���ʾ�����Ѵ�������֯��

  3. ��λ�ô�����ѡ�񡰷������á���
  4. ������������ʾȫ�ַ���

  5. �ڵ��������У������¼�������Ե����Լ�ͷ��
  6. ��ݴ����г��֡���¼�����ԡ�

  7. ѡ�� JDBC ��Ϊ����¼���͡����ԡ�
  8. �ڡ���ݿ��û���͡���ݿ��û���������У��ֱ�ָ����4l����ݿ���û�����
  9. �ڡ���ݿ��������������ָ����¼��ʹ�õ������
  10. ������桱��


���� Sun ONE Portal Server

�����ֽ���������õ��Լ����԰������ų���� Sun ONE Portal Server ����Ĺ��ϡ�

���� Sun ONE Identity Server �ĵ��Լ���

���Լ����������巢�͵�������־����Ϣ���͡�֧�����¼���

Ĭ������£����� /var/opt/SUNWam/debug Ŀ¼�е���־�ļ����͵�����Ϣ��

���õ��Լ���

  1. �� /etc/opt/SUNWps/desktopconfig.properties �ļ����������ж�����Լ���
  2. debugLevel=value

  3. ������ Sun ONE Portal Server��
  4. /etc/init.d/amserver start

  5. ��� /var/opt/SUNWam/debug Ŀ¼�µĸ�����־�ļ��Լ� Sun ONE Web Server ��־�ļ���


��һҳ      Ŀ¼      ����      ��һҳ     


��Ȩ���� 2003 Sun Microsystems, Inc. ��������Ȩ��