There are lots of ways to do it.
1. Using GUI wizard to do it with selected JRF template.
2. ApplyJRF
3. AddTemplate of jrf_template_1.1.1..jar and update.
Following is detail for way 3.
loadProperties("D:/python/dev/BELL.properties")
readTemplate(WL_HOME+"/common/templates/domains/wls.jar")
cd('Servers/AdminServer')
set('ListenAddress','')
set('ListenPort', int(domain_port))
create('AdminServer','SSL')
cd('SSL/AdminServer')
set('Enabled', 'True')
set('ListenPort', int(domain_https_port))
cd('/')
cd('Security/base_domain/User/weblogic')
set('Name',userName)
cmo.setPassword(passWord)
setOption('OverwriteDomain', 'true')
writeDomain(base_domain_path+"/"+domain_name)
closeTemplate()
readDomain(base_domain_path+"/"+domain_name)
addTemplate('WL_HOME+"/oracle_common/common/templates/applications/jrf_template_11.1.1.jar')
updateDomain()
closeDomain()
exit()