Edge cho đám mây riêng tư phiên bản 4.18.01
Apigee BaaS yêu cầu bạn phải định cấu hình máy chủ SMTP. Khi cài đặt Ngăn xếp phụ trợ API BaaS của Apigee, bạn sẽ nhập thông tin SMTP, bao gồm cả mật khẩu của người dùng SMTP. Sau đó, mật khẩu đó sẽ được mã hoá trước khi lưu trữ.
Nếu sau này bạn muốn thay đổi thông tin SMTP, hãy chỉnh sửa /opt/apigee/customer/application/usergrid.properties trên tất cả các nút BaaS Stack.
Để mã hoá mật khẩu mới nhằm đặt mật khẩu đó trong usergrid.properties, hãy sử dụng tiện ích apigee-service:
> /opt/apigee/apigee-service/bin/apigee-service baas-usergrid newPword
Cách thay đổi thông tin SMTP:
- Mở /opt/apigee/customer/application/usergrid.properties trong trình chỉnh sửa. Tạo tệp này nếu chưa có.
- Đặt các thuộc tính sau nếu cần:
# SMTP Properties
usergrid-deployment_mail.smtp.host=smtp.gmail.com
usergrid-deployment_mail.smtp.port=465
usergrid-deployment_mail.smtp.auth=true
usergrid-deployment_mail.smtp.username=your@email.com
usergrid-deployment_mail.smtp.password=SECURE:74c57edacd3242f0ba1b1413890e17c22a5
usergrid-deployment_mail.smtp.quitwait=false
# SMTPS Properties
usergrid-deployment_mail.smtps.host=smtp.gmail.com
usergrid-deployment_mail.smtps.port=465
usergrid-deployment_mail.smtps.auth=true
usergrid-deployment_mail.smtps.username=your@email.com
usergrid-deployment_mail.smtps.password=SECURE:74c57edacd3242f0ba1b1413890e17c22a52
usergrid-deployment_mail.smtps.quitwait=false - Sau khi chỉnh sửa thông tin này, bạn phải khởi động lại Ngăn xếp phụ trợ API bằng cách sử dụng
lệnh:
> /opt/apigee/apigee-service/bin/apigee-service baas-usergrid restart - Lặp lại trên tất cả các nút API BaaS Stack.