1> weblogic encrypt Introduction
The weblogic.security.Encrypt utility encrypts cleartext strings for use with Oracle WebLogic Server. The utility uses the encryption service of the current directory, or the encryption service for a specified Oracle WebLogic Server domain root directory.
Note:
An encrypted string must have been encrypted by the encryption service in the Oracle WebLogic Server domain where it will be used. If not, the server will not be able to decrypt the string.
You can only run the weblogic.security.Encrypt utility on a machine that has at least one server instance in an Oracle WebLogic Server domain; it cannot be run from a client.
Note:
Oracle recommends running the utility from the Administration Server domain directory or on the machine hosting the Administration Server and specifying a domain root directory.
Syntax
java [-Dweblogic.RootDirectory=dirname]
[-Dweblogic.management.allowPasswordEcho=true]
weblogic.security.Encrypt [password]
Table 2-5 describes the arguments that are passed to the weblogic.security.Encrypt utility.
Table 2-5 Encrypt Arguments
Argument Definition
dirname
Optional. Oracle WebLogic Server domain directory in which the encrypted string will be used. If not specified, the default domain root directory is the current directory (the directory in which the utility is being run).
weblogic.management.allowPasswordEcho
Optional. Allows echoing characters entered on the command line. weblogic.security.Encryptexpects that no-echo is available; if no-echo is not available, set this property to true.
password
Optional. Cleartext string to be encrypted. If omitted from the command line, you will be prompted to enter a password.
Examples
The utility returns an encrypted string using the encryption service of the domain located in the current directory.
java weblogic.security.Encrypt xxxxxx
{AES}yWv/i0qhfM4/IvzoghzjHj/xpJUkQPF8OWuSfh0f0Ss=
The utility returns an encrypted string using the encryption service of the specified domain location.
java -Dweblogic.RootDirectory=./mydomain weblogic.security.Encrypt xxxxxx
{AES}wr86u9Z5DHr+5p7WIbzTDSy4M/sl7EYnX/K5xzcarDQ=
The utility returns an encrypted string in the current directory, without echoing the password.
java weblogic.security.Encrypt
Password:
{AES}LIX8hoiStcAhph0PGCpveouw/0UO0lciODuj+TQh/bs=
2> Usage
cd domain
cd bin
. ./setDomainEnv.sh
java weblogic.security.Encrypt
Password: (enter password here)
{AES}aRC9klq8c5CljKpshacfrsc7WFNB49mfQG+MtuCDgFg=
you can now use the AES password in all weblogic files, but before Oracle11g, we can only use 3DES encryption algorithm.
分享到:
相关推荐
notepad_share_encrypt.hdoc..bin
关于java_encrypt-jiami.的资料关于java_encrypt-jiami.的资料 关于java_encrypt-jiami.的资料关于java_encrypt-jiami.的资料
This is another good example on how to encrypt strings.
20210628_encrypt.log.buffer
20210529_encrypt.log.buffer
app-encrypt.apk.1.1.1.1.1
python库。资源全名:encrypt-0.0.4.tar.gz
weblogic10.X AES加解密 jdbc加解密 boot.properties加解密 ...encrypt result:{AES}f5GuX7x1nWKVrz2yTneeiKBRMDkE1Z08Ud/rcZYozwE= decrypt result:weblogic WLEncrypt:===========================
python库。 资源全名:stringencrypt-1.0.0.tar.gz
开源项目-letsencrypt-boulder.zip,Let's Encrypt's first ACME CA is written in Go
秋天+ASP+Encrypt+加密.rar
morse-encrypt-源码.rar
notepad_share_encrypt.hdoc
python库。 资源全名:letsencrypt-0.0.0.dev20151114.tar.gz
运行java -jar encrypt-gui.jar加密解密
U盘_闪存驱动器加密工具,Odin.U.Disk.Encrypt.Creator...U盘_闪存驱动器加密工具,Odin.U.Disk.Encrypt.CreatorU盘_闪存驱动器加密工具,Odin.U.Disk.Encrypt.CreatorU盘_闪存驱动器加密工具,Odin.U.Disk.Encrypt.Creator
资源来自pypi官网。 资源全名:letsencrypt-0.0.0.dev20151006.tar.gz